What you just saw
Each agent holds a binary opinion and occasionally copies a neighbor. Without zealots, the system always collapses to one side or the other — pure drift. A tiny fraction of zealots (~5%) completely changes the picture: stable, frozen clusters of both opinions coexist forever. Media influence adds a global nudge that can flip which side wins.
The science behind it
The voter model is one of the cleanest opinion-dynamics abstractions. Clifford and Sudbury introduced the version here in 1973. Extensions with zealots, media, and heterogeneous network topology are used today to study information cascades on social media platforms and electoral outcomes.
Try these experiments
1. Pure drift
Settings: zealot_fraction=0
What to look for: One side wins — but which side is random. Consensus is inevitable.
2. Frozen polarization
Settings: zealot_fraction=0.05
What to look for: Opinion clusters lock in and persist. No consensus.
3. Media pressure
Settings: media_strength=0.1
What to look for: The media-aligned opinion slowly takes over, even against local social pressure.
Run this at 100x scale
Voter model runs in your browser up to 6,400 agents. With SimLab, the same model runs on GPU at 10M+, with ensemble parameter sweeps and publication-ready output.
from scirouter import SciRouter
client = SciRouter(api_key="sk-sci-...")
result = client.simulation.run(
model="voter",
params={"grid_size": 1000, "zealot_fraction": 0.05,
"media_strength": 0.01},
steps=1000, seed=42,
)Related simulations
Schelling Segregation Simulator
Watch neighborhoods self-segregate from mild individual preferences. Drag the tolerance slider and see the 1971 model come alive.
Spatial Cooperation Simulator
Prisoner's dilemma on a 2D lattice. Nudge the temptation parameter past 1.50 and watch defection sweep a sea of cooperators.
Sugarscape Wealth Simulator
The Epstein–Axtell economy. Heterogeneous agents harvest sugar under lookup rules; watch Pareto wealth distribution emerge.
SEIR Epidemic Simulator
Simulate a pandemic in your browser. Tune R₀, vaccination rate, and mobility to see how interventions change the curve.
Frequently asked questions
What is a zealot?›
An agent whose opinion never updates, regardless of peer pressure. Even a small population of zealots can lock the system into coexistence instead of consensus.
Is this a real model of social media?›
It captures the skeleton. Real social media dynamics also include recommender systems, bots, and heterogeneous influence networks. The voter model is the starting point, not the finishing line.