GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

03Hiding text — fillText stamped straight into the depth map

Draw text in grayscale on an offscreen canvas, feed brightness in as depth, and a whole phrase sinks into the noise — the item that opens the door: any picture can be the depth source.

Best forEvent anti-bot widgets, playful easter eggs

fillTextgetImageDataImageData
Hiding text — fillText stamped straight into the depth map
Open in a new tab

03 Hiding text — fillText stamped straight into the depth map — Measured area 31.934% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Magic Eye Stereograms: 9 Depth Map Demos

The post this demo lives in

Magic Eye Stereograms: 9 Depth Map Demos - preview of all 9 demosMagic Eye Stereograms: 9 Depth Map DemosRead each pixel's brightness as depth, shift it a few pixels along the row, and a solid shape hides inside flat noise. C See all demos in this post

If you like this effect - similar demos