-
Accelerometer Demo with JavaScript, CSS and HTML
The balloon moves according to the accelerometer in all left/right and front/back directions. See it working at: http://felipenmoura.com/accelerated-balloon/ There is this article (in pt-BR) about it, at: https://braziljs.org/blog/brincando-com-o-acelerometro/ Github: https://github.com/felipenmoura/accelerated-balloon Original source