We can write any point on the circle as $(r\cos\theta,r\sin\theta$), Can we do samething for the ellipse?

We can write any point on the circle as $(r\cos\theta,r\sin\theta$), Can we do samething for the ellipse?

A point on the ellipse is typically represented as $(a \cos(\theta), b \sin(\theta))$, where $a$ is the length of the semi-major (typically $X$) axis and $b$ is the length of the semi-minor (typically $Y$) axis. If you want to write the equation in polar form, then we have $$r = a \sqrt{1-e^2 \sin^2(\theta)}$$ where $e$ is the eccentricity defined as $e = \sqrt{1-\left(\dfrac{b}a \right)^2}$, where $b \leq a$.
The parametrization of ellipse:
$$ \begin{cases} x=a\cos\theta, \\ y=b\sin\theta. \end{cases} $$
For the circle $a=b=r$.
With $a$ the major and $b$ the minor semiaxis, you get $(a\cos\theta,b\sin\theta)$ for your orientation. A rotated ellipse will be a bit harder, for this I'd compute the point in its unoriented form and then rotate afterwards. Note that the angle $\theta$ in the above is a parameter, but is not actually the angle as it is in the circular case.