Lotka Volterra - Predator Prey

Hi all! I’m back again for another post. This time I am going to show off a project I have had for quite a while - it is a cellular automaton which simulates the Lotka Volterra equations.

Orange for foxes, brown for rabbits.

The Lotka Volterra equations, also known as the predator prey equations, are used to model the populations of two species over time - a predator and a prey.

Graph of my result (left) next to the graph of the expected result (right).

Comments are currently disabled whilst we remove the dependency on a third party service which was taken offline. In the meantime, feel free to send a message to me on Twitter.

  • rubenwardy

    I 'optimised' the source code, to try and make it run faster -in the process, I accidentally made it so rabbits always win. :(