Grass, Rabbits and Foxes

This model represents a spatio-temporal predator-prey model of population dynamics. It may or may not represent something deep and important. It makes pretty moving patterns. The ‘science bit’ is similar to that in shampoo adverts – the kind where a ‘scientist’ (someone in a lab-coat) talks about ‘nano-spheres’. But less so.

The model consists of a toroidal array of cells (easily generalisable to the continuum). Each cell has a value consisting of three components:

Naturally, rabbits eat grass and foxes eat rabbits. Without enough grass to eat, the rabbit population declines. Without enough rabbits to eat, the fox population declines. The density of both grass and rabbits increases if their respective 'predator' populations are not too large. However, the environment itself prevents population densities from growing too large.

Also, the three-tuple in each cell is drawn to the average value of its neighbourhood – this should be understood as a gradual diffusion of high density populations into neighbouring cells of lower density.

The expression for the growth of each component, exy, of population density in each cell x, y is:

δexy/δt = exy.(1 - exy).(N + I.qxy - D.rxy) + K.(ēxy - exy)

Where:

These equations, for all components across all cells, form a large set of simultaneous non-linear differential equations – Sound like some interesting behaviour might emerge? Let's see...

Click on the simulation to restart it

In the simulation above, the density of each population in each cell is represented by the amount of red (rabbits), green (grass) and blue (foxes). These colours combine in the usual way to produce the oozing and probably uninterpretable shapes you see above.

On the Choice of Parameter Values

Several different regimes may emerge from the model above, depending on the choice of parameter values. In order to determine the boundaries for these regimes, several ancient and sophisticated analytical techniques may be employed. Because the beautifully simple classical method of ‘placing the non-sequitur at a page turn’ is not available when publishing on the web, several other options may be used. The reader may like to try the following methods, if they have the enthusiasm:

  • Insciens Incommodus Contradictio
  • Saepenumero Proloquium
  • Waving the Hands