🚶 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.
⚙ 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