Amazing pattern design i made in python turtle module

0


Source code here:-



import turtle
#import colorsys

colors=["skyblue","purple","green"]

p = turtle.Turtle()
p.speed(0)
wn = turtle.Screen().bgcolor("black")

#n=36
#h =0

for i in range(500):
	#c = colorsys.hsv_to_rgb(h, 1, 0.8)
	#h+=1/n
	p.pencolor(colors[i%3])
	p.lt(-1000)
	p.circle(i)

turtle.done()

Post a Comment

0Comments

If you have any doubts, please let me know

Post a Comment (0)