Path smoothing for Sketch paths
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
Readme.md
component.json
example.html
index.js
package.json

Readme.md

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