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
  • 732
  • 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
  • 21,840
  • 7
  • 47
  • 62
0

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

Scott Evernden
  • 37,365
  • 14
  • 77
  • 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
  • 431,103
  • 135
  • 960
  • 1,075
-1

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

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

powtac
  • 39,317
  • 26
  • 112
  • 166
  • Typical result of just posting links.... They are both not available and thus the answer is useless. – xdevs23 Apr 10 '18 at 19:44