Answer the question
In order to leave comments, you need to log in
JS library for "graffiti"?
Are there javascript libraries for quickly creating functionality similar to "Vkontaktovsky" graffiti? I would like to stick the drawing field to the form so as not to use plugins like flash or java.
Answer the question
In order to leave comments, you need to log in
Have a look at fabric.js . Both free drawing and work with vector forms are supported. It weighs about 80 kb (~24 in gzip).
Using canvas+excanvas you will be able to draw cross-browser, but you will be able to upload the image only on Op 9+ (Presto 2.0) Fx 3+ (?), Sa, Ch, IE 9 For only they have at least some support for canvas# toDataURL developer.mozilla.org/en/DOM/HTMLCanvasElement i.e. for you to save the file on the server.
I'm not even talking about the HTML FileAPI Cross- canvas.getAsFile("test.jpg", "image/jpeg");
browser Flash-only solution.
I'm not sure that my answer will please everyone, but nevertheless it seems to me that javascript already has canvas and using it without much effort in 1 hour you can make a similar drawing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question