Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files


  • Loading branch information...
commit 7d354ebc9eb3bac027d526434282bc1c13425a79 1 parent a3fee02
unclebob authored
Showing with 7 additions and 21 deletions.
  1. +7 −21 README
@@ -1,25 +1,11 @@
-Simple Orbital Simulator written in Clojure.
-Robert C. Martin
-2 Jun 2010
+There are 500 objects in "orbit" around the sun. There's just one problem. They don't orbit.
+They just stream away from the sun at a constant velocity.
-To run:
- java -jar clojureOrbit-standalone.jar
+This can be fun to watch, especially as the objects collide with each other in the first few
+seconds of the simulation. However, what we really want is for the objects to attract
+each other.
-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")
- q Quit
- + zoom in
- - zoom out
- t toggle trails
- <space> Center the sun.
+Notice that there are some tests failing. If you get these tests to pass, you will be close
+to implementing gravity...
Please sign in to comment.
Something went wrong with that request. Please try again.