Kleki Blog

Warp Transform Released

general

Today I released the new warp transform feature. You find it by going into the select tool, then switch to "transform", and then enable "warp". You will see a warp grid overlaying your selected area. As you drag, your drawing will get smoothly deformed.

This is a powerful tool for adjusting your sketches, or for doing fun experiments and achieving interesting effects.

warped classic art pieces

Because I implemented this new feature with WebGL2 under the hood I was able to achieve high image quality. Through the use of MSAA (multisample anti-aliasing), mipmapping, and anisotropic filtering the warped image always looks detailed without jarring pixelation.

Image warped to a strong degree with two different quality levels

If you are into software development you can read the code for rendering the deformed mesh: GpuCompositeCanvas

Pro tip: You can also toggle off "warp" again, and continue free transforming! And each transformation step within the transform tool is now individually undoable.

I hope you find it useful and enjoyable. More to come!

Donate to support Kleki's development!

-bitbof