Amazing Graphics Animation Using Python Turtle 💥💥😎🥰 | Python Tutorial
Amazing Graphics Animation Using Python Turtle 💥💥😎🥰 | Python Tutorial
Let's Start
Video Tutorial
You can visit our YouTube channel 'Mr. Code Box' and watch the video tutorial.
Source Code
import turtle as t
import colorsys as cs
t.bgcolor('Black')
t.tracer(10)
hue = 0.0
for i in range(450):
color = cs.hsv_to_rgb(hue,1,1)
t.pencolor(color)
hue+=0.005
t.forward(i)
t.right(160)
for j in range(2):
t.forward(i)
t.right(130)
t.done()
Post a Comment