Archive for September, 2010

Smoothing paths in Inkscape

Sunday, September 19th, 2010

Inkscape is an extremely powerful tool. I’ve played with the lib2geom code which is the underlying representation of paths and shapes used in Inkscape. I think a small fraction of the power of this API is exposed through the graphical interface. The following is a quick guide to smoothing a freehand path in Inkscape. The correct term for this in the tool is “simplification”. This is inherited from the lib2geom API.

First, choose the draw freehand tool.

Then, secondly draw some kind of path.
A drawn curve

Finally, with the contour highlighted press “Ctrl+L” i.e. hold down the Ctrl key and the L key. Alternatively, choose “Path” from the menus and “Simplify”. You may need to simplify the path a lot to see a visual difference. Here’s the above path after I hit “Ctrl+L” about ten times
A smoothed path

And we’re done :) .