Clojure GUI Demo - Uncle Bob's Orbital simulator in Clojure
Clojure Shell
Pull request Compare This branch is 3 commits ahead of LauJensen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README
build.cmd
clojureOrbit.jnlp
clojureOrbit.png
project.clj
repl
repl.sh
run
run.sh
tests
tests.sh

README

-----------------------------------------
You can see the demo here:
http://juliangamble.com/blog/2012/01/23/clojure-gui-demo-of-planetary-orbitals/

This version packages it up for Web Start. 

The point here is to add Java Web start to enable it to be demoed to a wider audience
and promote the Clojure community.

-----------------------------------------


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.

-----------------------------------------