🗳️ Voter Model & Schelling Segregation

Agents on a grid adopt neighbours' opinions. Switch between the classic Voter Model, Noisy Voter (spontaneous flips), and Schelling Segregation — watch global order emerge from purely local rules.

Model

Parameters

Stats

Blue fraction
Interface density
Largest cluster
Consensus?No
Steps0

About This Simulation

The Voter Model is one of the simplest opinion-dynamics models: at each step, a random agent copies the opinion of a random neighbour. On a finite lattice the system always reaches consensus (all red or all blue), but the time to do so scales as N². Adding spontaneous opinion flips (the Noisy Voter Model) creates a steady-state distribution rather than absorbing consensus.

The Schelling Segregation model shows how mild preferences produce strong spatial segregation. Each agent is happy if at least a fraction τ of its neighbours share its colour; unhappy agents move to a random empty cell. Even with τ = 0.30 (only 30% same-colour neighbours required), stark homogeneous clusters emerge — a classic example of "micromotives and macrobehaviour."