Simple example for device tilt detection.
Live demo at http://wahbahdoo.github.io/html5sensor/demo/
Tilt device between 0 and 90 degrees from horizontal plane to reflect main image in that direction.
Raw data is displayed at http://wahbahdoo.github.io/html5sensor/calibrateOrientation/ (useful for determining device data fluctuation when laying still.)