← Gallery
ABM · 01

Schelling Segregation

Each agent stays put if the share of same-color neighbors is at least its tolerance. Otherwise it relocates to a random empty cell. Even mild same-type preference tips the system toward segregation.

Step0
Unhappy agents
Same-color share