TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Play brick breaker using webcam and hand tracking (open source)

22 pointsby getToTheChopin4 months ago
I built this game to test out the MediaPipe hand-tracking API. Play brick breaker using your webcam + hand movement -- levels get progressively harder with faster speed &#x2F; smaller paddle.<p>All processing is done in real-time within your browser. This project is built using javascript, html canvas, and mediapipe hand tracking.<p>This game is free and open source, offered under an MIT license.<p>Github repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;collidingScopes&#x2F;manual-brick-breaker">https:&#x2F;&#x2F;github.com&#x2F;collidingScopes&#x2F;manual-brick-breaker</a><p>Hope it&#x27;s fun for you -- would love to hear feedback and suggestions for improvement.

3 comments

gus_massa4 months ago
Nice.<p>I had low contrast between my hand and my t-shirt, so I had to keep my hand over my head and it&#x27;s very tiring. I don&#x27;t know how you can solve this, I probably need better illumination.<p>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.<p>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&#x27;t have to catch the ball!<p>(Yes, I know cheating in a single player game is stupid.)
评论 #42745633 未加载
nimzoLarsen4 months ago
Pretty fun — feels quite natural to play by moving my hand.<p>I noticed a bit of lag while playing on mobile (iPhone Chrome).<p>Nice work!
评论 #42734028 未加载
heyrikin4 months ago
Very cool!
评论 #42734689 未加载