Home▸Nature & Climate▸Ecosystem Terrarium: Closed-Loop Population & Water Cycle (2D)

Ecosystem Terrarium: Closed-Loop Population & Water Cycle (2D)

2D sealed-terrarium lab: Monod-limited plant growth, a Holling type-II herbivore grazing loop, decomposer nutrient recycling and a closed evaporation/condensation water cycle, all RK4-integrated and driven by six live sliders.

Nature & Climate2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-ecosystem-terrarium ↗ Open standalone

This 2D companion replaces the 3D version's decorative orbiting fireflies with the ecology and biophysics a sealed terrarium actually runs on: Monod-limited plant growth competing for light, soil moisture and nutrients; a Holling type-II grazing loop between the plants and a herbivore population; a decomposer litter pool that recycles dead biomass back into the soil; and a closed evaporation/condensation water cycle across the glass, all six state variables RK4-integrated together and driven by six live sliders for light, day length, herbivore seeding, grazing rate, decomposition rate and starting soil moisture.

⚙ Under the hood

Sealed-terrarium lab with Monod-limited plant growth, Holling type-II herbivore grazing, decomposer nutrient recycling and a closed evaporation/condensation water cycle, RK4-integrated across six coupled state variables.

ecosystempredator-preynutrient cyclewater cyclemonod kineticsrunge-kutta

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)