News for hackers. Stuff that matters.
Re:Show HN: Play brick breaker using webcam and hand trackin... by gus_massa on Friday January 17, 2025 @09:44AM (#42738001)
Nice.

I had low contrast between my hand and my t-shirt, so I had to keep my hand over my head and it's very tiring. I don't know how you can solve this, I probably need better illumination.

When I remove the hand from the camera view, the balls go back to the middle of the paddle. I expected the ball to freeze and a short countdown when the hand is visible again. I tried to cheat removing my hand on purpose but there is a big lag between the time I hide my hand and the game stops.

After a few tries, I discovered that I can hide my hand when the ball is going up at 75% and the game will freeze after the ball hits the block and the ball is going up at 50%, so I don't have to catch the ball!

(Yes, I know cheating in a single player game is stupid.)

Re:Show HN: Play brick breaker using webcam and hand trackin... by getToTheChopin on Friday January 17, 2025 @10:45PM (#42745633)
This is great feedback, thank you for playing and let me know these comments.

Yes I definitely need to improve the mechanic of pausing / restarting the game when hand tracking is lost. I'll try to implement it the way you suggested.

Cheers!