👥 Crowd Evacuation

Evacuated: 0 / 0 Time: 0s ← Back
Social Force Model: each person is attracted toward the exit and repelled by the walls and other people. A narrow spot → a crush!

🚪 Evacuation — Crowd Simulation

Agents evacuate a room through narrow exits using social force dynamics. Watch bottlenecks form, the "faster-is-slower" effect emerge, and see how exit placement affects evacuation time.

🔬 What It Demonstrates

Social force model (Helbing & Molnár, 1995): agents feel repulsive forces from walls and other agents, while being attracted toward the nearest exit.

🎮 How to Use

Adjust agent count, desired speed and exit width. Watch the "faster-is-slower" paradox — higher desired speeds create more congestion at exits.

💡 Did You Know?

Dirk Helbing discovered that placing a column slightly before an exit actually speeds up evacuation — it breaks the arch-shaped clogging pattern. This counterintuitive finding now influences building design.