Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simulation of the Solar System written in Coffeescript

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Gravity (for a lack of a better name)

Gravity is really just a simulation of the Solar System written in CoffeeScript for canvas in modern browsers.

Since it relies on requestAnimationFrame it will not work in anything else than Mozilla Firefox >=4.0, Google Chrome >=10.0 and Microsoft Internet Explorer >=10.0.

It is heavily inspired from http://www.arachnoid.com/ruby/gravity/index.html - which is also where I have the planetary data from.

If you want to run it, just clone this repo, run bundle install in the dir, run the server with rackup and point your browser to http://localhost:9292/

License

"THE BEER-WARE LICENSE" (Revision 42): Rasmus Bang Grouleff (rasmus@nerdd.dk) wrote this. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Rasmus Bang Grouleff

Something went wrong with that request. Please try again.