My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Wiki pages
Links

About

JebGL is a piece of Javascript which lets you run your WebGL apps in browsers lacking WebGL support without having to modify your existing code! Behind the scenes JebGL uses a fallback Java applet to emulate the WebGL canvas if needed, and the Java applet runs hardware accelerated on all platforms using JOGL.

Video of IE6 running WebGL content.

Usage

See Usage. Essentially, all you need to do is include the jebgl.js, and change the function that runs after the page has loaded. E.g. if you call drawHandler() you would instead call jebgl(canvasElement, drawHandler). JebGL checks if your browser supports WebGL, and if not it replaces the canvas with the JebGL applet.

Compatibility

JebGL is still work in progress, and there are some known performance issues and bugs. So far the JebGL applet works in the following browsers:

  • Windows: IE9, IE8, IE7, IE6 (!), Firefox, Chrome, Opera
  • Mac: Safari, Firefox, Chrome
  • Linux: Firefox, Chrome, Opera, Epiphany

Firefox, Chrome, Opera and Safari 5.1 are lacking on Mac because of a bug in JOGL. And Safari is lacking on Windows because of a Java/Javascript security issue.

Demos

The following demos are based on the Learning WebGL lessons by Giles Thomas. Small changes have been made to support older browsers. Note: The lessons always runs the applet so you can try it out.

Who's behind this?

JebGL was started and is being maintained by Martin Qvist, sponsored by IOLA, an agile little Danish web-development house. If you need commercial support, you're welcome to contact us - read more here. And if you like the project please consider donating. The more money that's in the pool, the more time we can spend on developing JebGL.

Powered by Google Project Hosting