Grass captures sunlight (a producer). Buffalo, gazelles and hares eat grass (primary consumers). Lions and cheetahs eat them (secondary consumers).
At every step most energy is used up just staying alive, so only a fraction moves up the chain. That is why the savanna always holds far more prey than predators. Compare the totals in the chart legend (each chart has its own scale).
When prey are plentiful, predators eat well and raise more young. More predators eat more prey, so prey decline. Then predators go hungry and decline too, letting prey recover. The predator curve lags behind the prey curve.
d/dt means "change over time". α = prey birth rate, β = how often predators catch prey, δ = how much eaten prey becomes new predators, γ = predator death rate.
These are the classic Lotka–Volterra equations (1920s). This game doesn't use them directly: the cycles emerge from individual animals.
An area's carrying capacity is the largest population its resources can support. Here, grass sets the limit for grazers. In the dry season grass grows slowly and the capacity drops. Try lowering the rainfall slider to simulate a drought.
Lions and cheetahs compete for the same prey. Real lions kill cheetahs and their cubs without eating them. Ecologists call this intraguild predation.
Cheetahs coexist through niche partitioning: they are fast but light, so a healthy adult buffalo is a poor bet for them. They mostly hunt hares, gazelles and buffalo calves or weakened buffalo, and they steer clear of lions.
Every birth here needs a male and a female who find each other. A very small or scattered population may fail to breed. This is the Allee effect. A single unlucky event can also wipe it out. That's why real reintroductions, like wolves to Yellowstone in 1995, release several animals.
Remove the predators and grazers boom. Then the grass is eaten faster than it regrows, and the grazers starve. Effects that run down the food chain like this are called a trophic cascade.
The Shannon index scores both how many species there are and how evenly their numbers are spread:
where pᵢ is each species' share of all animals. With 5 species the maximum is ln 5 ≈ 1.61.