Tilted.js is a multi-browser Javascript library designed to simplify browser access to Accelerometer and Gyroscope data.