This is a simulation of the a gear mechanism found within the antikythera device. A pin in one gear drives a gear with a slot. When the axis of the slotted gear is offset, you can see that the rotation of the slotted gear would have to speed up and slow down to stay with the pin. This mechanism simulates the moon in it's elliptical orbit.

NOTE: This animation is best viewed in Firefox or Google Chrome.