Ring Road Traffic: Flow-Density Diagram and Space-Time Waves
Top view of identical cars driving round a 500 m ring road under the Intelligent Driver Model, with a space-time diagram where a stop-and-go wave shows as a red band moving backwards, and a flow-density diagram comparing uniform-flow capacity with simulated runs at many densities. Sliders set the number of cars, desired speed, time headway, acceleration and the starting nudge.
This simulation models traffic flow on a road network, demonstrating how vehicles interact with each other and the environment to illustrate concepts of fluid dynamics.
Top view of identical cars driving round a 500 m ring road under the Intelligent Driver Model, with a space-time diagram where a stop-and-go wave shows as a red band moving backwards, and a flow-density diagram comparing uniform-flow capacity with simulated runs at many densities. Sliders set the number of cars, desired speed, time headway, acceleration and the starting nudge.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install