PPolySim OS
For Students · Schelling Segregation

Schelling Segregation for an ant colony

Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate an ant colony live below — adjust the inputs and watch it respond, right in your browser.

Schelling SegregationLive

Controls

Presets

Each agent is happy if at least this fraction of its neighbors share its color; unhappy agents move to a random empty cell. Even a mild preference for similar neighbors drives sharp, global segregation — Schelling's famous result.

▶ Run in Python

Data Inspector

Happy0.0%
Threshold35%
Grid80²

Governing equation

Reading this result: Even a moderate 35% preference drives global segregation — Schelling's core surprise — with the grid still settling.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Schelling Segregation

Frequently asked questions

Is this good for students?
Yes — this version of "Schelling Segregation for an ant colony" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.