Stereogram generator
Create a stereogram (a hidden 3D “Magic Eye” image) from a grayscale depth image: white areas will appear close, black areas distant, once the image is viewed by crossing or diverging your eyes.
How it works
A stereogram hides a raised shape in an apparently random dot pattern. The tool starts with a strip of random noise on the left of the image, then repeats the pattern to the right with a horizontal offset based on the depth (brightness) of each pixel in your source image: the brighter the pixel, the closer together the pattern is placed, creating the depth illusion when you view the image with a crossed or relaxed gaze.
How do I properly view the stereogram?
Place yourself facing the screen, relax your gaze as if looking at a point behind the image (the “divergent gaze” technique), without focusing on the screen itself. After a few seconds, a raised shape should appear floating above or behind the pattern.
What depth image should I use?
Use a grayscale image where white represents the areas closest to the viewer and black the farthest areas (a simple gradient, a geometric shape, or text works well). If the depth seems inverted, enable the “Invert depth” option.
The pattern and depth computation are done entirely in your browser: your image is never sent to a server.