HTML5 Zone is brought to you in partnership with:

Hirvesh Munogee is a freelance web developer who also happens to have a passion for blogging. Hirvesh is a DZone MVB and is not an employee of DZone and has posted 167 posts at DZone. You can read more from them at their website. View Full User Profile

HTML5 jQuery Paint Plugin - Paint On A Canvas Area With Various Shapes & Colors Including An Eraser

07.20.2012
| 4527 views |
  • submit to reddit
Websanova Paint is a HTML5 canvas based jQuery plugin. It allows you to free paint on a canvas area with various shapes and colors including an eraser. It also features the fantastic Websanova Color Picker allowing you to set both border and fill colors. The canvas area can be set to any size you like and perhaps it’s greatest feature is the ability to save your drawing as an image and then load it back in later. In fact you can load any image in as your drawing as long as it is a base64 encoded PNG image.

Features

  • Menu – Can be moved anywhere on the screen.
  • Shapes – Ellipse, Rectangle, Line, Pencil and Eraser.
  • Colors – Select colors for both border and fill, featuring the Websanova Color Picker.
  • Width – Set the line or border width of the pencil and shapes.
  • Save/Load – You can save your creations and load in any image.


Requirements: jQuery
Demohttp:/ / www. websanova. com/ plugins/ paint/ html5#websanova
License: MIT License or GPL
Published at DZone with permission of Hirvesh Munogee, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)