Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript library for free form drawing

Is there a javascript library which lets me draw on a web page and then save the state of that drawing?

I want to draw an 2D image using the mouse and then how to store and load that drawing

like image 692
ed1t Avatar asked Jul 21 '11 03:07

ed1t


1 Answers

Use HTML5 Canvas. A simple example for drawing images is here: http://jsfiddle.net/ghostoy/wTmFE/1/.

I recommend this online book: Dive Into HTML5.

like image 96
Ghostoy Avatar answered Sep 28 '22 03:09

Ghostoy