Skip to content
gh-pages
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
js
 
 
 
 
 
 
 
 
 
 

#Tilt - Device orientation demo#

Since finding out that many laptops contain an accelerometer, including my ASUS Chromebook, I thought it would be fun to hack some code together to test it out. This is a browser based demo that attempts to keep an iFrame level as the device is tilted left or right.

Only html5 web standards are used, so no need for flash or any such nonsense. It does require a fairly modern browser though. I've tested with Chrome and Firefox, but as I only have a Chromebook that sports an accelerometer I don't know if the tilting works in Firefox.

You don't need to clone the repo locally if you only want to run the demo. Just point your browser at: http://www.kevssite.com/tilt

About

Device orientation experiment

Resources

License

Releases

No releases published

Packages

No packages published