Air Drums
Air Drums
Play a drum kit in the air using your webcam.
Tech stack
- ChatGPT
Links
Prompt
Draw 6 glowing drum pads (kick, snare, hi-hat, tom, crash, clap) over the mirrored video feed. When motion is detected inside a pad, trigger a synthesized drum sound (Web Audio API: oscillators and noise, no audio files) and flash the pad. Add a rhythm-game mode where pads light up in sequence with a score and combo, a free-play mode, a sensitivity slider, and a clear permission/privacy message (“video never leaves your device”). Include a fallback so pads can also be clicked or tapped. Neon stage-lights design.