a demo of html5 accelerometer access