Live data from Hacker News

Show HN: Boing

boing.greg.technology

71–80 of 156 posts

Re: Show HN: Boing

#72

Funny thing: this feels "realistic" because it’s not perfect physics. A perfectly simulated Hooke's law spring actually looks fake and too stiff. But if you let the animation wobble a bit more and slow down the damping, our brain reads it as weight and squishiness. It’s basically controlled sloppiness.

Elasto Mania is a great game from decades ago (but still for sale!) that exploits this fact to a hilarious extent. You control a motor bike with excessively wobbly physics making all kinds of stunts possible (and necessary, to complete the levels) that are spectacular and surprising. https://elastomania.com/

I spent thousands of hours on that game.. just too good :)

Re: Show HN: Boing

#73

Earlier quoted context omitted.

alright, I implemented a world boing counter :-) thanks for the great idea

maybe also de-boing the boining now that it's calling the server. i think the js script pasted here will show you it's needed

there's rate limiting so the script posted in this thread actually mostly hits 429s :-) but yeah, great pointer

Re: Show HN: Boing

#75

It doesnt boing rotationally, only in a straight line. Like the spring isn't really there. If I bend it right round to one side so the spring is curved I expect it to bounce round to the other side.

you are right - just improved this and I think it looks a lot better (deploying now)

thanks!

Re: Show HN: Boing

#76
That’s got to be one of the most satisfying things ever. The real device was a darling invention and this is a faithful recreation of the experience of being in time out in the 80s.

Re: Show HN: Boing

#77
post #6

Love this. Had to cheat, naturally. setInterval(()=>{const canvas=document.getElementById('canvas');const startX=266;const startY=198;const rect=canvas.getBoundingClientRect();const startClientX=rect.left+startX;const startClientY=rect.top+startY;let endClientX,endClientY,distance;do{endClientX=Math.random()*window.innerWidth;endClientY=Math.random()*window.innerHeight;const dx=endClientX-startClientX;const dy=endCli…

I don't think you need to move the mouse, you just need to click slightly offcenter while still bein inside the ball.

Re: Show HN: Boing

#78
post #6

Love this. Had to cheat, naturally. setInterval(()=>{const canvas=document.getElementById('canvas');const startX=266;const startY=198;const rect=canvas.getBoundingClientRect();const startClientX=rect.left+startX;const startClientY=rect.top+startY;let endClientX,endClientY,distance;do{endClientX=Math.random()*window.innerWidth;endClientY=Math.random()*window.innerHeight;const dx=endClientX-startClientX;const dy=endCli…

Waiting for somebody to write the code to recreate the Star Wars Imperial March: https://www.youtube.com/watch?v=-NDLlWtudpE
Post reply on HN