Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (14 sloc) 0.372 kb

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

Jump to Line
Something went wrong with that request. Please try again.