Traffic Flow Planner for a bank run
Built for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model. Simulate a bank run live below — adjust the inputs and watch it respond, right in your browser.
Controls
A ring road of cars. Random braking alone creates “phantom” traffic jams that travel backward — no accident needed.
Presets
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Controls
Dijkstra's algorithm finds the shortest path from a source (A, blue) to every other node in a weighted graph, always expanding the closest unvisited node next. The number inside each node is its shortest distance from A; the green edges trace the optimal route to your chosen destination. It powers GPS routing, network protocols, and logistics. Click any node to re-target.
Size a graph for the exportable Python solver below — the diagram stays a fixed six-node example.
Presets
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with Traffic Flow Planner
Frequently asked questions
- Is this good for researchers?
- Yes — this version of "Traffic Flow Planner for a bank run" is framed for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.