What is GLGE?

GLGE is a javascript library intended to ease the use of WebGL; which is basically a native browser javascript API giving direct access to openGL ES2, allowing for the use of hardware accelerated 2D/3D applications without having to download any plugins.

The aim of GLGE is to mask the involved nature of WebGL from the web developer, who can then spend his/her time creating richer content for the web.

Get GLGE v0.9

Fork me on GitHub

Jiglib in GLGE

June 27th, 2010

So, I’ve been a bit busy/lazy of late with regard to GLGE but I’ve doing a bit of work on something different. A physics demo in javascript using GLGE. When I started there where no 3D physics libraries for javascript. I knew I wouldn’t have time to write one from scratch, but I had played with jiglibflash a bit in the past so I decided it was time for a port.

At this point I have to say the jiglibflash guys have an amazing library and have done a fantastic job porting the original over to flash, which made getting it into javascript that much easier.

I’m happy to say that the port went faster and better then I was anticipating. The simlarlarities between JS and AS3 ment I didn’t have to spend too much time messing about with syntax. At the moment it’s not working quite right in vanilla GLGE but I’ll be fixing that shortly, in the mean time I’ve hacked a bit and there is a little demo up at:

Live Demo

Hopefully, this will be usefull for people working with all the webgl frameworks and libraries and not just GLGE. I’ve intentially not hooked anything directly into GLGE so it should be just as easy for people to get physics working with c3dl, cubicvr, energizeGL, O3D, sceneJS, spidergl, webglu,…. or even use it directly with raw webgl. The code is now available at:

The Source

PS shout if I missed out one of the scene graph libs I tried to get them all