Parallax effect with device inclination?

Is it possible to make a parallax effect affected by the inclination of the device?


Theoretically, it seems possible. You’d just get the accelerometer data and have that value used to jump to a frame.

Keep in mind, I think of parallax as scrolling background like in classic 2D video games. I generally don’t do animation based on the position of the scroll bar.