Flocc

Agent-based modeling in JavaScript in the browser or on the server. [v0.4.8]

Predator-Prey

In the Predator-Prey model, there are two agent types: Sheep and wolves. Sheep eat grass, and their population is limited by both their food source — above a certain carrying capacity there aren’t enough resources to go around — and by the wolves who prey on nearby sheep. The nonlinear dynamics of this model are extremely sensitive to the starting conditions and parameters of reproductive and metabolic rates.