A 3×3 grid of two-way avenues meets at nine signal-controlled intersections. Every light on the grid shares one clock: horizontal approaches get a green phase while vertical approaches hold red, then they swap, on a period set by the signal-cycle slider.
Each car targets a cruising speed built from the demand slider (more trips queued onto the network), the speed-limit slider, and the autonomous-vehicle share (self-driving cars react faster and pack tighter, lifting effective capacity). Before every intersection a car checks whether its approach has a green light and brakes if not; it also keeps a minimum gap to the car ahead in its lane, so queues form realistically behind a red light or a slow leader.
- Throughput — estimated vehicles/hour crossing the grid, rising with demand and autonomy.
- Average speed — mean of every car's current speed, scaled to km/h.
- Queued cars — how many cars are braking for a red light or a gap right now.