411 REFERENCE · Wikibooks
Canvas 2D Web Apps/Acceleration
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
In HTML5, changes of the orientation and acceleration of a device can be monitored with the help of deviceorientation and devicemotion events. W3C has published the DeviceOrientation Event Specification. In the Mozialla Developer Network, see the event reference for deviceorientation and devicemotion. Apple developers should consult the DeviceOrientationEvent and the DeviceMotionEvent class reference in Apple's Safari Developer Library.