Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Orbital simulator in Clojure
Clojure Shell
Branch: master
Failed to load latest commit information.
src vector/position defrecord ^double
.gitignore ^double mass for object
README added trails
clojureOrbit-standalone.jar Got uberjar working for leiningen
project.clj update for Clojure 1.6
repl cleanup
repl.sh New fading trails
run cleanup
run.sh Got tests to pass again.
tests cleanup
tests.sh Got tests to pass again.

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.


Something went wrong with that request. Please try again.