Show HN: Boing
boing.greg.technology
Show HN: Boing
1–10 of 156 posts
Re: Show HN: Boing
#2Very fun and nostalgic. The head of the boinger doesn't seem to exactly follow the cursor/finger however, at least on mobile, it always arcs.
Re: Show HN: Boing
#3i love this. it reminds me of simpler times when we’d have iphone apps/games that would explore a single mechanic and implement it really well.
Re: Show HN: Boing
#4I noticed that the boing sound gets deeper and lower with smaller-magnitude boings. Is the boing audio generated procedurally/realistically in response to the physics of the boing, or is just playing a premade boing sound effect that's dynamically pitch shifted?
Re: Show HN: Boing
#5fantasitic
Re: Show HN: Boing
#6Love 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=endClientY-startClientY;distance=Math.sqrt(dx*dx+dy*dy)}while(distance{const event=new MouseEvent(type,{view:window,bubbles:true,cancelable:true,clientX:clientX,clientY:clientY,screenX:clientX+window.screenX,screenY:clientY+window.screenY,buttons:type==='mouseup'?0:1,button:0});target.dispatchEvent(event)};dispatchMouseEvent('mousedown',canvas,startClientX,startClientY);setTimeout(()=>{dispatchMouseEvent('mousemove',window,endClientX,endClientY);setTimeout(()=>{dispatchMouseEvent('mouseup',window,endClientX,endClientY)},1);},1);},1);Re: Show HN: Boing
#7Oh random Flash apps, how I miss you
Re: Show HN: Boing
#8I noticed that the boing sound gets deeper and lower with smaller-magnitude boings. Is the boing audio generated procedurally/realistically in response to the physics of the boing, or is just playing a premade boing sound effect that's dynamically pitch shifted?
The original is pretty low, it appears to be sped up. Check the network panel.
Re: Show HN: Boing
#9[dead]
Re: Show HN: Boing
#10I would love to see an accurately simulated version of this, à la https://www.engine-sim.parts/