∿mysimulator← All experiments
Interactive lab / Ecology / Experiment 13 of 20

Predator–Prey Ecosystem: Population Dynamics

Study how predation, prey growth and mortality shape population cycles.

Running live model
Interactive • Canvas 2D
LIVE SIMULATION / 13
Coupled ODEs · Population phase space
The science behind it

How it works

A logistic prey equation and predator growth equation are integrated with Runge–Kutta: dx/dt = r x(1−x/K) − axy and dy/dt = 0.28 axy − my. Adjust the rates to observe stabilisation, cycles or predator collapse.

Made with 🤖 ChatGPT