Skip to content

siddharthroy12/Gravity-Sandbox

Repository files navigation

Logo

Gravity Sandbox

A simple, chaotic gravity simulator

View Demo · Report Bug · Request Feature

Screenshot

Gravity Sandbox is a fun toy/game where you can play with Newtonian Gravity. Place heavy objects in patterns and see interesting results.

It's a web app so no need to install anything, just visit the website to play the game

Controls

On the left side, there are 5 buttons for Play/Pause, Place Mode, Pan Mode, Selection Mode, Clear All, and Load Presets.

On the right side, the Mass and Color properties are for new bodies and Speed and Gravity are for simulation.

Shortcuts

  • Pause/Play: space
  • Place Mode: p
  • Pan Mode: h
  • Selection Mode: s
  • Clear All: c
  • Undo: CTRL + Z
  • Redo: CTRL + Y
  • Delete Selection: delete
  • New File: CTRL + M
  • Save File: CTRL + S

About

A fun toy/game where you can play with Newtonian Gravity. Place heavy objects in patterns and see interesting results.Chaotic gravity simulator

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published