Simple Gravity Simulation Feel free to remix or improve! You can tweak the gravitational constant G to make gravity stronger or weaker.
Made in one day (partially on mobile). Written in OOP. Based on Newton’s law of gravitation: F = G × m₁ × m₂ / r²