Testing the DeviceOrientation API
Test case: http://jsfiddle.net/TPz2G/2/show/
- Alpha increases when rotating device clockwise
- Alpha is at 0° when device is exactly south
- Alpha increases when rotating device counterclockwise
- Alpha is at 0° when device is approximately south
- Alpha increases when rotating device counterclockwise
- Alpha is at 0° when device is exactly east
- Alpha increases when rotating device counterclockwise
- Alpha is at 0° when device is exactly south