1

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!

Jeff
  • 742
  • 10
  • 16

4 Answers4

1

You can do it using canvas. There was a question similar to this a few months ago Javascript drawing library?. There is Processing.js that allows you to do it too.

Community
  • 1
  • 1
AutomatedTester
  • 22,188
  • 7
  • 49
  • 62
0

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

Scott Evernden
  • 39,136
  • 15
  • 78
  • 84
0

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: Online Photoshop via HTML 5's Canvas?

Community
  • 1
  • 1
Pekka
  • 442,112
  • 142
  • 972
  • 1,088
-1

http://www.kolchose.org/simon/ajaximagemapcreator/ (Click onto the image area twice!)

http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

powtac
  • 40,542
  • 28
  • 115
  • 170
  • Typical result of just posting links.... They are both not available and thus the answer is useless. – xdevs23 Apr 10 '18 at 19:44