News for hackers. Stuff that matters.
Re:Google uses accelerometer API in Jules Verne Google Doodle by ars on Tuesday February 08, 2011 @01:23AM (#2192186)
Spec (for webkit based browsers): http://dev.w3.org/geo/api/spec-source-orientation.html of how to access acceleration data.

Mozilla does it somewhat differently:

https://developer.mozilla.org/en/Detecting_device_orientatio...

Re:Google uses accelerometer API in Jules Verne Google Doodle by paulirish on Tuesday February 08, 2011 @02:45AM (#2192325)
You can view source on this page for the normalization code to harmonize both implementations:

http://studio.html5rocks.com/samples/orientation/index.html (see VideoPhysicsController.prototype._onTilt() )