Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joefreeman/traffic
A traffic simulation.
https://github.com/joefreeman/traffic
Last synced: about 2 months ago
JSON representation
A traffic simulation.
- Host: GitHub
- URL: https://github.com/joefreeman/traffic
- Owner: joefreeman
- License: apache-2.0
- Created: 2014-10-27T11:14:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-27T11:20:37.000Z (over 10 years ago)
- Last Synced: 2024-11-01T11:07:48.380Z (3 months ago)
- Language: JavaScript
- Size: 246 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traffic
A traffic simulation.
The simulation is run on the server, with events being streamed to the client. This means that the same simulation can be viewed by multiple clients at the same time.
Uses [Clojure](http://clojure.org), [HTTP Kit](http://http-kit.org), [Backbone](http://backbonejs.org/), [KineticJS](http://kineticjs.com/).
![Screenshot](screenshot.png)
## Usage
Install [leiningen](http://leiningen.org/).
$ lein run
Point your browser to http://localhost:3000/static/index.html. Click and drag to draw/erase roads. Click on the roads to add vehicles.