approximate-curve
v0.0.1
Published
Converts all curves to lines
Downloads
31
Maintainers
Readme
Approx
Converts all curves to line segments
Usage
import Approx from 'approximate-curve';
Approx('M203,203 C...') => `[{x:203,y:203,moveTo:true}, {x:205,y:205}, {...}]`