Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Google uses accelerometer API in Jules Verne Google Doodle.
Here's the basic usage for chrome: (for firefox the event is MozOrientation, and values are radians rather than degrees)
window.addEventListener('deviceorientation', function(evt) { var x = evt.gamma, y = evt.beta; }, false);
There are no comments on this comment yet.
Here's the basic usage for chrome: (for firefox the event is MozOrientation, and values are radians rather than degrees)