B
B
b0n3Z2011-01-10 06:29:00
JavaScript
b0n3Z, 2011-01-10 06:29:00

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

4 answer(s)
K
kangax, 2011-03-23
@b0n3Z

Have a look at fabric.js . Both free drawing and work with vector forms are supported. It weighs about 80 kb (~24 in gzip).

M
Mikhail Davydov, 2011-01-10
@azproduction

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.

V
Viktor Kuznetsov, 2011-01-10
@janitor

raphael.js

A
ArtemSmirnov, 2011-01-10
@ArtemSmirnov

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 question

Ask a Question

731 491 924 answers to any question