let the simulation run. It's very buggy because I have no idea how to properly do it. Gravity slider controls gravity. You can drag either of the objects.
all code is mine.