Re:Jellyfish Simulation using Javascript, WebGL
by rfurmani on Thursday April 21, 2011 @02:40PM
(#2471754)
It is checking for capabilities and not version:
try {
gl = canvas.getContext( "experimental-webgl") ;
gl.viewportWidth = docWidth;
gl.viewportHeight = docHeight;
} catch(e) {
}
if (!gl) {
alert("This website requires WebGL. Try running Chrome 9+ or Firefox 4+");
}
[ Parent
| on HN ]
There are no comments on this comment yet.