Python and Turtle Difficulty Level 5,loop,math,python Drawing Circle with Parametric Equation

Drawing Circle with Parametric Equation

Although there is built in function to draw a circle in Turtle, let’s draw circles in a different way with parametric equation. The parametric equations for a circle is very simple:

x = radius*math.cos(t)
y = radius*math.sin(t)

In the equations above t is the parameter, x, y are the coordinates of the points on the circle. Let t start from 0 and go up to 2π gradually.

Drawing Circle with Parametric Equation with Python Turtle

Related Post