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

simplify-sketch

simplify-sketch

Path smoothing for Sketch.

Installation

$ component install component/simplify-sketch

Example

var canvas = document.querySelector('canvas');
var Sketch = require('sketch');
var simplify = require('simplify-sketch');
 
var sketch = Sketch(canvas);
simplify(sketch, .8);

License

MIT