making SNOWMAN ☃️ using python turtle

Publié le: 12 février 2022
sur la chaîne: PYTHON WORLD
315
6

here is code



from turtle import *

speed(0)
setup(800, 700)

Blue Background
penup()
goto(0, -320)
pendown()
color("lightskyblue")
begin_fill()
circle(320)
end_fill()

Bottom of body
penup()
goto(0, -280)
pendown()
color("white")
begin_fill()
circle(110)
end_fill()

Middle of body
penup()
goto(0, -110)
pendown()
begin_fill()
circle(90)
end_fill()

Head of Snowman
penup()
goto(0, 20)
pendown()
begin_fill()
circle(70)
end_fill()

Function to draw 1 small black circle
def black_circle():
color("black")
begin_fill()
circle(10)
end_fill()

Eyes
x = -20
for i in range(2):
penup()
goto(x, 110)
pendown()
black_circle()
x = x + 40

Buttons
y = 0
for i in range(5):
penup()
goto(0, y)
pendown()
black_circle()
y = y - 55

Mouth
penup()
goto(0,70)
pendown()
color("red")
begin_fill()
circle(17)
end_fill()

penup()
goto(0,75)
pendown()
color("white")
begin_fill()
circle(17)
end_fill()

Right Arm
penup()
goto(75, 0)
pendown()
color("brown")
begin_fill()
left(40)
for i in range(2):
forward(75)
left(90)
forward(7)
left(90)
end_fill()

Right Finger 1
penup()
goto(115, 38)
pendown()
begin_fill()
left(40)
for i in range(2):
forward(25)
left(90)
forward(5)
left(90)
end_fill()

Right Finger 2
begin_fill()
right(100)
for i in range(2):
forward(25)
left(90)
forward(5)
left(90)
end_fill()

Left Arm
penup()
goto(-130, 50)
pendown()
begin_fill()
right(10)
for i in range(2):
forward(75)
right(90)
forward(7)
right(90)
end_fill()

Left Finger 1
penup()
goto(-112, 58)
pendown()
begin_fill()
right(40)
for i in range(2):
forward(25)
right(90)
forward(5)
right(90)
end_fill()

Left Finger 2
begin_fill()
right(100)
penup()
goto(-108, 31)
pendown()
for i in range(2):
forward(25)
right(90)
forward(5)
right(90)
end_fill()

Hat
penup()
goto(50, 150)
pendown()
color("black")
begin_fill()
right(10)
forward(100)
right(90)
forward(10)
right(90)
forward(20)
left(90)
forward(45)
right(90)
forward(60)
right(90)
forward(45)
left(90)
forward(20)
right(90)
end_fill()

Text on Screen
penup()
goto(-130, 230)
pendown()
color("red")


hideturtle()



#shorts #trending #shortsvideo #coding #python #youtubeshorts #design #instagram #viralvideo #viral #viralshorts #vlog #subscribe #gaming #garenafreefire #like #logo #asmr #art #apex #reels #remix #usa #python #pubg #whatsapp #1vs4 #quiz


Sur cette page du site, vous pouvez voir la vidéo en ligne making SNOWMAN ☃️ using python turtle durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur PYTHON WORLD 12 février 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 315 fois et il a aimé 6 téléspectateurs. Bon visionnage!