signature-mark
v0.0.2
Published
Draw on a canvas with a smooth signature. Try the [demo](http://codepen.io/motdotla/full/tqLBo).
Downloads
3
Readme
signature-mark
Draw on a canvas with a smooth signature. Try the demo.
SignatureMark(document.getElementById("some-canvas"));
Usage
<script src='/path/to/signature-mark.js'></script>
<canvas id="some-canvas"></canvas>
<script type="text/javascript">
var some_canvas = document.getElementById("some-canvas");
some_canvas.width = 900;
some_canvas.height = 500;
SignatureMark(some_canvas);
</script>
Development
Edit only files under /src
directory. Then run the following to generate the /build
directory.
npm install
grunt
Visit http://localhost:3000 to test out your changes.