Mozilla Demo Studio

  • Submit a Demo

Device Orientation API + Canvas = ?

A small demo that shows what can we do with an accelerometer and a canvas (works only on mobile devices ...)

Built using JavaScript, Canvas, Mobile, Offline Support,

  • 47 views
  • 0 comments

More About This Demo From The Author

This webpage records all the motions of your mobile device for ten seconds and makes a graph that shows the variations of the Beta, Gamma and Alpha values returned by the accelerometer.
I designed this demo on my iPod touch, so I don't know what it looks like on other mobile devices ...
I added a cache manifest, so it can be used as a WebApp ...

No comments yet.

Register or log in to add your own.

Get the Source Code

Download the Source 3.99 KB · ZIP File

This demo is released under the GPL license.