views:

2247

answers:

8

After staring at this 3D cube and these triangles for a while I started wondering if there's any good reliable Javascript graphics library with basic 3D support.

Any suggestion?

+6  A: 

Flot is a pure Javascript plotting library for jQuery.

Galwegian
+3  A: 

Here are a few physics engines written in javascript that have some graphics capabilities.

http://blog.quantumstate.co.uk/javascript-physics-engine.html

http://box2d-js.sourceforge.net/

Steve Horn
+13  A: 

John Resig's port of the Processing library to Javascript:

http://ejohn.org/blog/processingjs

tonys
This library is just beyond cool. This kind of visualization will be the future of the web, I think!
spoulson
the link appears to be dead... or it might be one of those days in cyberspace...
jldupont
Works fine for me. Must have been one of those days :-).
tonys
Wow, thanks I am wondering if I'll take the pain in learning Silverlight, a friend of mine was laughing when I told him that I was working with Javascript (EXT-js mainly), but JavaScript is clearly not near the end...
Tom
+2  A: 

See question about SVG posted earlier:

Is it sensible to dynamically generate SVG images on websites yet?

Diodeus
+8  A: 

I'm very psyched about Raphaël. I've used it in one project and it works like a charm.

Guðmundur Bjarni
just curious: I'm still left a little short on what a practical use of browser-based vector graphics would be. I heard Dmitry (the author of raphael) talk a couple of months ago and was pumped about VGs, but I can't think of where I'd actually use it...
nickf
I used it to create a on-screen keyboard within a touch screen based kiosk web app. But graphs / plots come to mind as well. :)
Guðmundur Bjarni
+1  A: 

Check out Walter Zorn's library

www.walterzorn.com

Tad
There is good enough support now for canvas that it no longer makes sense to use Zorn's pseudo-canvas.
Prestaul
Prestaul, good enough that it can run on IEs with the same performance?
Khnle
+1  A: 

The canvas html element may be the best backing and is used as such in many libraries (I know flot and processingjs mentionned by sibblings are using it)

canvas element is the lower API abstraction level you can get, which may be conceptually similar to Cairo or GDI

smoothdeveloper
+2  A: 
Eugene Lazutkin
thanks for references - great stuff
JohnIdol