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()
from turtle import*
speed(1)
bgcolor('black')
penup()
goto(-50,60)
pendown()
color('#00adef')
begin_fill()
goto(100,100)
goto(100,-100)
goto(-50,-60)
goto(-50,60)
end_fill()
color('black')
goto(15,100)
color('black')
width(10)
goto(15,-100)
penup()
goto(100,0)
pendown()
goto(-100,0)
done()
speed(1)
bgcolor('black')
penup()
goto(-50,60)
pendown()
color('#00adef')
begin_fill()
goto(100,100)
goto(100,-100)
goto(-50,-60)
goto(-50,60)
end_fill()
color('black')
goto(15,100)
color('black')
width(10)
goto(15,-100)
penup()
goto(100,0)
pendown()
goto(-100,0)
done()
import turtle
import colorsys
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
t.pensize(3)
n = 36
h = 0
for i in range(250):
color = colorsys.hsv_to_rgb(h, 1, 0.8)
t.pencolor(color)
h+= 1/n
t.right(i)
t.circle(55, i)
t.forward(i)
t.left(91)
import colorsys
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
t.pensize(3)
n = 36
h = 0
for i in range(250):
color = colorsys.hsv_to_rgb(h, 1, 0.8)
t.pencolor(color)
h+= 1/n
t.right(i)
t.circle(55, i)
t.forward(i)
t.left(91)
👍1
