A minimal Newtonian gravity and collision simulator in Clojure
Demo rendered with the help of Quil
apply-movement- adjust position according to velocity vectorapply-gravity- applies gravitational forces from each entity to anotherapply-inelastic-collisions- collision strategy to merge entities into one preserving their properties and momentumapply-elastic-collisions- collision strategy to bounce entities that touch with equivalent force
The project uses Leiningen
lein run or lein repl
and
lein test
Eclipse Public Licence 1.0 or any later version.

