AccelerometerTest Bouncy ball using DeviceMotionEvent Requires iOS 4.2+ https://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/Reference/DeviceMotionEventClassRef/DeviceMotionEvent/DeviceMotionEvent.html%23//apple_ref/doc/uid/TP40010525