Labs · Autonomous Agents

Wolves, Sheep & Grass

Wolves, Sheep & Grass simulation

Add a third level to the food chain. Grass grows back on a timer, sheep wander and eat grass for energy, and wolves wander and eat sheep. Every move costs energy. Animals with enough energy may reproduce, splitting their energy with the offspring, and animals out of energy die.

This classic agent-based model (from NetLogo) produces the same population cycles as differential equations, but with noise, spatial patches of overgrazing, and the very real possibility of extinction.

Make grass regrow slowly and watch the sheep population become limited by food rather than by wolves.

Controls

Evolved from Predators & Prey.