Circle Art
Python Turtles Circle Art
Python Turtles Circle Art
Circle Math
Circle Math
Circumference
Circumference
Diameter
Diameter
Radius
Radius
Basic Pattern
Basic Pattern
import turtle as t
from random import randint,choice
t.bgcolor('black')
t.color('green')
t.pensize(4)
t.speed(100)
cir = 90
for i in range(cir):
t.circle(150)
t.right(19)
Adding Color
Adding Color
import turtle as t
from random import randint,choice
t.bgcolor('black')
t.pensize(4)
t.speed(100)
cir = 90
for i in range(cir):
r = randint(0,255)
g = randint(0,255)
b = randint(0,255)
t.colormode(255)
t.pencolor(r,g,b)
t.circle(150)
t.right(19)
Adding More Circles
Adding More Circles
import turtle as t
from random import randint,choice
t.bgcolor('black')
t.pensize(4)
t.speed(100)
cir = 360
for i in range(cir):
r = randint(0,255)
g = randint(0,255)
b = randint(0,255)
t.colormode(255)
t.pencolor(r,g,b)
t.circle(150)
t.right(19)