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

Cyclic Mobility

This implementation of Dirk Brockmann’s “Cycledelic” model simulates three ‘species’ interacting in space. When A encounters B, B diminishes and A moves into its territory. In turn, B defeats C, and C defeats A. One way of conceptualizing this model is of simultaneous games of rock-paper-scissors playing out in two-dimensional space. The abstractly cyclic rule generates physical cycles (spirals and eddies) when visualized on a Terrain.
By adjusting the parameters for predation (how aggressively a species moves into another’s space), competition (how difficult it is for a species to defeat another), and diffusion (absent of competition, how much species move in space), a variety of complex patterns will emerge.