Interactive demonstration of fundamentals of traffic flow and simulation on the web
Access the online versions below, or download this repo and open bottleneck_min.html
or loop_min.html
using a common web browser (e.g., Firefox, Chrome, Edge, Safari)
bottleneck_min.html
: simulator for a bottleneckloop_min.html
: simulator for a ring roadmainloop.js
: code for execution and animationmodel.js
: code of traffic flow models etc.scenario_bottleneck.js
,scenario_loop.js
: codes defining the scenariosutil.js
: general utility
- 2023-08-10: Increased the width of time-space diagram and cumulative plot
- 2023-07-14: Implemented pause function
- 2022-08-16: Initial release