By Lawrence
5 minutes
5 minutes
Mass Pulls
Our planet is a pretty blue ball that does nothing. Time to give it some pull.
Newton's pull
Every mass pulls on everything else. The pull gets weaker with distance, and fast: go twice as far and it drops to a quarter. That is Newton's inverse-square law.

In numbers, a mass M pulls with GM/r², where r is the distance to its centre. The game sets G to 1, so a mass's mass field is its whole pull. For our planet, with mass 1100:
Pulls from several masses just add up.
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.
$9one-time
=