Home▸Space & Astronomy▸Roundabout Merge — Yield-Priority Traffic Simulator (2D)

Roundabout Merge — Yield-Priority Traffic Simulator (2D)

Interactive 2D roundabout traffic simulator: cars entering from four approaches must judge live gaps in circulating traffic and yield when no safe gap exists — no traffic lights, no fixed timers. Tune arrival rate, critical gap and ring capacity and watch queues form or clear.

Space & Astronomy2DModerate60 FPS⇄ 3D version
2d-3d-traffic-simulation-2 ↗ Open standalone

Four approaches feed a single roundabout with no traffic signals of any kind. Every car waiting to enter continuously evaluates the live gap in circulating traffic and only merges once that gap exceeds a driver-chosen critical threshold — precisely how real give-way roundabouts work, and a fundamentally different control mechanism from a fixed- or adaptive-timer intersection. Circulating cars always keep priority and follow an Intelligent-Driver-Model car-following law around the ring; entering cars queue and wait exactly as long as their yield decision keeps them there. Push the critical gap or arrival rate up and watch a specific leg's queue grow while the ring itself still has spare capacity — the classic signature of gap-acceptance-limited, not capacity-limited, congestion.

⚙ Under the hood

Interactive 2D roundabout traffic simulator: cars entering from four approaches must judge live gaps in circulating traffic and yield when no safe gap exists — no traffic lights, no fixed timers. Tune arrival rate, critical gap and ring capacity and watch queues form or clear.

RoundaboutGap AcceptanceCar-Following ModelTraffic PriorityIntelligent Driver Model

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)