from turtle import*
import colorsys
speed(0)
h = 0.8
bgcolor("white")
hideturtle()
for i in range(140):
c = colorsys.hsv_to_rgb(h,1,1)
h+=0.004
fillcolor(c)
begin_fill()
circle(150-i,90)
lt(80)
circle(150-i,80)
rt(40)
circle(130-i,90)
rt(50)
circle(140-i,70)
rt(60)
forward(50)
rt(40)
backward(50)
rt(40)
end_fill()
done()
0 Comments