Drag to orbit · scroll to zoom · click a light to retime it
Car Selected light Green Red
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

City Traffic Simulation

A grid of signalled intersections carries a stream of vehicles, each governed by a car-following model that balances a desire to reach cruising speed against the need to keep a safe gap to whatever is ahead. Click any traffic light to select it and retime its green/red split, then watch how that change ripples through queue length and average flow speed across the network — including the stop-and-go shockwaves that propagate backward through dense traffic whenever one car brakes hard.