views:

65

answers:

3

I'm wanting to create various shapes in HTML pages and am looking for a decent javascript library to simplify the task. What type of js libraries exist for drawing shapes on the web?

I am familiar with Raphaël for SVG - but don't really know what else is out there for SVG or non-SVG drawing.

+1  A: 

try processing.js - http://processingjs.org

stephenmurdoch
I'm familiar with processing - speculatively how is it performance wise for a lot of shapes?
Gavin Miller
A: 

Canvas isn't to hard to use for basic shapes without a library. But it only isn't supported in IE yet. Though, I think IE9 is supposed to.

https://developer.mozilla.org/en/Canvas_tutorial

qw3n
A: 

there are also following JS libraries:

jQuery SVG: http://keith-wood.name/svgRef.html

SVGKit: http://svgkit.sourceforge.net/index.html

Dojo GFX: http://docs.dojocampus.org/dojox/gfx/

räph