node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป

simplify

Simplify

Path smoothing component, a fork of simplify-js.

Installation

$ component install component/simplify

API

simplify(points, [tolerance], [highestQuality])

Simplify the given points, an array of objects with .x and .y properties, with the given tolerance defaulting to 1.

License

BSD