turtle graphics design
download pydroid 3 app
from turtle import *
import colorsys
bgcolor('black')
hideturtle()
speed(0)
hue = 0.0
for i in range(210):
color = colorsys.hsv_to_rgb(hue,1,1)
pencolor(color)
hue+=0.005
fd(i)
circle(30)
left(10)
rt(40)
fd(20)
done()
Comments
Post a Comment