Circles and lines as parametric functions
$x = h + r\cos t$, $y = k + r\sin t$ traces a circle of radius $r$ about $(h, k)$, and moving a fraction $t$ of the way from one point to another traces the segment between them as $t$ runs from $0$ to $1$.
From AP Precalculus.