Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 473 Bytes
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.