PPolySim OS
For Educators · Genetic Algorithm

Genetic Algorithm for a crowd evacuation

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a crowd evacuation live below — adjust the inputs and watch it respond, right in your browser.

Genetic AlgorithmLive

Controls

Presets

A population of candidate solutions is scored by fitness (bright = high). The fittest are selected, crossed over, and mutated each generation. Watch the swarm climb toward the global peak while dodging local optima.

▶ Run in Python

Data Inspector

Generation0
Best fitness0.000
Population80

Governing equation

Reading this result: Balanced mutation (0.08) with population 80: enough diversity to escape local optima while still converging — the classic explore-vs-exploit sweet spot.

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

or unlock everything with Pro →

More with Genetic Algorithm

Frequently asked questions

Is this good for educators?
Yes — this version of "Genetic Algorithm for a crowd evacuation" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.