Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (14 sloc) 0.353 kb
0dfec82 @tj Initial commit
tj authored
1 <script src="build/build.js"></script>
2
3 <style>
4 canvas {
5 border: 1px dotted #ddd;
6 }
7 </style>
8
9 <canvas width=800 height=500></canvas>
10
11 <script>
12 var canvas = document.querySelector('canvas');
13 var Sketch = require('component-sketch');
14 var simplify = require('simplify-sketch');
15
16 var sketch = Sketch(canvas);
17 simplify(sketch, 1);
18 </script>
Something went wrong with that request. Please try again.