Ubunatic Coding

Interactive traffic models

Traffic simulation explore crossings and bridge corridors.

A microscopic, scenario-driven Canvas simulator for signalized crossings and Dresden's Carolabrücke corridor. Compare configurations, inspect flow metrics, and explore vehicle behavior. The model is not fitted to real-world measurements.

Traffic in motion

Choose a scenario, tune speed and inflow, pause or step through traffic, and compare models below the canvas. The embedded simulator runs the CPU engine; open it in a new tab for worker execution and optional WebGPU acceleration. Open demo in a new tab ↗

Make traffic behavior visible

Explore how signal timing, turning movements, yielding and bridge geometry interact. JSON scenarios and repeatable headless checks make behavior inspectable, while the canvas shows queues and vehicle paths. Results support exploration, not traffic prediction.

Simulation contracts and evidence

Stable baselines, beta scenarios and experimental proposals are labeled in the selector. Advanced controls retain directional turning overrides and individual behavior flags. The comparison panel runs seeded batches and exports CSV or JSON results.

At a glance

Stack
JavaScript ES modules, HTML/CSS, Canvas 2D, Web Workers, optional WebGPU, Node.js tests, Go 1.26.5 JSON Schema validator
Milestones
Simulation runs in Web Workers (#076, 59ef8d3) · WebGPU results compared with the CPU version (#077, #078, a17fc28) · Worker handling of turn-pocket occupancy corrected (#093, a7df724)
Commits
50
Source
This project is in an early phase; its repository is not public yet.