A demo of using the JS device orientation API
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
js
index.html
levelTool.png
readme.md

readme.md

Level Tool

Utilizing the deviceorientation JavaScript API for fun & profit (minus the profit)

Level Tool

This is a demo / proof of concept that I put together in about 5 hours. Try this out if you have a device with an Accelerometer and a browser that supports the device orientation API. I'm not sure what will work and what won't... i've tested this on my MacBook Pro running in Chrome, but it should also work in the latest version of FireFox (maybe?)

Online Demo

http://mediaupstream.com/sandbox/level/


MIT License, the world is your oyster.