A lightweight JavaScript library for drawing facilities on HTML5 canvas.
Go to file
Luis Leiva 3b96078e6c Added option to filter consecutive duplicated points 2017-11-12 20:40:24 +01:00
dist Fixed radialCircle color defaults 2017-11-12 17:23:02 +01:00
figs Version 2.0 🎉 2017-11-12 17:10:45 +01:00
.gitignore Version 2.0 🎉 2017-11-12 17:10:45 +01:00
Gruntfile.js Updated default Grunt task 2016-11-27 20:52:52 +01:00
LICENSE Version 2.0 🎉 2017-11-12 17:10:45 +01:00
README.md Version 2.0 🎉 2017-11-12 17:10:45 +01:00
jquery.sketchable.js Added option to filter consecutive duplicated points 2017-11-12 20:40:24 +01:00
jquery.sketchable.memento.js Fixed memento if multitouch 2017-11-12 20:02:59 +01:00
jsketch.js Fixed radialCircle color defaults 2017-11-12 17:23:02 +01:00
package.json Version 2.0 🎉 2017-11-12 17:10:45 +01:00
sketchable.js Added option to filter consecutive duplicated points 2017-11-12 20:40:24 +01:00
sketchable.memento.js Fixed memento if multitouch 2017-11-12 20:02:59 +01:00
sketchable.utils.js Version 2.0 🎉 2017-11-12 17:10:45 +01:00

README.md

jSketch

A lightweight JavaScript library for drawing facilities on an HTML5 canvas.

Conveniently wrapped in a Sketchable class. Available also as a jQuery plugin.

Demos and documentation

g3 demo slm demo guessit demo mucaptcha demo smiley demo

TL;DR:

Add <script src="dist/sketchable.full.min.js"></script> to your page and just do:

var sketcher = new Sketchable('canvas');

Add <script src="dist/jquery.sketchable.full.min.js"></script> to your page and just do:

var $sketcher = $('canvas').sketchable();

That's it!

Want to know more? Go to demos and documentation.

License

This libray is released with the MIT license. The only requirement is that you keep my copyright notice intact when you repurpose, redistribute, or reuse this code.