🦊 Fox & Rabbits (2D) — Lotka-Volterra Predator-Prey Simulation
A 2D Canvas agent-based Lotka-Volterra predator-prey simulation. Rabbits hop, graze and breed; foxes hunt the nearest rabbit, gain energy from a catch, and starve without food. Tune growth, predation and death rates live and watch the population chart oscillate.
⚙ Under the hood
A 2D Canvas agent-based Lotka-Volterra predator-prey simulation with fox and rabbit sprites. Rabbits hop, graze and breed while foxes hunt the nearest rabbit, gain energy from a catch and starve without food. Sliders tune growth, predation and death rates live while a population chart tracks the boom-and-bust cycles.
predator-preylotka-volterraecologyagent-basedpopulation-dynamicscanvas2d
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install