exoboy
exoboy

Reputation: 2058

What is the most widely-used Javascript graphics library that is the most cross-browser compatible?

I know there are tons of great graphics libraries for javascript...

Now, I know that there are other questions asking for graphics library suggestions. But none of them address the following issues:

  1. What is the most widely-used javascript-graphics library right now?

  2. Can it handle text, rotation, arcs, bezier-style line geometries, and is compatible with at least FF, IE(7/8), Safari, and Chrome...

  3. Also, because of my client's fears of required plug-ins that users need to add to their browser, it needs to be something that can load on-the-fly and not require the user to permanently install anything external.

Does such an animal exist?

I am looking for your experienced opinion on this one.

Upvotes: 2

Views: 452

Answers (3)

Brian Erickson
Brian Erickson

Reputation: 944

I suggest using the html5 <canvas/> element with the 2d graphics API.

Although the canvas element isn't supported in IE, you can make it work with excanvas.js from http://code.google.com/p/explorercanvas/.

Explorer canvas is a simple javascript include that emulates canvas element support using vector graphics. On the other browsers, you will have canvas support.

I used this approach to make a realtime scrolling trend control that worked across browsers.

Upvotes: 0

slebetman
slebetman

Reputation: 113886

For cross platform support I generally find I can trust Raphael to do the job.

Upvotes: 2

morgancodes
morgancodes

Reputation: 25265

I'd look at processingjs first. http://processingjs.org/

Upvotes: 1

Related Questions