Accelerometer demo by making a ball move on the screen as the device is tilted.