Home▸Fluid Dynamics & Aerodynamics▸Multi-Lane Highway: Lane Changes and Traffic Flow (2D)

🚗 Multi-Lane Highway: Lane Changes and Traffic Flow (2D)

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
Multi-Lane Highway: Lane Changes and Traffic Flow (2D) ↗ 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)