I was bored so I thought I would try to wrap up a little HTML/JS to catch the sensor info from the browsing device.
Wold be nice to use it for controlling something at the other end.!
The more I look the more I find incompatibilities between browsers.!
Anyway, just thought I would share. Open for comments or improvement.
Detecting device orientationSmoothed