PPolySim OS
For K-12 Students · Schelling Segregation

Schelling Segregation for a traffic jam

Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a traffic jam 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 k-12 students?
Yes — this version of "Schelling Segregation for a traffic jam" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.