Home▸Fluid Dynamics & Aerodynamics▸Traffic Highway Flow - 2D Ring Road, Space-Time Diagram and Fundamental Diagram

🚗 Traffic Highway Flow - 2D Ring Road, Space-Time Diagram and Fundamental Diagram

2D companion of the highway traffic flow simulation: a Nagel-Schreckenberg ring road with a live space-time diagram, speed histogram and flow-density curve that shows phantom jams, checked against the exact p = 0 flow law.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Traffic Highway Flow - 2D Ring Road, Space-Time Diagram and Fundamental Diagram ↗ Open standalone
⚙ Under the hood

2D companion of the highway traffic flow simulation: a Nagel-Schreckenberg ring road with a live space-time diagram, speed histogram and flow-density curve that shows phantom jams, checked against the exact p = 0 flow law.

Traffic FlowCellular AutomatonFundamental DiagramPhantom Jams

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

What did you find?

Add reproduction steps (optional)