https://instagram.com/learning_code_?utm_medium=copy_link
Follow instagram for more videos
Follow instagram for more videos
Forwarded from Learning CoDe....Java, Python, Computer Shortcuts
YouTube
Python Turtle Animation - 2
In this video, you will learn about how to create a simple design in python using python turtle.
Python turtle circle - https://youtu.be/tYPyqnv4bGU
Python turtle flower - https://youtu.be/uOjj4MFfyfk
Follow Instagram - https://instagram.com/computerkn…
Python turtle circle - https://youtu.be/tYPyqnv4bGU
Python turtle flower - https://youtu.be/uOjj4MFfyfk
Follow Instagram - https://instagram.com/computerkn…
Python Learning ... pinned «https://instagram.com/learning_code_?utm_medium=copy_link Follow instagram for more videos»
import turtle
import colorsys
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
n = 36
h = 0
for i in range(360):
c = colorsys.hsv_to_rgb(h, 1, 0.8)
h+= 1/n
t.color(c)
t.circle(120)
t.left(10)
import colorsys
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
n = 36
h = 0
for i in range(360):
c = colorsys.hsv_to_rgb(h, 1, 0.8)
h+= 1/n
t.color(c)
t.circle(120)
t.left(10)
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
for i in range(180):
t.pencolor('silver')
t.circle(-i+10, 200)
t.rt(120)
turtle.done()
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
for i in range(180):
t.pencolor('silver')
t.circle(-i+10, 200)
t.rt(120)
turtle.done()
