Gravity Sandbox

A simple, chaotic gravity simulator

View Demo · Report Bug · Request Feature

Gravity sandbox is a simple gravity simulator based on Newton’s law of universal gravitation.

It’s a web-based simulation so no need to install anything, just visit the website to play the game


  • To play and pause
  • To Pan/Place Mode
  • To clear the canvas


  • Add follow the body feature
  • Add saving and loading feature
  • Add interesting simulations to load
  • Add merge bodies on collition option
  • Make this into a PWA


View Github