Wikipedia article for cardioid gives a brief proof of parametric Equation Of Cardioid using Complex numbers for representing rotations as following :
Assuming one circle is fixed at $(-a,0)$ and the rotating one starts from $(a,0)$ . It is given Rotation around point $a$
$z \rightarrow a+(z-a)e^{i\phi}$
Rotation around point $-a$
$z \rightarrow -a+(z+a)e^{i\phi}$
Then composing one after another taking $z=0$ as starting point.
Can anyone clarify a bit more, where this $a+(z-a)e^{i\phi}$ came from ? I just know rotating by angle $\phi$ is same as multiplying $e^{i\phi}$, but looking at picture of cardioid, it's not a pure rotation, there is some scaling involved depending upon where you are !
Any kind of help is highly appreciated.
The Wikipedia page is trying to say that a point on the cardioid can be expressed as two successive "shift, rotation, and shift back" sequences, operating on the origin, $z = 0$, as the starting point, without the need for a scaling operation.
Breaking things down: