SpaceLikeLoop Geodesick

How it works

[JOEY: Slingshot, 1โ€“2 sentences]

A planet circles a star on a fixed orbit. Each probe you fling feels the pull of both, using softened Newtonian gravity:

๐š=โˆ’GMโ˜…(๐ฑโˆ’๐ฑโ˜…)(|๐ฑโˆ’๐ฑโ˜…|2+ฮตโ˜…2)3/2 โˆ’GMp(๐ฑโˆ’๐ฑp)(|๐ฑโˆ’๐ฑp|2+ฮตp2)3/2

The percentage that appears as a probe leaves compares two speeds at the edge of the field. In: the speed the probe would have there with no planet, from where and how fast you flung it. Out: its real speed when it gets there. Without the planet they match, so the difference is what the planet did. A probe that passes behind the moving planet is pulled along and leaves faster; one that passes in front leaves slower.

A slingshot is a flyby, so a probe can't start inside the dashed ring that appears around the planet while you aim. While you aim, everything runs at a third of its speed; the paths are the same.

A round lasts 60 seconds from your first fling, and points count until the time runs out. The high score table is shared by everyone who plays.

A probe too slow to leave the star on its own has no in speed. If the planet throws it clear, the readout says escaped.

A dashed line marks each near pass, from the planet's centre to the probe, with its length in planet radii; 1 would be touching. When a probe starts or ends on a closed orbit, its result also shows e, the shape of its path around the star ignoring the planet: below 1 an ellipse that stays, 1 or more an escape. The first value is at launch, the second as it leaves. A captured probe shows how long one lap of its orbit around the star would take.

Trail colour is the change in the probe's energy in the star's field: blue lost, pale about the same, amber gained.

slower same faster

What's simplified

Based on Geodesick experiment 0005, Gravitational Slingshot.

Game over

Score0

High scores

    Loop back