← all projects
JavaScript · MediaPipe Browser

Windmill

A camera game for little kids: spin your arms like a windmill, and the windmill on screen spins with you.

status: Playable in the browser. Needs a camera.

Windmill watches through the camera with MediaPipe pose detection, which runs entirely in your browser. The camera picture never leaves your device, and nothing is recorded.

Highlights

  • Tracks shoulders and wrists and turns the circling of your arms into the windmill's speed and direction.
  • Tuned for small children: it reacts quickly to slow, small arm circles and winds down gently, so a little effort keeps it spinning.
  • Big type and controls for playing in front of a TV, plus a camera view that shows what the game sees.
  • A whooshing sound, made with the Web Audio API, that rises with the speed.
  • MediaPipe's runtime and pose model load from their CDNs, pinned to exact versions.
The Windmill game on a phone: a cartoon windmill under a blue sky, with a power meter at 70% and the word Clockwise!