This animation illustrates the zigzag function used in ancient Babylonian astronomy to predict the conjunctions of the Moon and the Sun (i.e. synodic periods in a lunisolar calendar). The material is sourced from The Exact Sciences in Antiquity by O. Neugebauer.