Regrettably, I am unable to provide an answer. However, I can offer three recommendations for projects worth exploring.
The first suggestion is the Lively Kernel by Dan Ingalls from Sun Labs. It showcases a Smalltalk Virtual World implemented in JavaScript using SVG. In essence, it represents the Morphic GUI framework from Squeak Smalltalk translated into JavaScript with SVG components and portions of Squeak Smalltalk integrated as well.
If you're not familiar with Smalltalk, think of it as an Operating System built in JavaScript, treating the JavaScript interpreter as the CPU, SVG as the graphics card, and the browser as the computer.
This project pushes the boundaries of JavaScript and SVG compatibility, fully functioning in Safari 3 and partially in Firefox 3, with ongoing experimentation for Internet Explorer support.
The second project worth mentioning is John Resig's Processing.js, a conversion of the Processing visualization language to JavaScript. Unlike the first project, this one relies on the <canvas>
element due to issues associated with SVG. Its functionality is limited to Firefox 3.
Lastly, consider exploring Real-Time 3D in JavaScript by Useless Pickles. This project exclusively uses JavaScript, DOM, and CSS without relying on SVG, <canvas>
, or Flash. Moreover, it boasts cross-browser compatibility, including support for Internet Explorer 7 and above. Extending its capabilities to 2D graphics should be relatively straightforward.
By examining these projects, you can draw inspiration and insights from individuals who have ventured into uncharted territories with JavaScript and graphics technology, gaining valuable knowledge about what is achievable and what is challenging.
In conclusion, achieving cross-browser compatibility for SVG or <canvas>
may present significant challenges, but with a bit of creativity, creating cross-browser graphics without relying on SVG or <canvas>
is indeed feasible.