A lightweight JavaScript library for drawing facilities on HTML5 canvas.
Go to file
Luis Leiva ab5059514c Updated dist files 2017-11-13 09:12:23 +01:00
dist Updated dist files 2017-11-13 09:12:23 +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 Unified postProcess() 2017-11-12 20:46:54 +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 Enforce consistency 2017-11-13 09:12:11 +01:00
sketchable.memento.js Enforce consistency 2017-11-13 09:12:11 +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.