Live data from Hacker News

Show HN: Boing

boing.greg.technology

51–60 of 156 posts

Re: Show HN: Boing

#51

There seems to be a minor bug. When I switch tabs and come back, sometimes the spring is moving. Some times a small amount, and other times it appears to be streched to the max, and extending off the top and bottom of the screen, until it calms down. Safari, Mac.

Yes, good sleuthing, that was one of the last remaining things I wanted to fix before launching.

Just fixed, should be live soon.

Re: Show HN: Boing

#54

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.

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.

https://pastebin.com/FKyz20LG

Re: Show HN: Boing

#58
post #46

when haptics

I would love to, but iOS support doesn't seem possible - there's a trick [0] to make a hacky haptic vibration in javascript, but it doesn't work with the kinds of events here of drag&release. And (lame excuse, but) I don't have an Android phone to test the haptics to make sure they're semi realistic.

This might have to wait for the native app versions ha.

[0] https://progressier.com/pwa-capabilities/vibration-api

Re: Show HN: Boing

#60

AI?

Yes! I've been toying with this project idea for a few ~months, trying out most of the models out there. The physics and the look of the spring would come out quite crazy looking, so I put it on the back burner.

This is not an ad, there's no affiliate link... but the physics & drawing code were one shot by the recently released Gemini 3 Pro. It was pretty incredible to see. Additional tweaks & boing counter server by Claude Code.

Post reply on HN