/ 2D LABORATORY · ALGORITHMS /

Traffic Wave Cellular Highway

A ring road of simple vehicles produces stop-and-go waves.

EXP. 10 / 20
Simulation live
REAL-TIME · CANVAS 2D
Canvas support is required.
Metric
—
Metric
—
Metric
—

Behind the phenomenon

The Nagel–Schreckenberg cellular automaton updates each car using acceleration, gap-based braking, random slowing and movement. Congestion can spontaneously emerge.

✦ Science insight

A traffic jam can travel backward even while every vehicle travels forward.

Made with 🤖 ChatGPT