Gravity Simulator

A little Newtonian Gravity Sim made with Javascript, with collisions :)

Controls:

  • Left Mouse Button  -  Create New Planet
  • Drag Mouse  -  Set Velocity of New Planet
  • Up Arrow  -  Increase Mass and Radius of New planet
  • Down Arrow  -  Decrease Mass and Radius of New Planet
  • Shift - Slow Time
  • Return/Enter  -  Stop Time
  • Escape  -  Pause sim
  • Backspace/Delete - Clear sim

Have fun!

Leave a comment

Log in with itch.io to leave a comment.