I'm working on a visual simulator for the $n$-body problem in the plane (here). The goal is to show how complex behavior can arise from the simple inverse-square law of gravity.
To that end, I want to showcase cool stable orbits. I have three of them already:
- moving planet around fixed star
- moving stars orbiting each other
- moving planet on a straight line between two starts
What other simple orbits are there? I'm allowing myself to fix some bodies in place, in order to emulate the real-world situation where one body is much more massive than another.
All answers are appreciated, but I'd especially appreciate pictures and information on how to construct the orbits (initial velocities and positions).



A Lagrange point relative to the positions of two massive objects is a third point with the property that a small object moving under the gravitational influence of the others remains in relative equilibrium. The following image (taken from Wikipedia and licensed under CC) shows the five Lagrange points in a Sun-Earth like system, together with contours of the associated potential:
As the image indicates, there are five Lagrange points labeled $L_1$ through $L_5$. The first three are unstable while the last two are generally stable. Thus, we can see three bodies moving under gravity that maintain their relative positions on a triangle. The size of that triangle can change, but not it's shape. The degree of that stability depends on the relative masses, however.
One specific set of initial conditions in the plane with a gravitational constant of $G=1$ illustrating this type of orbit is given by:
The evolution of this configuration looks like so:
I think this system would make a great illustration of chaos because the masses have been chosen so that we don't have to deviate very much before things go haywire. If we move the position of the small object just slightly to the left, from $x=0.5$ to $x=0.48$, we obtain the following evolution:
Another very cool point to make in a presentation concerning Lagrange points is that they can be observed in nature. There is, supposedly, a huge amount of space debris located at the Sun/Jupyter $L_4$ and $L_5$ points.
A second type of fun illustration is simply animation from a random initial configuration. That it, pick $n$ initial masses and place them at $n$ initial locations. One could also pick $n$ initial velocities, though that get's trickier, since the overall picture has non-trivial momentum.
Here, for example, is the evolution of 5 random point masses at 5 random locations: