Swarm intelligence, ant optimisation and cellular automata. Simple rules give rise to complex behaviour of living systems.
Open a simulation — it runs right in your browser
Articles and tutorials about the algorithms in this category
Flocking, evolution, epidemics, and cellular patterns — modelled as code
Biology and life simulations reveal how complex behaviours emerge from simple local rules. Reynolds's three steering rules (separation, alignment, cohesion) produce realistic bird-flocking with hundreds of agents; Turing's reaction-diffusion equations generate the spot and stripe patterns seen on animal coats; the SIR epidemic model tracks disease spread through networked populations; and Conway's Game of Life demonstrates how a two-state rule set generates gliders, oscillators, and self-replicating structures.
These agent-based and equation-driven models are used in ecology, epidemiology, evolutionary biology, and synthetic biology research. By adjusting reproduction rates, infection probability, sensing radius, or diffusion coefficients you can observe population dynamics, extinction events, pattern formation, and the edge of computational universality — all within the browser.
Life simulations occupy a unique intersection of biology, mathematics, and computer science. The same reaction-diffusion equations that produce spots on a cheetah also model tumour growth and chemical oscillators. Genetic algorithms derived from evolution power industrial optimisation, machine learning, and drug discovery pipelines. Exploring these models interactively builds a deep intuition for how biological complexity arises from molecular-scale simplicity.
Topics and algorithms you'll explore in this category
Common questions about this simulation category