views:

669

answers:

5

hello,

I've seen there's a lot of libraries that will allow me to output shapes and lines but do these libraries allow for freehand drawing using the mouse?

I want to allow users to draw and then to save their work to database.

Is this possible?

Thanks in advance!

A: 

yeah you can do this .. wouldn't be all that tricky .. take a look at the Raphael Javascript drawing library

Scott Evernden
i like your optimism :)
Evgeny
+1  A: 

You can do it using canvas. There was a question similar to this a few months ago http://stackoverflow.com/questions/96486/javascript-drawing-library. There is Processing.js that allows you to do it too.

AutomatedTester
A: 

Something like this?

Jonathan Feinberg
A: 

I am looking for that too and asked the same question a few days ago. Maybe I'm overlooking something but none of all these drawing libraries actually allows freehand drawing (i.e. the capturing of movements of a mouse or pen made by a human). The only two answers I found were here: http://stackoverflow.com/questions/1825958/online-photoshop-via-html-5s-canvas

Pekka