Adding a third celestial body to a gravitational system makes things wildly chaotic and unpredictable. Hence the 'Three Body Problem'. Some beautiful examples of periodic 3-body systems:

(via instagram user data__is__beautiful)

@infobeautiful Maybe related: double pendulums

https://youtu.be/dtjb2OhEQcU

Double Pendulums are Chaoticn't

YouTube