Device Orientation API + Canvas = ?

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

Construit avec JavaScript, Canvas, Mobile, Offline Support,

  • 71 vues

L'auteur nous en dit plus sur cette démo

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 ...

About this Demo

Téléchargez le fichier ZIP · 3.99 Ko

Cette démo est fournie sous la licence GPL.