This simulation shows three identical stars that follow each other around in a figure of eight pattern. It is very similar to the middle-right example at:
You can run the simulation to see how the three stars move, and edit one or more of the stars to see what effect your changes have. Since different computers run at different speeds, you may need to edit the evolution time step to get the simulation to run at an acceptable rate.
There's lots of information about metastability in the evolution of triple systems at:
Copyright © 2005-2022, AstroGrav Astronomy Software