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

01Random-dot basics — a sphere silently surfacing on the first screen

Lay noise, shift the pixels of one disc a few columns within each row, and the moment your eyes relax into parallel a circle becomes a ball — the minimal implementation every magic eye starts from.

Best forToy widgets, intro explainers

ImageDataUint8ClampedArrayputImageData
Random-dot basics — a sphere silently surfacing on the first screen
Open in a new tab

01 Random-dot basics — a sphere silently surfacing on the first screen — Measured area 31.427% · 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