Just a simple gravity simulation in scratch. Formula (for those curious): g = GM(1)M(2)/(r*r) G is the Gravity constant. M(1) is the mass of one object M(2) is the mass of the other object. r is the distance between the objects. Note: The gravity constant is measured in Galileos/Gals
Update Logs: - 2/13/2022 I fixed the formula to use r*r instead of |r*|r (idk why I put abs in the formula). Made 100% by me.