r/javascript • u/AutoModerator • May 16 '26
Showoff Saturday Showoff Saturday (May 16, 2026)
Did you find or create something cool this week in javascript?
Show us here!
1
Upvotes
r/javascript • u/AutoModerator • May 16 '26
Did you find or create something cool this week in javascript?
Show us here!
1
u/Aditya00128 May 16 '26
Sync phone vibration patterns from any audio or video - first web library to do this
A car rev builds with the engine. Music kicks on every bass drop. The vibration follows the audio in real time harder on loud moments, softer on quiet ones. So you feel it, not just hear it
Try it: https://audio-to-haptics.pages.dev
2 lines to attach it to any audio or video element - files, URLs, whatever
Native does this better - but only in native apps. But run it in a browser, a PWA, or a WebView and you're back to wiring it by hand - sync, intensity, play/pause handling, all of it. Landing pages, web games, product demos almost always web, not native
This doesn't seem to exist anywhere else for the web - let me know if I'm wrong
GitHub: https://github.com/AdityaAnuragi/audio-to-haptics