Re:Alexander Calder-themed Google
by stuti90 on Friday July 22, 2011 @02:03AM
(#2792598)
I'm really curious how they did this - how does it move when the laptop is tilted?!
[ Parent
| on HN ]
Some browsers hook into the device's accelerometer and expose that information to the web-page. For example, Firefox fires MozOrientation JavaScript events[1] when it's running on a device with an accelerometer.