Bioluminescent Beach
Glowing plankton drift along a moonlit shoreline. Hold a hand up to your camera and trail your fingertips through the shallows to make them flash.
How it works
The shoreline is a wavy curve with a slow tide that pushes it in and out. Each speck of plankton is an object that remembers how far it sits from that curve, so the glitter rides the waves while it jitters around. ml5.js handPose tracks your fingertips through the webcam, and any plankton near a fingertip lights up and slowly fades, the way real bioluminescence flashes when the water is disturbed. No camera? Your mouse works too. The video never leaves your browser.
View the Codebase