This is remarkable, because this is something we don't think of when building apps for the browser. So when we design mobile apps, let us not just shrink the browser apps for a small screen. Let's think mobile first when designing applications so that we can take advantage of the numerous possibilities offered by a mobile device.
In the video below, I demonstrate the app, talk about why i wrote it, and share the code for the app.
|Logic For Orientation Sensing|