4xx / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

pencil spline simplification #1126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Here's the challenge:

1. create a path with the pencil tool
2. try to edit the created bezier

I'd hope for a manageable number of bezier points that approximate the line 
I've drawn.

This reduction of 'unneeded' strut points could happen while I draw (synfig 
studio) or after finishing the line (inkscape ctrl-l).

Here is a sweet small js implementation for this, BSD licensed.

http://mourner.github.io/simplify-js/

Original issue reported on code.google.com by susefroh on 11 Aug 2013 at 1:36