Hello everyone, hope you all are fit and fine.
⚠️⚠️⚠️If you are unable to copy the code, then copy whole page.
Watch on YouTube:
from turtle import*
import colorsys
speed(0)
fd(170)
he = 0.8
bgcolor("black")
for i in range(200):
col=colorsys.hsv_to_rgb(he,1,1)
he+=0.004
fillcolor(col)
def triangle(a,b,c):
lt(120)
fd(a-i)
lt(120)
fd(b-i)
lt(90)
fd(c-i)
begin_fill()
triangle(200,200,200)
left(10)
left(20)
left(90)
triangle(200,200,200)
right(93)
end_fill()
hideturtle()
done()
#it is going to be very cool
#design
#please watch till end
Thank you, all.
Comments
Post a Comment