Traffic simulator and road lights adjuster using Intelligent Driver Model (https://en.wikipedia.org/wiki/Intelligent_driver_model) and lane-changing model MOBIL. Written in CoffeeScript and HTML5.
Go and look at the demo:
- open demo at http://volkhin.com/RoadTrafficSimulator
- click 'generateMap'
- add cars with slider 'carsNumber'