The purpose of this project was to understand and closely examine the device orientation capabilities with respect to its software.
Methods and Resources
A basic program was provided that showed the working of device orientation using its hardware like gyroscope. These properties can be used to build interactive web apps. To demonstrate we used two different shapes: a square as center and a circle as ball.
The video shows the results where we can see the square box in the center with the ball hovering over it. The position of the ball can be changed using device pan and tilt. When you load the page and move the device around, you should see the position of ball change as the device moves through space and is affected by acceleration.