moineau: don't forget to rotate the rotor around the center of the bottom circle. X(\phi) = cos(x)-1