javascript
comment 0

Create Motion Sensing Website Using Doppler Effect

Believe it or not, now you can use your microphone and speakers (not headphones) as a motion detection sensor that measures the Doppler effect of the sound waves using a JavaScript library called doppler.js by GitHub user Daniel Rapp. While the project is still in its infancy, the basic demo does work on Chrome! In the demo, you can try to scroll up and down the motion sensing website by moving your hand towards and away from the mic/computer. Hit the buttons below to learn more.

View More View Demo

Filed under: JavaScript

About the Author

Posted by

Sani Halid is a front-end developer at Stampede and is committed to clean and elegant code. Yet another gamer to join the pack, Sani is also the Editor at Constructs where he shares his daily CSS findings and other front-end development goods.

Leave a Reply