News for hackers. Stuff that matters.
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.
Re:Show HN: Boing by gregsadetsky on Sunday November 30, 2025 @03:52AM (#46094997)
Re:Show HN: Boing by mmabbq on Sunday November 30, 2025 @04:12AM (#46095090)
Turns out I was curious too, so I tried to de-minify it myself. Now I get to see how close I was.

https://pastebin.com/FKyz20LG

Re:Show HN: Boing by sixtyj on Sunday November 30, 2025 @01:57AM (#46094464)
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/

Re:Show HN: Boing by lionkor on Sunday November 30, 2025 @02:59AM (#46094749)
If they wanted an AI answer, surely they would have asked AI