Traffic jams from nothing

This is the ring road from the film, running live. Add cars until the traffic breaks, take them away until it flows again, or let one driver refuse to race into gaps. Red cars are standing still.

The rules, all of them. One lane, no overtaking. Each driver looks only at the gap to the car in front and has a speed they are comfortable with for that gap: nothing when nose to tail, rising smoothly to about 59 km/h on an empty road. They do not jump to that speed; they close part of the difference every moment. The cars start evenly spaced, give or take a few centimetres. That is everything: no accident, no junction, no slow lorry.

For this model there is an exact rule for when evenly spaced traffic breaks down, and the page shows what it predicts beside what you measure. The ring is the size of the one used by Sugiyama and others in 2008 (22 cars, 230 metres), where a jam formed by itself with real drivers. What it leaves out: lanes, different vehicles, hills, and drivers who look further ahead than one car.