Coding Fun Html Accelerometer Demo with JavaScript, CSS and HTML

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:

There is this article (in pt-BR) about it, at:

Github:

Tags: , , , , , , , , ,

1 thought on “Accelerometer Demo with JavaScript, CSS and HTML”

  1. Ok some questions…Do all Macbooks later than 2013 contain accelerometers and all the other necessary parts to do this without attaching any extra parts? Plus, is there a way to display the actual accelerometer data readings on the screen?

Leave a Reply

Your email address will not be published. Required fields are marked *