Device Orientation Demo

You can download the code on GitHub. The blog post referencing this demo is here.

This example shows the (normalized) projection of gravity along the face of your device. The positive x direction is right and the positive y direction is down.


Example of sliding text using device orientation (carousel?)

Here is some text you can read by tilting your device left and right as you see fit.