Paper glasses. Red lens on the left eye.
Anaglyph 3D · art & software

Two pictures, one red, one cyan. Your brain does the rest.

Anaglyph is the oldest trick in 3D and still the cheapest: no screen, no headset, just a pair of coloured lenses and a picture drawn twice. This page explains how it works, where it came from, how to make good ones, and which LookyBox software already uses it.

Anaglyph picture: two chibi name cards and the Looky hero floating in front of an aurora, drawn as red and cyan copies
Made from our own art in a few lines of code: the aurora sits behind the screen, the name cards float a little, the hero jumps out. Put the glasses on.

How it works

You see depth because your two eyes sit about 65 mm apart and get slightly different views. Anaglyph delivers a different picture to each eye using colour as the sorting key.

1Draw the scene twice

Once from the left eye's position, once from the right. Things close to you shift a lot between the two views. Things far away hardly move.

2Colour-code the two views

The left view goes into the red channel of the picture. The right view goes into the green and blue channels, which together look cyan. Both live in one image.

3Let the glasses sort them

A red lens passes only red light, so the left eye sees only the left view. The cyan lens shows the right eye the right view. Your visual system fuses them, and depth appears.

THE SCREEN red copy left of the cyan copy = sinks behind the screen · swap them = floats in front LR ≈ 65 mm
The left eye's view of the scene
Left eye → red channel
The right eye's view of the scene, with the hero shifted to the left
Right eye → green + blue

A short history

Anaglyph predates cinema, television and the computer. Every generation rediscovers it because the glasses cost pennies.

Anaglyph as art

Because the depth is drawn, not filmed, anaglyph rewards anyone who can plan in layers: comic artists, poster designers, muralists, photographers and kids with two coloured pencils. The rules below are what separate a picture that pops from one that just looks blurry.

Keep the shift small

Total separation between the two copies should stay under about one thirtieth of the viewing distance. On a laptop at 60 cm that is roughly 20 mm, or 85 pixels. Most of a picture should use far less.

Know which way is out

To float in front of the screen, the left eye's copy must sit to the right of the right eye's copy. Swap them and the object sinks behind. Get this backwards and the brain refuses to fuse.

Depth from separation

Depth in front of the screen is D·p ÷ (e + p), where D is viewing distance, p the separation on screen and e your eye spacing. With 36 px at 60 cm that is about 7 cm of pop.

Avoid pure red and cyan

A bright red object exists for one eye only, so it flickers between the eyes. Desaturate the picture a little before you split it. Greys, browns, golds and blues fuse best.

Text stays on the screen

Words are easiest to read at zero separation, or a hair in front. Put big depth into shapes and pictures, not paragraphs.

Don't cut the pop-out

An object that floats in front of the screen must not touch the picture's edge. The frame would then appear to be in front of it, and the illusion collapses.

Make one now

Our own cutouts on our own backgrounds. Move the depth sliders with the glasses on. Download is a plain PNG; hang it anywhere.

Positive depth comes toward you; negative sinks back. Keep the subject's separation modest, keep the background a little behind, and lower Colour if you see ghosts.

Anaglyph software on LookyBox

Everything here is built by Vision Looky, runs in the browser, and needs nothing but the paper glasses.

A note from the optometrist. Anaglyph depth only appears when both eyes work together. A few people in every hundred see little or no stereo depth, often without knowing it, and that is not something a picture can fix or diagnose. If 3D pictures give you a headache or double vision, take the glasses off and rest. If it happens every time, an eye exam that checks how the eyes team up is worth booking.