Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/component/simplify-sketch
Path smoothing for Sketch paths
https://github.com/component/simplify-sketch
Last synced: 13 days ago
JSON representation
Path smoothing for Sketch paths
- Host: GitHub
- URL: https://github.com/component/simplify-sketch
- Owner: component
- License: bsd-2-clause
- Created: 2012-10-05T20:37:14.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-09T23:39:18.000Z (about 11 years ago)
- Last Synced: 2024-05-08T17:06:44.491Z (8 months ago)
- Language: JavaScript
- Size: 101 KB
- Stars: 5
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# simplify-sketch
Path smoothing for [Sketch](https://github.com/component/sketch).
## Installation
$ component install component/simplify-sketch
## Example
```js
var canvas = document.querySelector('canvas');
var Sketch = require('sketch');
var simplify = require('simplify-sketch');var sketch = Sketch(canvas);
simplify(sketch, .8);
```## License
MIT