Mars Greenhouse Life-Support Balance (2D)
2D companion simulator: real, integrated closed-loop equations for O₂/CO₂ gas exchange, water recycling and logistic crop growth in a sealed Martian greenhouse, run live sol by sol on a scrolling chart with a days-to-dry-out estimate.
The 3D original renders the greenhouse's cabin-pressure, water-recycling and crop-area sliders as three glowing metric bars orbited by a particle ring — a snapshot dashboard rather than a running system. This 2D companion replaces that with the real thing: a closed-loop model that integrates crew oxygen consumption against crop photosynthesis, carbon-dioxide production against crop uptake (via a Michaelis-Menten saturation curve), and water demand against the recycling rate you set, sol by sol, on a scrolling four-line chart. Crop biomass grows logistically toward a ceiling set by your crop area, gated by cabin pressure (which scales gas-exchange efficiency), a simulated day/night light cycle, CO₂ availability and how much water is actually left in the 180 m³ reserve — so pushing the recycling rate too low or the crop area too high produces a visible, numeric decline toward "WARNING" and "CRITICAL" status instead of a static bar chart.
A 2D companion to the 3D Mars Greenhouse lab: real integrated equations for O₂/CO₂ gas exchange, water-reservoir balance and logistic crop growth for a 12-person crew, run live sol by sol with a scrolling chart and a days-to-dry-out estimate — not a decorative dashboard.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install