Simple newtonian Gravity simulator as a static website, using a html canvas and the Newtonian Gravitation equation.
Go to http://gravity.microhod.com
- Install NodeJS following the instructions on their website.
- Clone this repository
- Run
npm install
in this repository - Run
npm start
and it should be running atlocalhost:8080
Note: you can also debug in vscode. Use the
live server
extension to run the server and then you can debug in vscode using chrome (check they're pointing to the same localhost port).
Note: animation is smoother than it appears, the gif just isn't great