https://github.com/volkhin/RoadTrafficSimulator
Road traffic simulator and signals optimizer in CoffeeScript & HTML5
https://github.com/volkhin/RoadTrafficSimulator
simulator visualization
Last synced: 12 months ago
JSON representation
Road traffic simulator and signals optimizer in CoffeeScript & HTML5
- Host: GitHub
- URL: https://github.com/volkhin/RoadTrafficSimulator
- Owner: volkhin
- License: mit
- Created: 2014-05-31T23:34:12.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T00:29:10.000Z (about 9 years ago)
- Last Synced: 2024-10-28T05:12:28.636Z (over 1 year ago)
- Topics: simulator, visualization
- Language: JavaScript
- Homepage: http://volkhin.com/RoadTrafficSimulator/
- Size: 1.06 MB
- Stars: 462
- Watchers: 34
- Forks: 149
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RoadTrafficSimulator
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.
Currently it provides only simulator with visualizer but in future releases
traffic lights optimizer will be added to construct best possible schedule and
avoid traffic jams.
## Demo
http://volkhin.com/RoadTrafficSimulator
* Mouse and wheel - scrolling and zoom
* shift + click -- create intersection
* shift + drag from one intersection to another -- create road
Or just press generateMap in control panel and add cars with carsNumber slider.
## Contributing
Feel free to send pull requests and create bug reports/reature requests using
issues. Or just send me your feedback to artem@volkhin.com.
To run simulator
git clone https://github.com/volkhin/RoadTrafficSimulator
cd RoadTrafficSimulator
npm install
And open index.html in your browser. Use **gulp** to rebuild project.
[](https://waffle.io/volkhin/roadtrafficsimulator)