Skip to content

adityamkk/planetary-motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

planetary-motion

Simple 2D Planetary Motion Simulation

image

In the section of the script.js file called SETUP, simply uncomment the precreated system you wish to see and comment out the system you want hidden. Or, create your own custom system by pushing stars and planets into the "bodies" array.