Path smoothing for Sketch paths
JavaScript
Latest commit 9edd759 Oct 10, 2013 @jonathanong jonathanong Merge pull request #1 from repoify/add/repository
Add repository field to readme
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
Readme.md Initial commit Oct 5, 2012
component.json Initial commit Oct 5, 2012
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