Antikythera mechanism figured out eclipses

The Greeks had relatively complex clockwork technology thousands of years before it was matched again by Europeans, and one of these complex mechanisms was the Antikythera mechanism that scientists now believe was for calculating eclipses.