About Daloy

A free, browser-based microsimulation of Philippine road traffic. No login, no install, runs entirely on your device.

How it works

Each vehicle is an agent that follows the Intelligent Driver Model (IDM) for car-following. At every time step it decides its acceleration based on (a) the gap to the vehicle ahead, (b) the speed difference with that vehicle, and (c) its own desired speed. Signals are state machines — fixed-time by default, with an optional adaptive mode that grants green to the approach with the longest queue.

The simulation runs at ~30 Hz on the main thread; the renderer draws roads as ribbons and vehicles as small rectangles colored by type (car, jeepney, tricycle, motorcycle, truck, bus). Each vehicle type has distinct length, max acceleration, desired speed, and time headway.

Philippine flavor

Honest limitations

Credits & references

Open the simulator