Device Orientation API + Canvas = ?
A small demo that shows what can we do with an accelerometer and a canvas (works only on mobile devices ...)
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 ...
Obtenir le code source
Cette démo est fournie sous la licence GPL.