Thin Film

the weird in-between

A soap film is transparent, yet it swirls with color. Light reflects twice — off the top of the film and off the bottom — and the second ray travels exactly 2 n d further. Where that extra path is a whole number of wavelengths, that color comes back bright. Half a wavelength off, it cancels. Almost everywhere else is the weird in-between — and that in-between, measured by red, green and blue against their different-sized rulers, is the color you see.

Every pixel here is computed from the exact arithmetic of Gnosis.ThinFilmInterference — the same definitions the Lean proofs close over. Hover the film to interrogate one spot; the four wavelengths shown are the proved witnesses: one film, three regimes. The bubble button flips the stack from oil (no boundary flip) to soap-in-air (half-wave flip): the proved swap turns every perfect fringe into its opposite, and the thin top rim goes black — the famous black film, black_film in Lean. The oil-drum button trades the film for a rain puddle: the same arithmetic, drawn as a slick whose rainbow bands are the topographic contours of its thickness — dull where the oil runs thick, burning with color at the thin edge, silver at the rim (white_film).

The colors are not pigment. They are arithmetic.