HomeFluid Dynamics & AerodynamicsTraffic Flow Simulation – Nagel-Schreckenberg & BML

🧪 Traffic Flow Simulation – Nagel-Schreckenberg & BML

Simulate highway and city traffic using the Nagel-Schreckenberg cellular automaton and Biham-Middleton-Levine models. Watch phantom traffic jams emerge, observe gridlock phase transitions, and explore the fundamental diagram of traffic flow. Free interactive simulation.

Fluid Dynamics & Aerodynamics2DModerate60 FPS
traffic-flow-simulation-nagel-schreckenberg-bml ↗ Open standalone
⚙ Under the hood

This simulation models traffic flow using the Nagel-Schreckenberg and Bureau of Motor Carrier Statistics (BML) models. It demonstrates how vehicles interact within a roadway network, illustrating concepts like congestion and queue formation.

Nagel-SchreckenbergBML ModelsTraffic Flow

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

What did you find?

Add reproduction steps (optional)