Orbital simulator in Clojure
Clojure Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README
clojureOrbit-standalone.jar
project.clj
repl
repl.sh
run
run.sh
tests
tests.sh

README

Simple Orbital Simulator written in Clojure.
Robert C. Martin
2 Jun 2010

To run:
  java -jar clojureOrbit-standalone.jar

or to execute wihout the jar:
 java -cp <CLJLIB>/clojure.jar:<CLJLIB>clojure-contrib.jar clojure.main src/orbit/run.clj
       where CLJLIB is the directory that holds the jar files for clojure.

or, with leiningen:

lein deps
lein repl
(load "orbit/run")

Commands:  
  q Quit
  + zoom in
  - zoom out
  t toggle trails
  <space>  Center the sun.