views:

671

answers:

5

What's the best javascript framework for drawing (lines, curves whatnot) on images?

A: 

Processing

var p = Processing(CanvasElement);
p.size(100, 100);
p.background(0);
p.fill(255);
p.ellipse(50, 50, 50, 50);
John Millikin
+1  A: 

Take a look at this library that is a jquery plugin: http://www.openstudio.fr/Library-for-simple-drawing-with.html

SaaS Developer
+1  A: 

Refer to this question.

Zach
A: 

You can create "images" using javascript's flot library.

It's on google code: flot
And requires jQuery

Here's an example, how a graph might look like

michal kralik
+3  A: 

jQuery has several plugins available for doing graphics. Raphael is a plugin that uses SVG (for Firefox and other browsers that support SVG), and VML for the IE products. In addition, jQuery provides a great architecture for javascript projects with plenty of support and plug-ins.

Raphael is available here: http://raphaeljs.com/index.html

jQuery is available here: http://jquery.com/

mistrmark