Predator Prey Simulation




One cycle per click.
Starts the simulation until Stop is clicked.
Interrupts the simulation.
Time delay
The time delay between the cycles.
Creates a new simulation, according to following parameters: 1. Island size (the number of rows/columbs the island consists of); the size multiplied with itself represents the number of tiles the island is subdivided into. In each cycle each animal moves to a neighboring tile. 2. Initial population sizes of hares and wolves.
Maximum number of individuals allowed on the island.
Maximum age (in cycles) for each individual.
The reproduction probability for each individual/cycle. Wolves only reproduce, if a hare was eaten. Hares reproduce in each cycle. In case of reproduction both species always deliver one child.
If more than the specified number of individuals appears on the same tile, half of them will die of stress.
Bear pressure
Allows to introduce bears acting at the borders of the island, devouring both hares and wolves. The will neither die nor reproduce.
Changes the background to a more realistic one (useless gimmick)?!
If selected, also diagonal moves are permitted.
Kills those individuals who decide to step out of the island's borders.
Surpresses the time consuming updating of the island, while the simulation keeps on running in the background. So it is possible to visually skip any desired number of cycles to increase speed.

All parameters can be changed online, i.e. during the simulation. Wolves and bears who just devoured something are shown with a red mouth. No matter, if there is only one individual or more of them on a tile, there is no difference in the icon, as it is hard enough to draw one individual on 10x10 pixels.


In the upper right corner the current cycle and the current number of individuals for each species are presented. It follows information about the density of each species on the island and how many individuals share a common tile. A population graph shows the qualitative development for both species during the last 60 cycles.