turtle graphics design in Python .

 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,100)
	lt(80)
	circle(140-i,90)
	end_fill()
done()

Post a Comment

0 Comments