Home▸Agronomy & Soil Physics▸Autonomous Greenhouse: 2D Control-Loop Simulator

🌱 Autonomous Greenhouse: 2D Control-Loop Simulator

A 2D cross-section of an autonomous greenhouse: proportional temperature, humidity and CO2 controllers drive a roof vent, fogger and CO2 injector to keep plant growth near its optimum despite an external heatwave disturbance.

Agronomy & Soil Physics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-autonomous-greenhouse ↗ Open standalone

This 2D companion drives the identical closed-loop control equations as the 3D greenhouse — proportional controllers on temperature, humidity and CO2, and a growth index built from the product of three Gaussians centered on each variable's biological optimum — but renders them as a flat side cross-section instead of an orbiting 3D scene. A roof vent swings open in proportion to temperature error, a fogger emits particle bursts whenever humidity drops below setpoint, and a CO2 injector bar glows when it is actively topping up the atmosphere, so the relationship between sensor error and actuator response is visible at a glance. Switching Auto Control off freezes every actuator and lets you watch temperature, humidity and CO2 drift back toward ambient conditions — and the growth index collapse with them — making the value of the feedback loop directly observable.

⚙ Under the hood

2D cross-section of an autonomous greenhouse: proportional temperature, humidity and CO2 controllers driving a vent, fogger and CO2 injector, with a live Gaussian growth-index readout.

canvas 2dgreenhouseagronomyclosed-loop controlsensorsactuators

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

What did you find?

Add reproduction steps (optional)