Home▸Society & Economics▸Crowd Evacuation: Social Force Model (2D)

👥 Crowd Evacuation: Social Force Model (2D)

2D top-down crowd evacuation simulation using the Social Force Model (Helbing & Molnar): agents are driven toward an exit and repelled by walls and neighbours, producing bottlenecks and the faster-is-slower effect.

Society & Economics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-evacuation ↗ Open standalone
⚙ Under the hood

A top-down 2D crowd evacuation simulation using the social force model. Agents move toward a single exit while being pushed away from walls and other people. Change the number of people and the exit width, or turn on panic mode, to see crowding and slowdowns near the exit.

social force modelcrowd dynamicspedestrian flowevacuationagent-basedbottleneck

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)