The projection of the (two-dimensional) uniform circular motion of an object onto a (one-dimensional) axis is an exact mathematical analog to simple harmonic motion. Uniform circular motion is identical to rotation about an axis with constant angular velocity, $\omega$. You can see the details of this connection, e.g., in pp 2-5 of these notes.