🚦 Urban Traffic Flow: Signal Timing & Congestion Lab (2D)
2D city-grid traffic lab: a real Nagel-Schreckenberg cellular-automaton model runs on a grid of one-way streets with synchronized signals, so you can tune density, speed limit, driver caution and signal-split live and watch congestion form and dissolve.
The 3D original renders a static, randomly-generated skyline whose "traffic density" and "population" sliders were cosmetic — they relabelled a stat box without touching the scene. This 2D companion replaces that decoration with the mechanism the title actually promises: a grid of one-way streets, each governed by the Nagel-Schreckenberg cellular automaton (the standard discrete traffic model used in transportation engineering), with synchronized signals at every intersection. Raise the density slider and free-flowing green dots start bunching into red, stationary jams exactly the way real congestion forms behind a bottleneck; widen the signal green-split for one direction and you can watch its cross-streets back up in response — the same trade-off traffic engineers tune when they retime a corridor.
2D city-grid traffic lab: a real Nagel-Schreckenberg cellular-automaton model runs on a grid of one-way streets with synchronized signals, so you can tune density, speed limit, driver caution and signal-split live and watch congestion form and dissolve.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install