Home▸Physics & Mechanics▸Midnight Crowd: Pedestrian Wave Dynamics

Midnight Crowd: Pedestrian Wave Dynamics

3D social-force-model crowd circling a New Year countdown tower — a genuine agent-based physics simulation of lane formation and stop-and-go density waves, not scripted crowd animation.

Physics & Mechanics3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
3d-midnight-crowd-wave-dynamics ↗ Open standalone

A New Year's Eve crowd circles a countdown tower on a closed plaza avenue, rendered in full 3D. Each pedestrian follows only Helbing & Molnár's social-force equations — a desired tangential velocity plus an anisotropic, front-weighted exponential repulsion from nearby agents and lampposts — with no scripted paths anywhere. Raise the density or the bidirectional flow ratio and watch lane formation emerge from bidirectional streams, then push further to trigger genuine stop-and-go density waves rolling backward around the ring, tracked live in the scrolling density strip.

⚙ Under the hood

A social-force-model crowd circles a New Year countdown tower in 3D, spontaneously forming directional lanes and backward-rolling stop-and-go density waves as you raise density and flow ratio.

social-force-modelcrowd-dynamicsemergent-behaviorpedestrian-flownew-year

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)