Amazing Graphics Animation Using Python Turtle 💥💥😎🥰 | Python Tutorial #shorts #codingshorts
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
t.bgcolor("black") # Mr Code Box
t.tracer(100)
t.pensize(1)
h = 0.5
for i in range(250):
c = colorsys.hsv_to_rgb(h,1,1)
h = 0.0008
t.fillcolor(c)
t.begin_fill()
t.fd(i)
t.lt(100)
t.circle(30)
for j in range(2):
t.fd(i*j)
t.rt(109)
t.end_fill()
t.done()
Post a Comment