A lightweight JavaScript library for drawing facilities on HTML5 canvas.
Go to file
Luis Leiva 10f9718008 Updated eslint 2017-12-06 00:13:06 +01:00
dist Added animate dist files 2017-12-05 08:44:08 +01:00
figs Version 2.0 🎉 2017-11-12 17:10:45 +01:00
.eslintrc.js Updated eslint 2017-12-06 00:13:06 +01:00
.gitignore Version 2.0 🎉 2017-11-12 17:10:45 +01:00
Gruntfile.js Added animate plugin 2017-12-04 09:55:17 +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.animate.js Added animate plugin 2017-12-04 09:55:17 +01:00
jquery.sketchable.js Updated doc 2017-11-20 17:27:40 +01:00
jquery.sketchable.memento.js Namespace event override 2017-12-04 09:05:59 +01:00
jsketch.js Updated radialCircle 2017-11-25 18:27:40 +01:00
package.json Linted 2017-11-19 21:39:06 +01:00
sketchable.animate.js Added animate plugin 2017-12-04 09:55:17 +01:00
sketchable.js Updated doc 2017-11-20 17:27:40 +01:00
sketchable.memento.js Namespace event override 2017-12-04 09:05:59 +01:00
sketchable.utils.js Linted 2017-11-19 21:39:06 +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.