The modelling for the movement was simple: The Moon rotated on a cycle, whose center was itself rotating on a cycle centered at Earth (see [2] from [1],) but the part of the antikythera mechanism that was devised to simulate this was purely brilliant!