|
|
|
|
|
by kylebebak
424 days ago
|
|
A long time ago I wrote code to run a visual simulation that combines flocking behavior with Lotka-Volterra dynamics https://www.youtube.com/watch?v=-_JWAh0lP8Q It's a stochastic simulation (no differential equations), but it produces predator-prey population swings that are pretty close to the Lotka-Volterra model |
|
I'm guessing it's somewhat similar to the foxes/rabbits work you were doing a few months ago? https://github.com/kylebebak/foxes_and_rabbits/blob/main/fox...