Drawing circles with computers is a lost art.
Very early graphical CRT's had the ability to draw arcs. The parameters included radius, initial direction, arc length (angle of arc), and I think the rate of chane on the radius, but since those early days, it was decided to draw everything on screens and plotters by using straight line segments. The commands to draw arcs were dropped on later graphical screens and plotters.
I'm not sure why this was done. Plotters had the hardware to be able to draw arcs, just no means of instructing them to do this. Would have greatly sped up the time it took to plot curves.
The old electronic analog computers (differential equation solvers) also had displays that could draw arcs. If a shape could be described as a differential equation, the analog computer could draw it (or at least a portion of it, limited range, like -100 volts to +100 volts).
To generate a sine or cosine wave, you just fed -x into 2nd derivative of x (x double dot), and setup initial parameters (for x (position) and x dot (slope)), then let the analog computer run. Use a cosine wave to drive x, and a sine wave to drive y, on the CRT and you got a circle drawn on the CRT. IIRC, there was a program to let you apply forces to a satellite orbiting around a planet in a 2d world. You could rotate the satellite and fire rockets, which changed the shape of the orbit (including transitioning into a hyperbola). Sort of a pre-cursor to the lunar lander programs.
Nowdays, numerical integration is used instead. Analog computing is a lost art. I'm 52 years old and just barely had a brief encounter with an analog computer, and only because the college I went to had kept their ancient beast up and running at the time.