I know it has an accelerometer (I've seen the bundled Windows software use it), but I don't know where the API to access that data is.
It works - somewhat - on an iPad - but there's a problem in that tilting the iPad makes the screen rotate and locking the screen seems to disable the tilt events.
Best experience is on a MacBook with Chrome, IMHO.
Mozilla does it somewhat differently:
https://developer.mozilla.org/en/Detecting_device_orientatio...
http://studio.html5rocks.com/samples/orientation/index.html (see VideoPhysicsController.prototype._onTilt() )
Here's the basic usage for chrome: (for firefox the event is MozOrientation, and values are radians rather than degrees)
window.addEventListener('deviceorientation', function(evt) {
var x = evt.gamma, y = evt.beta;
}, false);