Draw Santa's hat


You also change some values and coordinates in the below code such as the color of the Santa Claus hat or background color to create a Santa's hat in your unique style!
Start coding it now!

 

from turtle import *

speed(0)

# background
penup()
goto(0, -300)
pendown()
color("green")
begin_fill()
circle(300)
end_fill()

# red part of the hat
penup()
goto(-120, -60)
pendown()
color("red")
begin_fill()
for i in range(3):
    forward(250)
    left(120)
end_fill()

# pom pom
penup()
goto(5, 140)
pendown()
color("white")
begin_fill()
circle(20)
end_fill()

# trim on hat
penup()
goto(-105, -80)
pendown()
begin_fill()
for i in range(12):
    circle(20)
    penup()
    forward(20)
    pendown()
end_fill()

# message
penup()
goto(-150, -200)
pendown()

hideturtle()

Comments