Algal Bloom in a Lake: Phosphorus, Light and Sediment Memory (2D)
The same lake as a vertical cross-section from Blender-rendered sprites: runoff from the farm, light fading with depth, the algae cloud in the mixed layer, the 1 percent light depth, the Secchi disc at the computed clarity and the sediment phosphorus pool. Graphs of chlorophyll through time and the equilibrium against the inflow. Same controls and checks as the 3D version.
A one-box lake model: dissolved phosphorus, algae (chlorophyll-a) and a sediment pool, with Monod growth limited by phosphorus and by the mixed-layer mean light, self-shading, grazing, flushing and internal loading. Watch the water turn from clear to green, the Secchi disc vanish and the sediment keep feeding the bloom after a clean-up. Checks: simulated equilibrium against a bisection root, closed forms without shading, phosphorus conservation, quadrature of the light, RK4 order, the bloom threshold and Carlson's index anchors. Illustrative parameters.
The same lake as a vertical cross-section from Blender-rendered sprites: runoff from the farm, light fading with depth, the algae cloud in the mixed layer, the 1 percent light depth, the Secchi disc at the computed clarity and the sediment phosphorus pool. Graphs of chlorophyll through time and the equilibrium against the inflow. Same controls and checks as the 3D version.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install