# Is it possible to generate a circle with a Bezier curve?

I am designing an algorithm that generates shapes of bezier curves. Each output are control points for a single curve.

In some cases, it should return a circle. Which control points does the algorithm have to output for the shape to become a circle?

-
Closely related to these two questions: math.stackexchange.com/questions/271319/… and math.stackexchange.com/questions/449035/… –  bubba Apr 17 '14 at 6:28

However, drawing the circle using rational bezier curves is quite easy, as I recall. Take the points $(1,0)$, $(1,1)$ and $(0,1)$ and weights $1,\frac{\sqrt2}{2}, 1$ (I'm not sure, the middle weight may also be $\sqrt2$) and you get a circle.