Diving in…
🪨 Coral reef
Press Run season: a marine heatwave builds above the usual summer maximum, heat stress accumulates as degree heating weeks and corals expel their symbiotic algae (bleaching). Change CO₂ to see ocean acidification, change depth to see colour vanish.
Week 0 / 52 · HotSpot 0.0 °C · DHW 0.0 °C-weeks
NOAA alert: none
Live coral cover: 100% · bleached 0% · dead 0%
Seawater pH 8.02 · Ωarag 3.4 · calcification 100% of today
Camera depth 0 m · red light left 100%
Tap a coral colony for its symbiont status.
The science

Light and colour. Seawater absorbs each wavelength differently: I(z) = I₀ e−Kd z with clear-water Kd ≈ 0.25 (red channel, about 600–650 nm), 0.065 (green), 0.030 (blue) m⁻¹, so red falls to 1 % by about 18 m (pure water at 650 nm is steeper still, 0.34 m⁻¹). The scene applies this per colour channel to sunlight (at the reef depth) and along the view path (Beer–Lambert fog). Turn on the dive light to see the true colours at depth.

Heat stress. NOAA Coral Reef Watch defines HotSpot = SST − MMM (maximum monthly mean) and DHW = Σ max(0, HotSpot − 1 °C) over the last 12 weeks in °C-weeks. DHW ≥ 4 means significant bleaching is likely (Alert 1); DHW ≥ 8 means severe bleaching and mortality (Alert 2). The page accumulates DHW daily from a Gaussian heatwave.

Symbiont model (stylised). Each colony has its own heat tolerance τ (a spread of ±0.6 °C, because real colonies differ). Its symbiont density relaxes toward S* = 1/(1+(DHW/6)³): fast loss (0.6 week⁻¹) when above S*, slow recovery (0.06 week⁻¹) when below, and a colony that stays under 12 % symbiont density for 5 weeks is dead and overgrown by algae. The thresholds 4 and 8 are the operational NOAA values; the S* curve and rates are illustrative, not fitted to a species.

Ocean acidification. The carbonate system is solved for total alkalinity 2300 µmol/kg, 26 °C, salinity 35: fCO₂ → [CO₂*] = K₀ fCO₂, then the pH where TA = [HCO₃⁻] + 2[CO₃²⁻] + [B(OH)₄⁻] + [OH⁻] − [H⁺] (K₀, K₁, K₂ from Weiss and Lueker et al., KB Dickson, Ksp aragonite Mucci). Ω = [Ca²⁺][CO₃²⁻]/Ksp. Calcification is shown as proportional to (Ω − 1), a common first-order approximation; real slopes vary a lot between species.

Fish. Schools are boids (separation, alignment, cohesion, a pull toward the reef, floor and surface avoidance, flight from the camera). Fish abundance follows live coral cover (0.25 + 0.75 × cover), a stylised version of the observed link between reef condition and fish numbers. Caustics are an animated pattern, not a ray-traced simulation.

Not modelled. Waves and currents, nutrients, disease, predation (e.g. crown-of-thorns starfish), larval recruitment, adaptation, and real species ecology; the corals are four generic morphologies.

Independent checks (run on load in your browser):

running…
Drag: orbit · Wheel / pinch: zoom · Tap a coral · Run season to see the heatwave
Made with 🟠 Blender · Three.js