Ancient perceptions of lunar eclipses weren’t as primitive as one might think. Some rigorous math was applied to these cosmic events that shaped our understanding of the solar system.