Shader interaction
Specimen
A scanner for flowers. Move across one and it comes apart into squares, each showing the flower again through a different instrument. Click to capture it and move on to the next.
Move to scan · Click for sound
Why this one
I saw a short botanical edit on LinkedIn: macro flowers sliced into thermal, chrome and glitch bands, with tracking labels crawling over them. It was a video. You could only watch it. I wanted to know what it would feel like to hold the scanner yourself, with every square rendered live from a single shader.
The Boring Version
A carousel of flower photos with a caption under each one. Swipe, read, swipe.
My Version
The flower sits in the dark under a slow push-in. A scan beam follows your cursor, and the flower breaks into big and small squares that re-roll seven times a second. One is a closer inset, the next reads heat, the next traces edges, and others turn to liquid chrome or tear sideways. Markers lock onto real details on the flower and call them out. Leave it alone and it scans by itself.
The small details
Six specimens, one shader.
01 / Squares
The frame is cut into a grid of squares that can split into halves and quarters, so big and small tiles sit side by side. The layout re-rolls on every step. Squares near the beam and over the flower are much more likely to switch on, and each has its own zoom around its centre, so it reads as a second, closer camera rather than a filter.
02 / Instruments
Thermal maps brightness onto an inferno palette. Trace runs an edge detector and draws the result in cyan and white. Chrome wraps brightness through a cosine, so petals turn to polished metal. Streak smears toward the centre, and Glitch tears rows sideways with a red and blue split. The mode chips pin one instrument, and Auto deals them out at random.
03 / Tracking
When a photo loads, a small Laplacian pass finds its sharpest details, the anthers, spots and pollen, and keeps the best one in each part of the frame. Those become the markers. They follow the camera, re-lock a few pixels off ten times a second, and the five nearest the beam get brackets, a part name and their pixel coordinates.
04 / Capture
A click floods every square on at once, drops a white flash down the frame, and swaps the specimen row by row in random order. The arrow keys work too. The button in the corner opens the scanner full screen.
05 / Sound that follows your hand
Six short recordings sit under the scanner: a hum, data chatter, a whoosh, a capture, a stutter and a lock chime. Mouse speed opens the hum and lifts its pitch, and slices the chatter into more blips the faster you go. A fast flick throws a whoosh panned the way you moved. Click quickly and each capture pitches higher, and past a point a glitch stutter stacks on top. Speed and click rate push the picture too, so fast hands make for more squares, more tearing and wider fringes.
06 / Intensity
One slider runs from a calm specimen with just the beam and its markers to every square, label and fringe going at once. The sound scales with it.
07 / The specimens
The six macro photographs (GPT Image 2.6, 1.5 credits) and six sound effects (Mirelo SFX, 4.75 credits) were generated on Higgsfield for this page. Everything else, every square, colour, label and the way the sound bends, is code.
08 / You, the specimen
Press Scan yourself and the instrument turns around. The readout files you as specimen 07, Homo florens, and the tracker switches from plant parts to yours: THUMB, INDEX, R.EYE, MOUTH, CHIN, each with live coordinates. Squares bloom wherever you move. Pinch to capture, and pinch quickly to make it stutter. Blink and the frame glitches. Spread your hand to turn the intensity up, open your mouth to breathe through the scanner, and turn your head to pan the sound. Hold still for two seconds and it locks on. Hand and face tracking run on your own device with MediaPipe. Nothing is recorded or sent.