The Polarization Machine
Start with 200 people holding moderate, normally-distributed political opinions on a left-right spectrum. Add echo chambers that make people interact mostly with the like-minded. Sprinkle in media bias that pushes people further toward whichever pole they're nearest. Wait a few generations. The result: a once-moderate population tears itself into two hostile camps with an empty center — a pattern disturbingly familiar in modern democracies worldwide.
Echo Chamber Dynamics
The echo chamber parameter controls how strongly agents prefer interacting with similar-opinion neighbors. At low values, people encounter diverse views and opinions converge toward consensus. At high values, agents self-sort into ideological bubbles where their existing beliefs are reinforced and amplified. The transition is sharp — there is often a critical threshold above which moderate consensus collapses into bimodal polarization.
The Role of Media
Media bias acts as a centrifugal force. When media outlets cater to ideological segments, they push audiences further from the center. The radicalization rate captures how quickly exposure to partisan content shifts opinions toward extremes. Combined with echo chambers, media bias creates a positive feedback loop: more extreme views drive more extreme media consumption, which drives more extreme views. The cross-exposure parameter is the countervailing force — opportunities to encounter and engage with opposing perspectives.
Reading the Simulation
The histogram shows the opinion distribution evolving in real time. Watch the initial bell curve develop a dip in the middle and grow peaks at the extremes. The polarization index quantifies this bimodality. The dot visualization below colors each agent on a blue-to-purple-to-red spectrum by political position, making the sorting process viscerally visible. Experiment with parameters to find the conditions under which democratic moderation survives — or collapses.