joefreeman / traffic

A traffic simulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A traffic simulation.

License:Apache License 2.0


Languages

Language:JavaScript 94.5%Language:Clojure 5.4%Language:CSS 0.1%