Coral Reef Resilience Lab (2D)
2D coral reef resilience model: a rolling Degree Heating Weeks thermal-stress index drives per-colony bleaching and recovery, water-quality and marine-protection sliders shift the odds, and a coupled fish population tracks reef health in real time.
The 3D original renders a decorative reef scene shared with more than a dozen unrelated backdrops (volcanoes, cyclones, warehouses) from the same generic scene generator — its two sliders only nudge cosmetic particle motion, with no real bleaching mechanism underneath. This 2D companion instead implements an actual thermal-stress model: a rolling 12-week Degree Heating Weeks accumulator — the same index NOAA Coral Reef Watch uses to forecast real-world bleaching — pushes each of 70 individually simulated coral colonies toward bleaching or, once the heat eases, back toward recovery. Water pollution narrows each colony's thermal tolerance and slows recovery; marine-protection enforcement speeds recovery and eases fishing pressure on a fish population whose carrying capacity is tied directly to live coral cover, so reef collapse and fishery collapse visibly drive each other.
2D coral reef resilience lab: a rolling Degree Heating Weeks thermal-stress accumulator drives per-colony bleaching and recovery, pollution and marine-protection sliders shift the balance, and a logistic fish population tracks live coral cover as its carrying capacity.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install
It is a real metric used by NOAA Coral Reef Watch: each week the sea-surface temperature sits more than 1 °C above the local bleaching threshold, that excess accumulates into a rolling 12-week sum. Around 4 °C-weeks, mild bleaching typically starts; past 8, significant coral mortality becomes likely. This simulation reproduces that same accumulate-and-decay logic.
The fish carrying capacity is tied directly to live coral cover — as coral bleaches and dies, the reef's fish habitat shrinks, so the population's ceiling drops even if fishing pressure hasn't changed. That coupling is the point: reef health and fishery health are not independent in this model, just as they aren't in a real reef.
It raises the coral recovery rate (representing reduced physical damage from anchors, nets and destructive fishing) and lowers the harvest term applied to the fish population — modelling the two main mechanisms by which a well-enforced marine protected area helps a reef recover.