Predator–Prey Dynamics — Lotka–Volterra (Rats & Snakes)
⛶
Plot
Rats vs Snakes (phase plane)
Rats population vs time
Snakes population vs time
Rats & Snakes vs time (dual axis)
Initial rats (prey)
4095
Initial snakes (predator)
347
Number of steps
500
Step size (Δt)
1
Small Δt keeps the orbit stable; large Δt makes RK4 drift.
▶ Run
Play ▶
Step ⏭
↺ Reset
Download
⤓ PNG
⤓ CSV
Rats vs Snakes (phase plane)
Cursor: X =
–
, Y =
–