Re:Show HN: Boing
by TheAceOfHearts on Sunday November 30, 2025 @01:00AM
(#46094243)
Any consideration on sharing the unminified code? I was a bit curious to read through the code and it seems like such a shame to keep it obfuscated. From a quick perusal, it seems like the bulk of the code comes from howler.js (a sound library), and the core functionality is conveniently implemented below the mobile template.
[ Parent
| on HN ]
Re:Show HN: Boing
by gregsadetsky on Sunday November 30, 2025 @03:52AM
(#46094997)
Of course! https://github.com/gregsadetsky/boing
Turns out I was curious too, so I tried to de-minify it myself. Now I get to see how close I was.
Online unminifier doesn’t work? E.g. https://www.unminify2.com/
Re:Show HN: Boing
by coffeecoders on Sunday November 30, 2025 @02:27AM
(#46094608)
Looks like a simple exponential drag/sprint-return simulation using requestAnimationFrame.
Here is AI's implementation. https://jsfiddle.net/z0or7d2y/1/