https://github.com/unclebob/clojureorbit
Orbital simulator in Clojure
https://github.com/unclebob/clojureorbit
Last synced: 14 days ago
JSON representation
Orbital simulator in Clojure
- Host: GitHub
- URL: https://github.com/unclebob/clojureorbit
- Owner: unclebob
- Created: 2010-06-02T21:42:00.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2014-05-09T19:27:41.000Z (about 11 years ago)
- Last Synced: 2025-04-05T04:41:19.748Z (3 months ago)
- Language: Clojure
- Homepage:
- Size: 4.6 MB
- Stars: 75
- Watchers: 7
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Simple Orbital Simulator written in Clojure.
Robert C. Martin
2 Jun 2010To run:
java -jar clojureOrbit-standalone.jaror to execute wihout the jar:
java -cp /clojure.jar: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
Center the sun.