Have you got WebGL?

I made this 5 years 24 weeks ago

Here's some js to detect webgl:

var gl;
var canvas;
canvas = document.getElementById("webgl-canvas");
try {
gl = canvas.getContext("webgl") || canvas.getContext("experimental-webgl");
} catch(e) {}

Checking... checking... gimme a minute... checking...

Or, you could just use Modernizr to detect it:

if (Modernizr.webgl){
// do something great here!
} else {
// do something else here!

Like that? Then here's some more!