A lightweight JavaScript library for drawing facilities on HTML5 canvas.
Go to file
Luis Leiva bc4f2a1c74 Version 2.0 🎉 2017-11-12 17:10:45 +01:00
dist Version 2.0 🎉 2017-11-12 17:10:45 +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 Version 2.0 🎉 2017-11-12 17:10:45 +01:00
jquery.sketchable.memento.js Version 2.0 🎉 2017-11-12 17:10:45 +01:00
jsketch.js Version 2.0 🎉 2017-11-12 17:10:45 +01:00
package.json Version 2.0 🎉 2017-11-12 17:10:45 +01:00
sketchable.js Version 2.0 🎉 2017-11-12 17:10:45 +01:00
sketchable.memento.js Version 2.0 🎉 2017-11-12 17:10:45 +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.