Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

readme

  • Loading branch information...
commit 7d354ebc9eb3bac027d526434282bc1c13425a79 1 parent a3fee02
unclebob authored

Showing 1 changed file with 7 additions and 21 deletions. Show diff stats Hide diff stats

  1. +7 21 README
28 README
... ... @@ -1,25 +1,11 @@
1   -Simple Orbital Simulator written in Clojure.
2   -Robert C. Martin
3   -2 Jun 2010
  1 +There are 500 objects in "orbit" around the sun. There's just one problem. They don't orbit.
  2 +They just stream away from the sun at a constant velocity.
4 3
5   -To run:
6   - java -jar clojureOrbit-standalone.jar
  4 +This can be fun to watch, especially as the objects collide with each other in the first few
  5 +seconds of the simulation. However, what we really want is for the objects to attract
  6 +each other.
7 7
8   -or to execute wihout the jar:
9   - java -cp <CLJLIB>/clojure.jar:<CLJLIB>clojure-contrib.jar clojure.main src/orbit/run.clj
10   - where CLJLIB is the directory that holds the jar files for clojure.
11   -
12   -or, with leiningen:
13   -
14   -lein deps
15   -lein repl
16   -(load "orbit/run")
17   -
18   -Commands:
19   - q Quit
20   - + zoom in
21   - - zoom out
22   - t toggle trails
23   - <space> Center the sun.
  8 +Notice that there are some tests failing. If you get these tests to pass, you will be close
  9 +to implementing gravity...
24 10
25 11

0 comments on commit 7d354eb

Please sign in to comment.
Something went wrong with that request. Please try again.