FocusFarm
A webcam-based focus app that rewards sustained attention with a growing pixel-art farm.

Why We Built This


Caught mid-game of Plants vs. Zombies in class — exhibit A for why this app needed to exist.
I get distracted constantly when I'm supposed to be working, ADHD-adjacent, if not full ADHD. But somehow I can lock in for hours on a farm game where I'm just collecting stuff.
SO — why can't we just gamify boring work and study, and make it rewarding by the end of the day?
Technical Stack
Frontend & Detection
- React
- Next.js
- MediaPipe / TensorFlow.js
- Webcam-based attention tracking
Data & Progression
- Coin economy
- Pixel farm rendering
- Local storage — MVP
- Supabase/Firebase — planned
Deployment & CI
- Vercel — auto-deploy on push
- GitHub Actions — CI on every PR
What's Next
• Unlockable farmland — new plots open up as focus hours accumulate
• Tiered animals and buildings gated behind farm level, not just coins
• A progression system with milestones, not just a flat shop
• Seasonal or rotating decorations to keep long-term use engaging
• Streak-based multipliers that reward consistency, not just single sessions
• A leaderboard, once there's a real progression system worth comparing
