RoadTrafficSimulator
Road traffic simulator and signals optimizer in CoffeeScript & HTML5
Install / Use
/learn @volkhin/RoadTrafficSimulatorREADME
RoadTrafficSimulator
Traffic simulator and road lights adjuster using 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.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

