Traffic Flow Simulation
Aerial angled view of a city intersection where autonomous vehicles follow lane paths and obey a signal-light state machine. Each car checks the distance to the stop line and the gap to the vehicle ahead every frame to decide whether to brake, giving simple car-following behavior. Buildings, dashed lane markings and crosswalks are procedurally generated boxes and planes lit by a shadow-casting directional sun light.
- Vehicles: 28 (4-way traffic)
- Method: rule-based lane following + stop-line/gap checks
- Signal cycle: NS green 6s / yellow 1.5s / EW green 6s / yellow 1.5s
- Fog range: 60-220 units
- Camera: OrbitControls, drag to orbit / scroll to zoom