Home▸Society & Economics▸Pedestrian Crowd Flow (2D)

🚶 Pedestrian Crowd Flow (2D)

Top-down 2D social force model of pedestrian crowds: real exponential repulsion from neighbours and walls, corridor lane formation, bottleneck jams and crossing flows.

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

A top-down 2D social force model of a walking crowd, where each pedestrian is driven toward a goal and repelled from nearby people and walls by a real exponential force. Watch lanes form automatically in a two-way corridor, congestion build at a narrow bottleneck door, and streams weave past each other at a crossing.

crowd simulationsocial force modelpedestrian dynamicsagent-basedlane formation2D

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

What did you find?

Add reproduction steps (optional)