Deck 03 · the Light Lab

Reach in and mess with it.

Six benches, one octave of spectrum. Each instrument runs the real equation in miniature: Snell and Cauchy, the grating equation, Descartes' caustic, Rayleigh's fourth power, two-beam interference, and a hologram's cross term. Every bench has a dial that goes past what the world allows, so you can see what the physics does when you push it. Make your guess before you turn anything.

The strip under each bench is the visible octave, 750 to 380 nm, lit by whatever that bench is doing to the light. Drag the lower right corner of any bench to make it taller.
Bench 01 · prism

White light in. Which colour bends most?

A block of real glass on the bench. Every ray obeys Snell's law at each face, and every wavelength carries its own index from Cauchy's formula fitted to the catalogue numbers of the material you pick. Turn the block, change the apex, or go to INVENT and write a glass of your own: any index, even one below 1.

Angles traced for real. The fan is widened ×10 about its true mean, because a real fan is thin; readouts give the traced angles.
drag to turn the block
A white beam enters a glass prism from the left and leaves as a fan, blue bent hardest, landing on a screen at the right. The readouts and dials below still work.
Bench 02 · the CD

There is a rainbow hiding in this object. Find it.

A disc in the dark, a lamp you can drag, a disc you can tilt and flip. The surface solves the grating equation per pixel on the real 1.6 µm track pitch; the zoom is a camera dive onto the pits, and at the bottom the light itself is drawn as waves, summed from the pits, with no equation written anywhere. Then change the pitch: a DVD, a Blu-ray, or a grating ten micrometres coarse.

Real pitch, real grating equation. The pits are drawn to scale; the dive compresses five orders of magnitude.
drag the disc to tilt it, drag the lamp to move it
A CD tilted under a small lamp; where the lamp grazes it a rainbow sweeps across the tracks, red on the outside. The readouts and controls below still work.
Bench 03 · garden hose

Make a rainbow. Then make it out of diamond.

You, the sun, and a cloud of spray in the yard. Every droplet is coloured by its angle from the antisolar axis, the line from the sun through your head, using Descartes' minimum-deviation angle for the droplet's index at each wavelength: 42.5° in the red, 40.6° in the violet, and a second bow from two bounces at 50 to 54° with the colours flipped. Change what the drops are made of and the cone moves, or disappears.

Angles computed from the droplet's index. The spray and the figure are schematic; the glow inside the bow and outside the twin is a stand-in for the continuous light.
drag the spray, or drag the sky to move the sun
A figure in a yard with the sun behind it; a cloud of spray lights up in a 42 degree arc around the shadow of the head. The readouts and dials below still work.
Bench 04 · build a sky

Start with a white atmosphere. Make Earth's.

You are under a dome, and every pixel of it is lit by sunlight scattered along your line of sight. Molecules scatter by 1/λ⁴, so blue 3.3 times more than red; droplets and dust scatter every colour alike. One Earth atmosphere is an optical depth of 0.27 at 460 nm overhead, and the horizon is 38 air masses away. Drag the sun down and the noon sky becomes a sunset by the same law. Then try five atmospheres, or none.

Single scattering, three wavelengths for the band, the sun drawn three times its true size, the aureole a simple forward lobe.
drag to move the sun; shift-drag to look around
A sky dome above a dark ground, blue overhead and paling to the horizon, with the sun reddening as it sets. The readouts and dials below still work.
Bench 05 · soap film

No pigment, no prism, no grating. Where do the colours come from?

A film in a wire wand, a few hundred nanometres thick and draining. Two reflections, front and back, differ by 2 n t cos θ, and the front one flips phase, so each wavelength shows or cancels by sin² of that path. The shader sums twenty wavelengths per pixel and Newton's sequence appears on its own. Tilt the wand and every pixel takes its own angle from the camera. Thicken the film tenfold and the colour goes.

Interference computed per pixel. The thickness field is sculpted, not simulated; the two-beam formula with a Fresnel amplitude.
move over the film to read it, drag to tilt the wand
A round soap film in a wire wand, banded in straw, magenta, blue and green, going black from the top as it drains, then popping. The readouts and dials below still work.
Bench 06 · hologram

Not a picture of a thing. A recording of an interference pattern.

Three points of an object, a plane reference beam, and a plate exposed by |O + R|². Only the cross term knows which way the light was travelling, and that is the fringes, drawn at their real spacing. Replay the developed plate with the reference alone and the grating equation hands the object wave back, a virtual image at the recorded depth with real parallax. Break the plate: every shard still holds the whole scene. Replay it in the wrong colour: the image moves.

80 µm of plate at its real fringe spacing. Scale it up 1000× for a plate you can hold: the same fringes, tens of thousands of them.
recording: drag the object. replaying: drag the eye
A glass plate striped with fine fringes between a laser's reference beam and three glowing points behind it; replayed, the points reappear behind the plate for an eye in front. The readouts and dials below still work.