🐺 Wolf-Sheep Predation
Spatial agent-based ecology simulation. Sheep eat grass, wolves hunt sheep — watch Lotka-Volterra population cycles emerge from simple local rules.
Grass Regrowth 5
Sheep Food Gain 18
Wolf Food Gain 50
Speed (ticks/frame) 2
120
Sheep 🐑
25
Wolves 🐺
100%
Avg Grass
0
Tick
Stable
Status
Lotka-Volterra Agent Model — Unlike the classic differential equation version, this spatial simulation runs individual agents on a grid. Sheep wander, eat grass, and reproduce when well-fed. Wolves hunt nearby sheep, gain energy from each kill, and reproduce too. Both lose energy each tick and die when depleted. Classic population cycles emerge: sheep multiply → wolves multiply → sheep depleted → wolves starve → sheep recover. Watch for spatial patterns: wolves create local "grazing refugia" where sheep survive to replenish the population.