Catalog

Predator and Prey

Biology Ecology 2D

Predator and Prey

How to use

In Agents mode, every rabbit eats grass, uses up energy, breeds and may be hunted; every fox hunts rabbits and dies if it goes hungry. The graph next to the field shows the populations over the years.

Change the rates with the sliders while the simulation runs and trigger events such as a drought, a disease or the arrival of foxes. Tap the field to release rabbits or foxes, or to plant grass.

In Equations mode, the populations follow the Lotka–Volterra model. The phase plane plots foxes against rabbits; drag the blue point to choose the starting populations. The dashed lines are the nullclines and the white circle is the equilibrium point.

Challenge: keep rabbits and foxes alive for the chosen number of years, even with random events.

Learning goals