Lunar Eclipse Color Simulator (2D)
A 2D orthographic-projection companion to the Danjon lunar eclipse simulator: pick a Danjon level, sweep the umbra offset and stratospheric aerosol depth, and watch brightness, eclipse magnitude and colour temperature update live.
During a total lunar eclipse the Moon does not disappear — sunlight refracted through Earth's atmosphere bathes it in a dim, reddened glow whose exact shade astronomer André-Louis Danjon catalogued in 1921 into a five-step scale from L0 (nearly invisible, ash-gray) to L4 (bright copper-orange, easily photographed). This 2D companion projects that same color science onto a flat orthographic disc instead of a lit 3D sphere: pick a Danjon level and the tint and base brightness update from the same reference table the 3D version uses, while an umbra-offset slider sweeps the light/dark boundary across the disc the way the Moon's path through Earth's umbra does. A stratospheric aerosol-optical-depth slider adds real Beer-Lambert-style attenuation — after major volcanic eruptions, stratospheric aerosols measurably darken eclipses, which is why some 20th-century eclipses were recorded as L0 while eclipses in clear years reached L3-L4. The live panel reports brightness, an eclipse magnitude estimate (via the standard m = −2.5·log₁₀(flux) relation) and an approximate colour temperature, and the crater field is an orthographically projected rotating sphere drawn with plain 2D arcs.
Danjon-scale brightness/tint table combined with a Beer-Lambert aerosol-attenuation term and a standard astronomical magnitude conversion; the moon disc is a smoothstep-shaded gradient swept by the umbra-offset control, textured with an orthographically projected, rotating crater field.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install