Canvas 2D Web Apps/Acceleration
||This section is a stub.
You can help Wikibooks by expanding it.
In HTML5, changes of the orientation and acceleration of a device can be monitored with the help of
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.