← all demos
Biology

Predator–Prey Phase Portrait

N'=αN-βNP · P'=δNP-γP
Predator–Prey Phase Portrait

The Lotka–Volterra cycle drawn in (prey, predator) space closes into a loop — populations chase each other forever. Integrated with the library's dynamics + RK4.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).