See 54 for the math geekery.
Circles can be calculated using either Cartesian coordinates or trigonometry.