Home▸Fluid Dynamics & Aerodynamics▸Ring Road Traffic: Flow-Density Diagram and Space-Time Waves

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.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Ring Road Traffic: Flow-Density Diagram and Space-Time Waves ↗ Open standalone

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.

⚙ Under the hood

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.

Traffic FlowFluid DynamicsVehicle InteractionsIntelligent Driver Modelstop-and-go wavesfundamental diagramstring stability

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

What did you find?

Add reproduction steps (optional)