City Traffic Flow Simulation (2D)
A top-down four-way intersection where cars accelerate toward a speed limit, brake for red lights and keep a safe gap behind the car ahead, driven by the same car-following and traffic-light logic as the 3D version.
This 2D companion mirrors the 3D intersection's own physics: each car accelerates toward the speed-limit slider's value, brakes when its light is red or amber, and keeps a following gap behind the car ahead in its lane, while the N-S and E-W green-time sliders retime the signal cycle and the live readout panel tracks throughput, queue length and average speed.
Top-down 2D four-way intersection: cars accelerate, brake for red lights and follow the car ahead, while sliders control the traffic-light timing, spawn rate and speed limit.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install