🐑 Wolf-Sheep Predation — 2D Grid

Top-down agent-based predator-prey ecosystem. Sheep graze grass to gain energy and reproduce, wolves hunt sheep, grass regrows over time — watch the population cycles emerge.

Grid
Population
0
Sheep 🐑
0
Wolves 🐺
0%
Avg Grass
0
Tick
Stable
Status
Agent-based model. Sheep wander a toroidal grid, graze grass cells to gain energy, and reproduce above their energy threshold. Wolves hunt nearby sheep within a fixed radius, gain energy on a kill, and reproduce above their own threshold. Every agent loses energy each tick and dies at zero — grass regrows continuously. Classic boom-bust predator-prey cycles emerge from these purely local rules.