i’m asking myself where i’ve been, because before last week i had never heard of it.
going through the WebKit sources, i noticed several filenames containing OpenGL-terminology.
names like DOMWebGLTexture.h, JSWebGLShader.cpp, JSWebGLRenderingContext.h etc..
some googling brought me to the khronos site, where a draft specification can be found.
WebGL - OpenGL ES 2.0 for the Web. WebGL is a royalty-free, cross-platform API that brings OpenGL ES 2.0 to the web as a 3D drawing context within HTML, exposed as low-level Document Object Model interfaces. It uses the OpenGL shading language, GLSL ES, and can be cleanly combined with other web content that is layered on top or underneath the 3D content. It is ideally suited for dynamic 3D web applications in the JavaScript programming language, and will be fully integrated in leading web browsers.
It’s already (partly) functional in WebKit (Safari,Chrome) and Mozilla nightly builds.
Checkout this screen recording. (failed to embed the video??)
OpenGL and shaders with javascript •_+ yeah
Update:
looking at the specification i realise that the first draft was only published last December, so i’m not really the moron i thought..
it’s also interesting to note that the editor is “Chris Marrin (Apple Inc.)”.