Web development , php , ajax , symfony, framework, zend
In: web resources
11 Dec 2009The first WebGL specification is here for your holiday leisure reading. The awesome Arun of Mozilla just posted this to the W3C device API group:
Today, the WebGL WG at Khronos released a public draft of the WebGL specification, and we really welcome (and need) wide review. Along with Mozilla folks, the WebGL WG has representatives from Opera, Google, and Apple, and nightly builds of Firefox, Chromium, and Safari have support for the draft specification. You can read a bit more about it in a blog post I wrote here. Essentially, WebGL is an HTML Canvas context. So you’d invoke it for now using:
JAVASCRIPT:
// obtain canvas handle var canvas = document.getElementById(“canvas”); gl = canvas.getContext(“experimental-webgl”); // Now do cool stuffThe specification is still in draft status, so stuff will change, and your feedback is welcome
We’ve already seen some compelling use of JavaScript libraries that straddle WebGL come out, such as X3DOM [4]. I expect to see more of that going forward, since WebGL is a pretty low level API that wraps OpenGL ES 2.0, with some concessions made for how JavaScript works (since OpenGL ES 2.0 is essentially a C API). The WebGL Wiki [5] has details on how you can test it in the browsers that support it.
I expect we’ll want to have technical discussions about the Canvas API in general following this release, but for now this is an informative heads-up.
More info
What do you think of WebGL? This is a good time to get involved as the Kronos group isn’t as open as some would like.
This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.
1 Response to Holiday reading? WebGL Draft Available
powerrizanch
February 7th, 2010 at 3:39 pm
go for bats in first 2 rounds. what is your first pick? 1 or 12 or in the middle? i could tell you who to target with your first 2 picks if i knew what pick you have.