Skip to content

microhod/gravityjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GravityJS

Simple newtonian Gravity simulator as a static website, using a html canvas and the Newtonian Gravitation equation.

Use

Go to http://gravity.microhod.com

Run

  1. Install NodeJS following the instructions on their website.
  2. Clone this repository
  3. Run npm install in this repository
  4. Run npm start and it should be running at localhost: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).

Demo

Note: animation is smoother than it appears, the gif just isn't great

demo

About

Simple newtonian Gravity simulator as a static website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published