/traffic

A traffic simulation.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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 Kit, Backbone, KineticJS.

Screenshot

Usage

Install leiningen.

$ 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.