Nagel-Schreckenberg Traffic
A cellular automaton for phantom jams and traffic flow.
What is this?
A browser simulation of the Nagel-Schreckenberg traffic model. Cars move on a ring road, and jams appear even without accidents, traffic lights or bottlenecks.
How it works
Every step applies acceleration, collision avoidance, random braking and movement. Changing density and randomness shows the transition from free flow to stop-and-go waves.
Scope and limitations
A discrete-space/time, single-lane periodic-road automaton. It illustrates phantom jams but omits lanes, junctions and realistic reaction times.
It opens here, in this same tab. Use Back to return.
Open experiment