Inspiration

Eye doctors suggest the 20-20-20 rule: every 20 minutes, look about 6 m away for 20 seconds. I never do it. Every reminder pops up on the screen I am supposed to look away from. Glasses can put something far away in the room, so I made the break a small game.

What it does

While you study, a small dot on your desk fills up. When it is time, a creature called Pip hops off the desk and hides 5 to 6 m away. A chime and an arrow show where it went. Look at Pip for 20 seconds while a ring fills, then pinch to catch it. Your streak goes up and you are back to work. If it is a bad moment, Snooze and Pip comes back later.

How I built it

I planned the idea with the plan-lens skill and built it with Claude Code using Snap's CLAD skills and the Lens Studio MCP in Lens Studio 5.24. The break logic, gaze maths and hiding spots are plain TypeScript, kept separate from the Lens code. Interaction uses the Spectacles Interaction Kit for the far pinch and UI Kit for the buttons and score card. Sound effects were generated locally. Every done criterion has a LEAF test, and all 5 pass in the preview.

Challenges

Lens Studio crashed when two agents compiled at the same time, so compiling had to happen in one place. A testing tool installed packages that did not match my SIK version and broke the build until I swapped in matching versions. A 15 cm creature 5 m away is hard to pinch, so the catch area is bigger than the creature. SPECS has a narrow view, so I moved the desk UI into the centre. Lens Studio crashed when two agents compiled at the same time, so compiling had to happen in one place. A testing tool installed packages that did not match my SIK version and broke the build until I swapped in matching versions. A 15 cm creature 5 m away is hard to pinch, so the catch area is bigger than the creature. SPECS has a narrow view, so I moved the desk UI into the centre.

What I learned

How to design for an additive display where black is invisible, how to keep logic testable apart from the scene, and how to write LEAF tests that check real behaviour in the preview.

Built With

  • clad
  • leaf
  • lens-studio
  • lens-studio-mcp
  • snap-specs
  • spectacles-interaction-kit
  • spectacles-ui-kit
  • typescript
Share this project:

Updates

Submission history