Python Turtle Graphics

On this page you can find list of project from GAHS students

Project description: create spooky image using Python and Turtle Graphics

2024-2025
Mariam
    
        import turtle

        def draw_circle(color, radius, x, y):
        turtle.penup()
        turtle.goto(x, y)
        turtle.pendown()
        turtle.fillcolor(color)
        turtle.begin_fill()
        turtle.circle(radius)
        turtle.end_fill()


        def draw_right_leg(x,y):
        p = turtle.Turtle()
        p.goto(x,y)
        p.forward(45) # Length of the leg
        p.right(70) # Adjust angle for the next leg
        p.forward(50) # Return to the starting point
        p.penup()
        p.backward(50)
        p.left(70)
        p.backward(45)
        p.right(90)
        p.forward(40)
        p.pendown()

        def draw_left_leg(x,y):
        p = turtle.Turtle()
        p.setheading(180)
        p.goto(x,y)
        p.forward(45) # Length of the leg
        p.left(70) # Adjust angle for the next leg
        p.forward(50) # Return to the starting point
        p.penup()
        p.backward(50)
        p.right(70)
        p.backward(45)
        p.left(90)
        p.forward(40)
        p.pendown()

        def draw_spider():
        # Draw body and head
        draw_circle('black', 50, 0, -50) # Main body


        # Draw eyes
        draw_circle('pink', 10, -10, 10) # Left eye
        draw_circle('light blue', 10, 10, 10) # Right eye

        # Draw legs
        legs = 8

        turtle.left(30)
        for y in range(0,4):
        draw_right_leg(100, y*10)
        draw_left_leg(-100,-y*10)
        # turtle.penup()




        # Set up the screen
        turtle.speed(3)
        turtle.bgcolor('pink')

        # Draw the spider
        draw_spider()

        # Finish
        turtle.hideturtle()
        turtle.done()
    
Nikolas
    
        import turtle

        def draw_cobweb():
        turtle.speed(0.1) # Fastest drawing speed
        turtle.bgcolor("black")
        turtle.pensize(2)
        turtle.color("white")

        # Draw the concentric circles
        for radius in range(20, 200, 20):
        turtle.penup()
        turtle.goto(0, -radius)
        turtle.pendown()
        turtle.circle(radius)

        # Draw the spokes
        for angle in range(0, 360, 15):
        turtle.penup()
        turtle.goto(0, 0)
        turtle.setheading(angle)
        turtle.pendown()
        turtle.forward(200)

        turtle.hideturtle()

        def draw_spider(x, y):
        turtle.penup()
        turtle.goto(x, y) # Position the spider
        turtle.pendown()
        turtle.color("#ff0000") # Spider color

        # Draw a bigger spider body
        turtle.begin_fill()
        turtle.circle(15) # Bigger spider body
        turtle.end_fill()

        # Draw bigger spider legs
        for angle in range(0, 360, 45): # 8 legs
        turtle.penup()
        turtle.goto(x, y)
        turtle.setheading(angle)
        turtle.pendown()
        turtle.forward(30) # Longer legs

        turtle.hideturtle()

        # Setup the window size
        turtle.setup(width=1920, height=1080)

        # Draw the cobweb and spider
        draw_cobweb()
        draw_spider(0, -10) # Position the spider in the center

        turtle.done()

    
Elizabeth
    
        import turtle as t

        # define turtle speed
        t.speed(0)

        # radical thread
        for i in range(6):
        t.forward(100)
        t.backward(100)
        t.right(60)

        # spiral thread length
        side = 50

        # Spider web color
        t.fillcolor("white")

        # building web
        t.begin_fill()

        for i in range(15):
        t.penup()
        t.goto(0, 0)
        t.pendown()
        t.setheading(0)
        t.forward(side)
        t.right(120)

        for j in range(6):
        t.forward(side-2)
        t.right(60)
        side = side - 10


        t.end_fill()
        t.done()

    
Simone
    
        import turtle

        def draw_star(size):
        for _ in range(5):
        turtle.forward(size)
        turtle.right(144)

        def draw_mandala_star(radius, star_size):
        for _ in range(9): # Number of stars in the mandala
        draw_star(star_size)
        turtle.penup()
        turtle.forward(radius) # Move outwards to position for the next star
        turtle.pendown()
        draw_star(star_size)
        turtle.penup()
        turtle.backward(radius) # Move back to the center
        turtle.right(40) # Rotate to the next position (360/9 = 40 degrees)
        turtle.pendown()

        def main():
        turtle.bgcolor("black") # Set background color to black
        turtle.speed(3) # Set the speed of the turtle
        turtle.color("red") # Change star color for better visibility against black

        turtle.penup()
        turtle.goto(0, 0) # Start at the center
        turtle.pendown()

        draw_mandala_star(100, 30) # Draw the mandala of stars

        turtle.hideturtle() # Hide the turtle
        turtle.done() # Finish the drawing

        if __name__ == "__main__":
        main()
    
Gregory
    
        import turtle
        import time


        window = turtle.Screen()
        window.bgcolor("black")


        circle1 = turtle.Turtle()
        circle1.hideturtle()
        circle1.goto(-40, 0)
        circle1.color("dark orange")
        circle1.dot(250)

        circle2 = turtle.Turtle()
        circle2.hideturtle()
        circle2.goto(40, 0)
        circle2.color("dark orange")
        circle2.dot(250)


        pumpkin = turtle.Turtle()
        pumpkin.hideturtle()
        pumpkin.color("orange")
        pumpkin.dot(250)


        carver = turtle.Turtle()


        carver.penup()
        carver.setposition(-200, -100)
        carver.pensize(50)
        carver.pendown()
        carver.forward(600)
        carver.pensize(2)

        def carver_pumpkin(color):
        carver.color(color)


        def make_eye(start, orientation):
        carver.setheading(0)
        carver.penup()
        carver.setposition(*start)
        carver.pendown()
        carver.begin_fill()
        carver.forward(orientation * 40)
        carver.setheading(orientation * 135)
        carver.forward(orientation * 70)
        carver.end_fill()

        make_eye((-50, 20), 1)
        make_eye((50, 20), -1)


        carver.penup()
        carver.setposition(-50, -30)
        carver.setheading(45)
        carver.pendown()
        carver.pensize(1)
        carver.begin_fill()
        for _ in range(5):
        carver.forward(15)
        carver.right(90)
        carver.forward(15)
        carver.left(90)
        carver.setheading(260)
        carver.forward(20)
        carver.setheading(180)
        carver.forward(99)
        carver.end_fill()


        carver.penup()
        carver.setposition(0, 0)
        carver.setheading(90)
        carver.shape("triangle")
        carver.stamp()


        carver_pumpkin("black")


        text = turtle.Turtle()
        text.hideturtle()
        text.color("orange")
        text.penup()
        text.sety(175)
        text.write("Witching you a Happy Halloween!", font=("Trattatello", 40, "bold"), align="center")


        window.tracer(0)
        start = time.time()
        count = 0
        colors = ["yellow", "black"]

        while True:
        if time.time() - start > 1:
        carver_pumpkin(colors[count % 2])
        window.update()
        count += 1
        start = time.time()

        turtle.done()
    
Tamara
    
        import turtle
        turtle.speed(0)
        turtle.bgcolor("black")

        def draw_pumpkin():
        turtle.color("#FF4500")

        # Draw the pumpkin body
        turtle.begin_fill()
        turtle.circle(100)
        turtle.end_fill()

        turtle.begin_fill()
        turtle.penup()
        turtle.backward(70)
        turtle.pendown()
        turtle.circle(100)
        turtle.end_fill()

        turtle.begin_fill()
        turtle.penup()
        turtle.backward(50)
        turtle.pendown()
        turtle.circle(100)
        turtle.end_fill()

        def eye(x,y, color):
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.color(color)
        for _ in range(3):
        turtle.forward(50)
        turtle.right(-120)
        turtle.end_fill()






        # Draw the mouth
        def mouth1(x,y, color):
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.color(color)
        for _ in range(3):
        turtle.forward(35)
        turtle.right(-120)
        turtle.end_fill()

        def mouth2(x,y, color):
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.color(color)
        for _ in range(3):
        turtle.forward(35)
        turtle.right(120)
        turtle.end_fill()


        def draw_face():
        eye(-150,110, 'black')
        eye(-20, 110, 'black')
        mouth1(-155,50, "black")
        mouth2(-145,55, "black")
        mouth1(-135,50, "black")
        mouth2(-125,55, "black")
        mouth1(-115,50, "black")
        mouth2(-105,55, "black")
        mouth1(-95,50, "black")
        mouth2(-85,55, "black")
        mouth1(-75,50, "black")
        mouth2(-65,55, "black")
        mouth1(-55,50, "black")
        mouth2(-45,55, "black")
        mouth1(-35,50, "black")
        mouth2(-25,55, "black")
        mouth1(-15,50, "black")



        def main():
        turtle.title("Scary Pumpkin")
        draw_pumpkin()
        draw_face()

        # draw_triangle()
        turtle.hideturtle()
        turtle.done()

        if __name__ == "__main__":
        main()

    
Evelina
    
        import turtle

        bat = turtle.Turtle()

        bat.speed(0)

        bat.turtlesize(1, 1, 1)
        bat.pensize(3)

        wn = turtle.Screen()
        wn.bgcolor("blue")


        bat.color("black", "black")


        bat.begin_fill()

        bat.left(90)
        bat.circle(50, 85)
        bat.circle(15, 110)
        bat.right(180)


        bat.circle(30, 150)
        bat.right(5)
        bat.forward(10)


        bat.right(90)
        bat.circle(-70, 140)
        bat.forward(40)
        bat.right(110)

        bat.circle(100, 30)
        bat.circle(30, 100)
        bat.left(50)
        bat.forward(50)
        bat.right(145)

        bat.forward(30)
        bat.left(55)
        bat.forward(10)


        bat.forward(10)
        bat.left(55)
        bat.forward(30)


        bat.right(145)
        bat.forward(50)
        bat.left(50)
        bat.circle(30, 100)
        bat.circle(100, 30)


        bat.right(90)
        bat.right(20)
        bat.forward(40)
        bat.circle(-70, 140)

        bat.right(90)
        bat.forward(10)
        bat.right(5)
        bat.circle(30, 150)


        bat.left(180)
        bat.circle(15, 110)
        bat.circle(50, 85)

        bat.up()
        bat.goto(0, -200)
        bat.down()
        bat.begin_fill()
        bat.circle(200)
        bat.end_fill()


        bat.up()
        bat.goto(60, -130)
        bat.color("blue")
        bat.down()
        bat.begin_fill()
        bat.circle(250)
        bat.end_fill()


        bat.hideturtle()

        turtle.done()

    
Alexey
    
        import turtle
        import time

        t = turtle.Pen()
        turtle.Screen().bgcolor("black")
        turtle.colormode(255)

        t.up()
        t.speed(0)

        def circle(r, g, b, size):
        t.color(int(r), int(g), int(b))
        t.begin_fill()
        t.down()
        t.circle(int(size))
        t.end_fill()
        t.up()

        t.sety(-150)
        t.setx(65)
        circle(210, 115, 5, 210)
        t.setx(-65)
        circle(210, 115, 5, 210)
        t.setx(0)
        circle(220, 120, 5, 208)

        def triangle(r, g, b, size):
        t.color(int(r), int(g), int(b))
        t.down()
        t.begin_fill()
        t.circle(size, None, 3)
        t.end_fill()
        t.up()

        t.setpos(-80, 70)
        t.right(5)
        triangle(0, 0, 0, 50)
        t.setpos(85, 68)
        t.left(15)
        triangle(0, 0, 0, 45)

        t.home()

        t.right(190)

        for n in range(10):
        xcord = (n - 5) * 20
        ycord = ((n - 5) ** 2) / 2 - 30
        t.setpos(xcord, ycord)
        t.left(2)
        triangle(0, 0, 0, 35)

        t.home()
        t.setpos(0, 20)
        triangle(0, 0, 0, 30)

        number = 0

        while True:
        number = number + 1
        if number == 100:
        for a in range(100):
        number = number - 1
        turtle.bgcolor(number, number, number)
        time.sleep(0.02)
        else:
        turtle.bgcolor(number, number, number)
        time.sleep(0.01)

        turtle.done()
    
Sofia


        import turtle
        turtle.speed(0)
        turtle.bgcolor("black")

        def draw_pumpkin():
        turtle.color("#FF4500")

        # Draw the pumpkin body
        turtle.begin_fill()
        turtle.circle(100)
        turtle.end_fill()

        turtle.begin_fill()
        turtle.penup()
        turtle.backward(70)
        turtle.pendown()
        turtle.circle(100)
        turtle.end_fill()

        turtle.begin_fill()
        turtle.penup()
        turtle.backward(50)
        turtle.pendown()
        turtle.circle(100)
        turtle.end_fill()

        def eye(x,y, color):
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.color(color)
        for _ in range(3):
        turtle.forward(50)
        turtle.right(-120)
        turtle.end_fill()






        # Draw the mouth
        def mouth1(x,y, color):
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.color(color)
        for _ in range(3):
        turtle.forward(35)
        turtle.right(-120)
        turtle.end_fill()

        def mouth2(x,y, color):
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.color(color)
        for _ in range(3):
        turtle.forward(35)
        turtle.right(120)
        turtle.end_fill()


        def draw_face():
        eye(-150,110, 'black')
        eye(-20, 110, 'black')
        mouth1(-155,50, "black")
        mouth2(-145,55, "black")
        mouth1(-135,50, "black")
        mouth2(-125,55, "black")
        mouth1(-115,50, "black")
        mouth2(-105,55, "black")
        mouth1(-95,50, "black")
        mouth2(-85,55, "black")
        mouth1(-75,50, "black")
        mouth2(-65,55, "black")
        mouth1(-55,50, "black")
        mouth2(-45,55, "black")
        mouth1(-35,50, "black")
        mouth2(-25,55, "black")
        mouth1(-15,50, "black")



        def main():
        turtle.title("Scary Pumpkin")
        draw_pumpkin()
        draw_face()

        # draw_triangle()
        turtle.hideturtle()
        turtle.done()

        if __name__ == "__main__":
        main()


    
Elina
    
        import turtle

        def draw_head():
        turtle.speed(0)
        turtle.bgcolor("#8FE79B")
        turtle.color("#ffde0c")
        turtle.goto(100,-10)
        turtle.begin_fill()
        turtle.circle(100)
        turtle.end_fill()

        def draw_eyes():
        turtle.speed(0)
        turtle.color("white")
        turtle.penup()
        turtle.goto(150,80)
        turtle.pendown()
        turtle.begin_fill()
        turtle.circle(25)
        turtle.end_fill()

        turtle.speed(0)
        turtle.color("white")
        turtle.penup()
        turtle.goto(50,80)
        turtle.pendown()
        turtle.begin_fill()
        turtle.circle(25)
        turtle.end_fill()

        turtle.speed(0)
        turtle.color("black")
        turtle.penup()
        turtle.goto(150,80)
        turtle.pendown()
        turtle.begin_fill()
        turtle.circle(20)
        turtle.end_fill()

        turtle.speed(0)
        turtle.color("black")
        turtle.penup()
        turtle.goto(50,80)
        turtle.pendown()
        turtle.begin_fill()
        turtle.circle(20)
        turtle.end_fill()

        def draw_nose():
        turtle.speed(0)
        turtle.fillcolor('black')
        turtle.penup()
        turtle.goto(90,70)
        turtle.pendown()
        turtle.begin_fill()
        for _ in range(3):
        turtle.forward(20)
        turtle.right(120)
        turtle.end_fill()

        def draw_mouth():
        turtle.speed(0)
        turtle.color('black')
        turtle.penup()
        turtle.goto(100,55)
        turtle.pendown()
        turtle.begin_fill()
        for _ in range(1):
        turtle.forward(50)
        turtle.right(180)
        turtle.end_fill()

        turtle.speed(0)
        turtle.fillcolor('black')
        turtle.penup()
        turtle.goto(100,55)
        turtle.pendown()
        turtle.begin_fill()
        for _ in range(1):
        turtle.forward(50)
        turtle.left(80)
        turtle.end_fill()

        def draw_tooth(x,y, t):
        t.speed(0)
        t.fillcolor('white')
        t.penup()
        t.goto(x,y)
        t.pendown()
        t.begin_fill()
        for _ in range(3):
        t.forward(20)
        t.right(120)
        t.end_fill()
        t.hideturtle()



        def draw_ear(x,y):
        turtle.speed(0)
        turtle.color("#ffde0c")
        turtle.penup()
        turtle.goto(x,y)
        turtle.pendown()
        turtle.begin_fill()
        turtle.circle(23)
        turtle.end_fill()

        def draw_hair():
        turtle.speed(0)
        turtle.color("#FFBF00")
        turtle.begin_fill()
        turtle.circle(100)
        turtle.end_fill()

        def draw_mandala(repeats, size):
        for i in range(repeats):
        draw_hair()

        turtle.right(360 / repeats)

        def main():
        turtle.title("lion")
        turtle.penup()
        turtle.goto(100, 100)
        turtle.pendown()
        draw_mandala(8, 50)
        draw_head()
        draw_eyes()
        draw_nose()
        draw_mouth()
        bob = turtle.Turtle()
        draw_tooth(58,55, bob)
        draw_tooth(120,55, bob)
        draw_ear(155,175)
        draw_ear(5,175)

        turtle.hideturtle()
        turtle.done()

        if __name__ == "__main__":
        main()
    
Ksenia
    
        import time
        import turtle

        window = turtle.Screen()
        window.bgcolor("black")

        # Whole pumpkin
        pumpkin = turtle.Turtle()
        pumpkin.hideturtle()
        pumpkin.color("orange")
        pumpkin.dot(200)

        # The turtle to "carve" the pumpkin
        pum = turtle.Turtle()

        # "Flatten" the lower part of the pumpkin
        pum.penup()
        pum.setposition(-200, -100)
        pum.pensize(60)
        pum.pendown()
        pum.forward(600)
        pum.pensize(2)

        def carve_pumpkin(colour):
        pum.color(colour)

        # Make eyes
        def make_eye(start, orientation):
        pum.setheading(0)
        pum.penup()
        pum.setposition(*start)
        pum.pendown()
        pum.begin_fill()
        pum.forward(orientation * 40)
        pum.setheading(orientation * 135)
        pum.forward(orientation * 70)
        pum.end_fill()

        make_eye((-50, 20), 1)
        make_eye((50, 20), -1)

        # Make mouth
        pum.penup()
        pum.setposition(-50, -30)
        pum.setheading(45)
        pum.pendown()
        pum.pensize(1)
        pum.begin_fill()
        for _ in range(5):
        pum.forward(15)
        pum.right(90)
        pum.forward(15)
        pum.left(90)
        pum.setheading(260)
        pum.forward(20)
        pum.setheading(180)
        pum.forward(99)
        pum.end_fill()

        # Make nose
        pum.penup()
        pum.setposition(0, 0)
        pum.setheading(90)
        pum.shape("triangle")
        pum.stamp()

        carve_pumpkin("black")

        # Write text on animation
        text = turtle.Turtle()
        text.hideturtle()
        text.color("orange")
        text.penup()
        text.sety(175)
        text.write("Happy Halloween", font=("Trattatello", 60, "bold"), align="center")

        window.tracer(0)
        start = time.time()
        count = 0
        colours = "yellow", "black"
        while True:
        if time.time() - start > 1:
        carve_pumpkin(colours[count % 2])
        window.update()
        count += 1
        start = time.time() # Reset timer

        turtle.done()
    
Meral
    
        import turtle


        sp=turtle.Turtle()


        sp.pensize(5)
        sp.speed(10)


        s=turtle.Screen()
        s.bgcolor("White")
        s.title("SpiderMan")
        sp.hideturtle()




        sp.color("Black")
        sp.fillcolor("Red")
        sp.begin_fill()
        sp.penup()
        sp.goto(-200,125)
        sp.pendown()




        sp.left(90)
        sp.circle(-250,180)


        sp.forward(120)


        sp.circle(-420,60)


        sp.circle(-100,75)


        sp.left(2.5)
        sp.circle(-538.5,57)
        sp.end_fill()


        #left eye
        sp.color("Black")
        sp.fillcolor("Black")
        sp.begin_fill()
        sp.penup()
        sp.goto(30,60)
        sp.pendown()


        sp.left(76)
        sp.forward(20)
        sp.circle(-280,45)


        sp.left(140)
        sp.forward(20)
        sp.circle(220,40)
        sp.circle(80,70)


        sp.circle(107,60)
        sp.end_fill()


        #white left eye
        sp.penup()
        sp.goto(5,55)
        sp.pendown()


        sp.color("White")
        sp.fillcolor("white")
        sp.begin_fill()
        sp.right(200)
        sp.forward(20)
        sp.circle(-70,90)
        sp.forward(10)
        sp.circle(-100,50)
        sp.forward(35)


        sp.right(140)
        sp.forward(20)
        sp.circle(225,42)
        sp.end_fill()


        #right eye
        sp.penup()
        sp.goto(90,60)
        sp.pendown()


        sp.color("Black")
        sp.fillcolor("Black")
        sp.begin_fill()
        sp.left(45)
        sp.forward(20)
        sp.circle(280,45)


        sp.right(140)
        sp.forward(20)
        sp.circle(-220,40)
        sp.circle(-80,70)


        sp.circle(-107,60)
        sp.end_fill()


        #white right eye
        sp.pen()
        sp.goto(125,55)
        sp.pendown()


        sp.color("White")
        sp.fillcolor("White")
        sp.begin_fill()
        sp.right(160)
        sp.forward(20)


        sp.circle(60,80)
        sp.forward(10)
        sp.circle(90,55)
        sp.forward(40)


        sp.right(215)
        sp.circle(-250,39.5)
        sp.end_fill()


        #web lines
        sp.penup()
        sp.goto(30,60)
        sp.pendown()


        sp.color("Black")
        sp.right(203)
        sp.forward(60)
        sp.left(120)
        sp.forward(30)
        sp.left(60)
        sp.left(2)
        sp.forward(35)
        sp.left(65)
        sp.forward(25)


        sp.forward(350)


        sp.penup()
        sp.goto(90,60)
        sp.pendown()
        sp.left(42)
        sp.forward(338)


        sp.penup()
        sp.goto(-40,8)
        sp.pendown()
        sp.right(65)
        sp.forward(185)


        sp.penup()
        sp.goto(145,18)
        sp.pendown()
        sp.left(90)
        sp.forward(190)


        sp.penup()
        sp.goto(40,85)
        sp.pendown()
        sp.left(150)
        sp.forward(280)


        sp.penup()
        sp.goto(75,88)
        sp.pendown()
        sp.right(25)
        sp.forward(280)


        sp.penup()
        sp.goto(26,65)
        sp.pendown()
        sp.left(45)
        sp.forward(280)


        sp.penup()
        sp.goto(90,65)
        sp.pendown()
        sp.right(65)
        sp.forward(270)


        #web circle
        sp.penup()
        sp.goto(-5,20)
        sp.pendown()
        sp.right(70)
        sp.circle(-20,45)


        sp.left(90)
        sp.circle(-90,65)


        sp.left(90)
        sp.circle(-40,30)


        #webline2
        sp.penup()
        sp.goto(-140,60)
        sp.pendown()


        sp.right(90)
        sp.circle(-205,35)


        sp.left(60)
        sp.circle(-150,40)


        sp.left(100)
        sp.circle(-280,45)


        sp.left(100)
        sp.circle(-130,45)


        sp.left(60)
        sp.circle(-135,45)


        #webline 3
        sp.penup()
        sp.goto(0,75)
        sp.pendown()
        sp.circle(25,45)


        sp.right(90)
        sp.circle(40,45)


        sp.right(70)
        sp.circle(60,45)


        sp.right(70)
        sp.circle(35,45)


        sp.right(65)
        sp.circle(30,45)


        #web line 4
        sp.penup()
        sp.goto(-45,105)
        sp.pendown()


        sp.left(80)
        sp.circle(65,50)


        sp.right(100)
        sp.circle(60,65)


        sp.right(100)
        sp.circle(110,45)


        sp.right(80)
        sp.circle(60,65)


        sp.right(90)
        sp.circle(65,45)


        #webline 5
        sp.penup()
        sp.goto(-96,157)
        sp.pendown()


        sp.left(110)
        sp.circle(110,45)


        sp.right(110)
        sp.circle(90,70)


        sp.right(105)
        sp.circle(125,65)


        sp.right(110)
        sp.circle(90,70)


        sp.right(90)
        sp.circle(100,40)


        sp.penup()
        sp.goto(-130,296)
        sp.pendown()


        #web line 6
        sp.left(55)
        sp.circle(105,65)


        sp.right(90)
        sp.circle(175,53)


        sp.right(90)
        sp.circle(120,60)


        sp.right(75)
        sp.circle(280,30)


        sp.right(65)
        sp.circle(440,38)


        sp.right(65)
        sp.circle(220,42.5)


        sp.right(120)
        sp.circle(250,75)


        sp.right(120)
        sp.circle(232,40)


        sp.right(75)
        sp.circle(280,60)


        sp.right(75)
        sp.circle(260,35)


        turtle.done()
    
Vlad
    
        import turtle


        screen = turtle.Screen()
        screen.bgcolor("black")

        bob = turtle.Turtle()
        bob.color ("black")
        bob.goto(-200, 50)
        bob.color("orange")
        for _ in range (180):
        bob.forward(2)
        bob.left(2)

        bob.color ("black")
        bob.goto( 200, 50)
        bob.color("orange")
        for _ in range (180):
        bob.forward(2)
        bob.left(2)



        turtle.done()
    
Borislav
    
        import turtle

        # Function to draw the skull with features
        def draw_skull():
            turtle.penup()
            turtle.goto(0, 100)
            turtle.pendown()
            turtle.circle(50)  # Skull
            
            # Eyes
            turtle.penup()
            turtle.goto(-20, 120)
            turtle.pendown()
            turtle.dot(10)  # Left eye
            turtle.penup()
            turtle.goto(20, 120)
            turtle.pendown()
            turtle.dot(10)  # Right eye
            
            # Nose
            turtle.penup()
            turtle.goto(0, 100)
            turtle.pendown()
            turtle.goto(0, 90)
            
            # Mouth
            turtle.penup()
            turtle.goto(-20, 80)
            turtle.pendown()
            turtle.goto(20, 80)
        
        # Function to draw ribs
        def draw_ribs():
            turtle.circle(70, 15)
            turtle.penup()
            turtle.goto(35, 80)
            turtle.pendown()
            turtle.circle(70, 25)
            
        
        
        
        # Function to draw arms
        def draw_arms():
            # Left arm
            turtle.penup()
            turtle.goto(-50, 30)
            turtle.pendown()
            turtle.goto(-80, 10)  # Upper arm
            turtle.goto(-100, 0)  # Forearm
            draw_hand(-100, 0, "left")
        
            # Right arm
            turtle.penup()
            turtle.goto(50, 30)
            turtle.pendown()
            turtle.goto(80, 10)  # Upper arm
            turtle.goto(100, 0)  # Forearm
            draw_hand(100, 0, "right")
        
        # Function to draw hands
        def draw_hand(x, y, side):
            turtle.penup()
            turtle.goto(x, y)
            turtle.pendown()
            if side == "left":
                fingers = [(-10, -10), (-10, -20), (-10, -30), (-10, -40)]
            else:
                fingers = [(10, -10), (10, -20), (10, -30), (10, -40)]
                
            for fx, fy in fingers:
                turtle.goto(x + fx, y + fy)
        
        # Function to draw the body
        def draw_body():
            turtle.penup()
            turtle.goto(0, 50)
            turtle.pendown()
            turtle.goto(0, -50)  # Spine
        
        # Function to draw the legs
        def draw_legs():
            # Left leg
            turtle.penup()
            turtle.goto(0, -50)
            turtle.pendown()
            turtle.goto(-30, -100)  # Thigh
            turtle.goto(-30, -130)  # Knee
            turtle.goto(-10, -130)  # Calf
            turtle.goto(-10, -100)  # Ankle
            draw_foot(-10, -100, "left")
        
            # Right leg
            turtle.penup()
            turtle.goto(0, -50)
            turtle.pendown()
            turtle.goto(30, -100)  # Thigh
            turtle.goto(30, -130)  # Knee
            turtle.goto(10, -130)  # Calf
            turtle.goto(10, -100)  # Ankle
            draw_foot(10, -100, "right")
        
        # Function to draw feet
        def draw_foot(x, y, side):
            turtle.penup()
            turtle.goto(x, y)
            turtle.pendown()
            if side == "left":
                toes = [(-20, -10), (-10, -10), (0, -10)]
            else:
                toes = [(20, -10), (10, -10), (0, -10)]
            
            for tx, ty in toes:
                turtle.goto(x + tx, y + ty)
        
        # Main drawing function
        def draw_skeleton():
            turtle.speed(2)
            draw_skull()
            draw_ribs()
            draw_arms()
            draw_body()
            draw_legs()
            
            turtle.hideturtle()
            turtle.done()
        
        # Run the drawing function
        draw_skeleton()
        
    
2025-2026
Nika
    
import turtle

bat = turtle.Turtle()
bat.pensize(3)
bat.speed(5)

screen = turtle.Screen()
screen.bgcolor('red')
screen.title('Simple Bat Shape')

bat.color('yellow', 'black')
bat.begin_fill()

bat.left(90)
bat.circle(50, 85)
bat.circle(15, 110)
bat.right(180)
bat.circle(30, 150)
bat.right(5)
bat.forward(10)
bat.right(90)
bat.circle(-70, 140)
bat.forward(40)
bat.right(110)
bat.circle(100, 30)
bat.circle(30, 100)
bat.left(50)
bat.forward(50)
bat.right(145)
bat.forward(30)
bat.left(55)
bat.forward(10)
bat.forward(10)
bat.left(55)
bat.forward(30)
bat.right(145)
bat.forward(50)
bat.left(50)
bat.circle(30, 100)
bat.circle(100, 30)
bat.right(90)
bat.right(20)
bat.forward(40)
bat.circle(-70, 140)
bat.right(90)
bat.forward(10)
bat.right(5)
bat.circle(30, 150)
bat.left(180)
bat.circle(15, 110)
bat.circle(50, 85)

bat.end_fill()
turtle.done()
    
            
Sara
                
from turtle import *
penup()
goto(-300, 0)
pendown()
left(70)
forward(100)
left(140)
forward(30)
right(150)
forward(60)
right(20)
forward(30)
right(140)
forward(90)
left(50)
forward(30)
left(90)
forward(20)
left(40)
forward(60)
right(150)
forward(120)
right(90)
forward(30)
right(100)
forward(60)
left(130)
forward(40)
right(90)
forward(40)
left(120)
forward(50)
right(90)
forward(30)
# penup()
goto(-1,0)

done()
                
                
Talal
                    
from turtle import *

penup()
goto(300, -50)
left(90)
pendown()
circle(200, 180)
forward(150)
circle(40,180)
right(180)
circle(40,180)
right(180)
circle(40,180)
right(180)
circle(40,180)
right(180)
circle(40,180)
forward(150)

def eye(x,y,c):
    penup()
    goto(x,y)
    pendown()
    begin_fill()
    color(c)
    circle(19)
    end_fill()
    penup()
    right(90)
    forward(45)
    pendown()
    left(90)
    circle(55)

eye(70,40, "black")
eye(199,30, "black")



done()


                    
                
Jera
                    
import turtle

# Create a turtle object
pen = turtle.Turtle()
pen.speed(0) # Set the fastest speed for drawing
pen.hideturtle() # Hide the turtle icon

# Function to draw a circle with filling
def draw_circle(color, radius, x, y):
    pen.penup()
    pen.goto(x, y)
    pen.pendown()
    pen.fillcolor(color)
    pen.begin_fill()
    pen.circle(radius)
    pen.end_fill()

# Function to draw an oval with filling (simplified as two circles)
def draw_oval_patch(color, radius_x, radius_y, x, y):
    pen.penup()
    pen.goto(x, y)
    pen.pendown()
    pen.fillcolor(color)
    pen.begin_fill()
    pen.setheading(0)
    pen.circle(radius_x, extent=90)
    pen.setheading(180)
    pen.circle(radius_x, extent=90)
    pen.end_fill()

# Draw the head
draw_circle("white", 125, 0, -100)

# Draw the left ear
draw_circle("black", 30, -70, 100)

# Draw the right ear
draw_circle("black", 30, 70, 100)

# Draw the left eye patch
# draw_oval_patch("black", 30, 20, -50, 20)

# Draw the right eye patch
# draw_oval_patch("black", 30, 20, 50, 20)

# Draw the left eye (white)
draw_circle("white", 10, -50, 30)

# Draw the right eye (white)
draw_circle("white", 10, 50, 30)

# Draw the left pupil
draw_circle("black", 5, -50, 35)

# Draw the right pupil
draw_circle("black", 5, 50, 35)

# Draw the nose
draw_circle("black", 15, 10, -30)

# Draw the mouth
pen.penup()
pen.goto(10, -30)
pen.pendown()
pen.right(90)
pen.circle(15, 180) # Left side of mouth

pen.penup()
pen.goto(10, -30)
pen.pendown()
pen.left(180)
pen.circle(-15, 180) # Right side of mouth

# Keep the window open until closed manually
turtle.done()


                    
                
Vika
                    
import turtle
t = turtle.Turtle()
screen = turtle.Screen()
t.pensize(2)
screen.bgcolor("yellow")
t.color('black')
t.begin_fill()
t.right(45)
t.forward(40)
t.right(90)
t.forward(40)
t.left(45)
t.forward(200)
t.left(120)
t.forward(40)
t.right(60)
t.forward(40)
t.left(60)
t.forward(40)
t.right(60)
t.forward(40)
t.left(120)
t.forward(200)
t.left(45)
t.forward(40)
t.right(90)
t.forward(40)
t.left(160)
t.forward(50)
t.right(20)
t.forward(50)
t.right(40)
t.forward(40)
t.left(20)
t.forward(10)
t.end_fill()

turtle.done()

                    
                
Franceso
                    
import turtle

t=turtle.Turtle()
screen=turtle.Screen()
screen.setup(900,670)
screen.bgcolor('black')
t.speed(50)
t.hideturtle()
t.fillcolor('#DC5F00')
t.begin_fill()
t.up()
r=180
t.goto(0,-240)
t.circle(r)
t.end_fill()
t.up()
t.setpos(-140,-45)
t.fillcolor('gold')
t.begin_fill()
t.forward(100)
t.left(120)
t.forward(100)
t.left(120)
t.forward(100)
t.end_fill()

t.up()
t.setpos(90,40)
t.fillcolor('gold')
t.begin_fill()
t.forward(100)
t.left(120)
t.forward(100)
t.left(120)
t.forward(100)
t.end_fill()

t.up()
t.setpos(0,-110)
t.fillcolor('gold')
t.begin_fill()
t.forward(40)
t.right(120)
t.forward(40)
t.right(120)
t.forward(40)
t.end_fill()

t.up()
t.setpos(-60,-120)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.up()
t.setpos(-60,-120)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.up()
t.setpos(14,-163)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.up()
t.setpos(90,-120)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.fillcolor('green')
t.begin_fill()
t.goto(-20,110)
t.forward(40)
t.left(90)
t.forward(60)
t.left(90)
t.forward(40)
t.left(90)
t.forward(60)
t.left(90)
t.end_fill()
t.goto(-250,-290)
t.pencolor('red')
screen.mainloop()import turtle

t=turtle.Turtle()
screen=turtle.Screen()
screen.setup(900,670)
screen.bgcolor('black')
t.speed(50)
t.hideturtle()
t.fillcolor('#DC5F00')
t.begin_fill()
t.up()
r=180
t.goto(0,-240)
t.circle(r)
t.end_fill()
t.up()
t.setpos(-140,-45)
t.fillcolor('gold')
t.begin_fill()
t.forward(100)
t.left(120)
t.forward(100)
t.left(120)
t.forward(100)
t.end_fill()

t.up()
t.setpos(90,40)
t.fillcolor('gold')
t.begin_fill()
t.forward(100)
t.left(120)
t.forward(100)
t.left(120)
t.forward(100)
t.end_fill()

t.up()
t.setpos(0,-110)
t.fillcolor('gold')
t.begin_fill()
t.forward(40)
t.right(120)
t.forward(40)
t.right(120)
t.forward(40)
t.end_fill()

t.up()
t.setpos(-60,-120)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.up()
t.setpos(-60,-120)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.up()
t.setpos(14,-163)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.up()
t.setpos(90,-120)
t.fillcolor('gold')
t.begin_fill()
t.forward(50)
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()

t.fillcolor('green')
t.begin_fill()
t.goto(-20,110)
t.forward(40)
t.left(90)
t.forward(60)
t.left(90)
t.forward(40)
t.left(90)
t.forward(60)
t.left(90)
t.end_fill()
t.goto(-250,-290)
t.pencolor('red')
screen.mainloop()

                    
                
Ruzbeh
                    

import turtle
t = turtle.Turtle() 
t.shape('turtle')

def make_triangle(x,y,color, size = 100):
    t.penup() 
    t.goto(x,y) 
    t.begin_fill() 
    t.color(color) 
    t.pendown()
    for count in range(3):
        t.forward(size)
        t.left(120)
    t.end_fill()
    
t.penup() 
t.goto(-50,-150)
t.color('orangered')
t.begin_fill()
t.circle(150)
t.end_fill()

t.goto(50,-150)
t.color('orangered')
t.begin_fill()
t.circle(150)
t.end_fill()

#the teeth
make_triangle(-35,-90,'black',size=60)
make_triangle(35,-90,'black',size=60)
make_triangle(-70,-90,'black',size=60)
make_triangle(70,-90,'black',size=60)
make_triangle(0,-90,'black',size=60)
make_triangle(-100,-90,'black',size=60)

#the nose 
make_triangle(-20,7.5,'black',size=50)


#draw the eyes 
make_triangle(-90,60,'black',size=60)
make_triangle(50,60,'black',size=60)

#screen
screen = turtle.Screen()
screen.bgcolor("black")


#teeth yellow 
make_triangle(-35,-90,'yellow',size=60)
make_triangle(35,-90,'yellow',size=60)
make_triangle(-70,-90,'yellow',size=60)
make_triangle(70,-90,'yellow',size=60)
make_triangle(0,-90,'yellow',size=60)
make_triangle(-100,-90,'yellow',size=60)

#yellow nose
make_triangle(-20,7.5,'yellow',size=50)

#yellow eyes
make_triangle(-90,60,'yellow',size=60)
make_triangle(50,60,'yellow',size=60)

#the stem
t.penup()
t.goto(-10,140)
t.begin_fill()
t.color('green')
t.forward(20)
t.left(90)
t.forward(80)
t.left(90)
t.forward(20)
t.left(90)
t.forward(80)
t.left(90)
t.end_fill()

t.penup()
t.goto(0,-200)

#close the drawing window
turtle.exitonclick()
                    
                
Georgi A
                    
import turtle
import math

# Screen setup
screen = turtle.Screen()
screen.bgcolor("black")
screen.title("🎃 Detailed Halloween Pumpkin")

# Main turtle for drawing
pen = turtle.Turtle()
pen.speed(0)
pen.hideturtle()

def draw_filled_shape(points, color):
    pen.penup()
    pen.goto(points[0])
    pen.color(color)
    pen.fillcolor(color)
    pen.begin_fill()
    for point in points[1:]:
        pen.goto(point)
    pen.goto(points[0])
    pen.end_fill()

def draw_pumpkin():
    # Pumpkin segments (layered orange ovals)
    for offset in range(-60, 70, 30):
        pen.penup()
        pen.goto(offset, -100)
        pen.setheading(0)
        pen.color("darkorange")
        pen.fillcolor("darkorange")
        pen.begin_fill()
        pen.circle(100)
        pen.end_fill()

    # Main front circle
    pen.penup()
    pen.goto(0, -100)
    pen.color("orange")
    pen.fillcolor("orange")
    pen.begin_fill()
    pen.circle(100)
    pen.end_fill()

def draw_stem():
    # Green stem
    pen.penup()
    pen.goto(-15, 110)
    pen.setheading(0)
    pen.color("green")
    pen.fillcolor("green")
    pen.begin_fill()
    pen.forward(30)
    pen.left(90)
    pen.forward(40)
    pen.left(90)
    pen.forward(30)
    pen.left(90)
    pen.forward(40)
    pen.end_fill()

def draw_face():
    # Eyes
    for x in [-40, 40]:
        pen.penup()
        pen.goto(x, 40)
        pen.setheading(0)
        pen.color("black")
        pen.fillcolor("black")
        pen.begin_fill()
        for _ in range(3):
            pen.forward(30)
            pen.left(120)
        pen.end_fill()

    # Nose
    pen.penup()
    pen.goto(0, 10)
    pen.setheading(0)
    pen.begin_fill()
    for _ in range(3):
        pen.forward(20)
        pen.left(120)
    pen.end_fill()

    # Mouth - jagged teeth
    pen.penup()
    pen.goto(-60, -40)
    pen.setheading(0)
    pen.color("blue")
    pen.fillcolor("red")
    pen.begin_fill()
    steps = [(-60, -40), (-50, -60), (-40, -40), (-30, -60), (-20, -40), (-10, -60), (0, -40),
             (10, -60), (20, -40), (30, -60), (40, -40), (50, -60), (60, -40), (60, -70), (-60, -70)]
    for point in steps:
        pen.goto(point)
    pen.goto(-60, -40)
    pen.end_fill()

def draw_moon():
    # Moon in background
    pen.penup()
    pen.goto(250, 250)
    pen.color("lightyellow")
    pen.fillcolor("lightyellow")
    pen.begin_fill()
    pen.circle(40)
    pen.end_fill()

def draw_text():
    pen.penup()
    pen.goto(0, 200)
    pen.color("pink")
    pen.write("Happy Halloween!", align="center", font=("Chiller", 32, "bold"))

def draw_vine():
    vine = turtle.Turtle()
    vine.hideturtle()
    vine.speed(0)
    vine.color("black")
    vine.penup()
    vine.goto(10, 110)
    vine.pendown()
    vine.setheading(90)
    for i in range(30):
        angle = math.sin(i / 3) * 30
        vine.setheading(90 + angle)
        vine.forward(3)

# Call all functions to draw the picture
draw_moon()
draw_pumpkin()
draw_stem()
draw_face()
draw_vine()
draw_text()

turtle.done()

                    
                
Tatyana
                    
import turtle


screen = turtle.Screen()
screen.bgcolor("orange")
screen.title("scary ghost")

ghost = turtle.Turtle()
ghost.speed(3)
ghost.pensize(5)

def draw_ghost_head():
    ghost.penup()
    ghost.goto(0, 100)
    ghost.color("black")
    ghost.begin_fill()
    ghost.circle(80)
    ghost.end_fill()

def draw_scary_ear():
    ghost.penup()
    ghost.goto(-30, 250)
    ghost.setheading(80)
    ghost.pendown()
    ghost.color("red")
    ghost.begin_fill()
    ghost.begin_fill()
    ghost.forward(20)
    ghost.right(120)
    ghost.forward(20)

def draw_scary_earz():
    ghost.penup()
    ghost.goto(30, 250)
    ghost.setheading(20)
    ghost.pendown()
    ghost.color("red")
    ghost.begin_fill()
    ghost.begin_fill()
    ghost.forward(20)
    ghost.right(120)
    ghost.forward(20)

def draw_scary_eyes():
    ghost.color("dark red")


    ghost.penup()
    ghost.goto(-35, 170)
    ghost.setheading(-20)
    ghost.pendown()
    ghost.begin_fill()
    for _ in range(2):
        ghost.circle(20, 90)
        ghost.circle(10, 90)
    ghost.end_fill()


    ghost.penup()
    ghost.goto(20, 170)
    ghost.setheading(-160)
    ghost.pendown()
    ghost.begin_fill()
    for _ in range(2):
        ghost.circle(20, 90)
        ghost.circle(10, 90)
    ghost.end_fill()


def draw_scary_mouth():
    ghost.penup()
    ghost.goto(-30, 130)
    ghost.setheading(-180)
    ghost.pendown()
    ghost.color("red")
    ghost.begin_fill()
    ghost.forward(20)
    ghost.right(120)
    ghost.forward(20)
    ghost.left(60)
    ghost.end_fill()


def draw_red_legs():
    ghost.color("red")
    ghost.pensize(8)


    ghost.penup()
    ghost.goto(-30, 100)
    ghost.setheading(-90)
    ghost.pendown()
    ghost.forward(60)

    ghost.penup()
    ghost.goto(30, 100)
    ghost.setheading(-90)
    ghost.pendown()
    ghost.forward(60)

    ghost.pensize(4)
    ghost.color("dark red")
    for x in [-30, 30]:
        ghost.penup()
        ghost.goto(x, 40)
        ghost.setheading(0)
        ghost.pendown()
        ghost.forward(20)


draw_ghost_head()
draw_scary_ear()
draw_scary_earz()
draw_scary_eyes()
draw_scary_mouth()
draw_red_legs()

ghost.hideturtle()
turtle.done()
                    
                
Vasily
                    
import turtle

h = turtle.Turtle()
h.fillcolor("gray")
h.begin_fill()
h.left(90)
h.speed(0)
h.forward(150)
h.circle(100,180)
h.forward(150)
h.left(90)
h.forward(200)
h.left(90)
h.end_fill()
h.forward(150)
h.penup()
h.left(90)
h.forward(75)
h.fillcolor("light gray")
h.begin_fill()
h.pendown()
h.right(90)
h.forward(15)
h.left(90)
h.forward(15)
h.right(90)
h.forward(15)
h.left(90)
h.forward(15)
h.left(90)
h.forward(15)
h.right(90)
h.forward(15)
h.left(90)
h.forward(15)
h.left(90)
h.forward(15)
h.right(90)
h.forward(30)
h.left(90)
h.forward(15)
h.left(90)
h.forward(30)
h.right(90)
h.forward(15)
h.end_fill()

turtle.done()
                    
                
Sophia K
                    
import turtle
import math

window = turtle.Screen()
window.bgcolor("black")

cursor = turtle.Turtle() 
cursor.shape("turtle")
cursor.color("orange")
cursor.speed(8)
cursor.pensize(5)

def movePen(cursor, x, y):
  cursor.penup()
  cursor.setposition(x, y)
  cursor.pendown()

def movePenX(cursor, x):
  cursor.penup()
  cursor.setx(x)
  cursor.pendown()

def movePenY(cursor, y):
  cursor.penup()
  cursor.sety(y)
  cursor.pendown()

def positionAlongCircle(x, y, radius, angle):
  radians = math.radians(angle)
  return [x + (radius*math.sin(radians)),
            y + (radius*math.cos(radians))]


movePenY(cursor, -150)
cursor.fillcolor("yellow")
cursor.begin_fill()
cursor.circle(150)
cursor.end_fill()


noseMouthOffset = -15
movePenY(cursor, -20 + noseMouthOffset)
cursor.fillcolor("yellow")
cursor.begin_fill()
cursor.circle(20)
cursor.end_fill()


movePen(cursor, -100, -20 + noseMouthOffset)
cursor.right(90)
cursor.circle(50,180)
cursor.left(180)
cursor.circle(50,180)


eyeSpacingX = 60
eyePosY = 40
eyeRadius = 30


movePen(cursor, eyeSpacingX, eyePosY)
cursor.right(180)
cursor.circle(eyeRadius, -180)
cursor.end_fill()


movePen(cursor, -eyeSpacingX, eyePosY)
cursor.fillcolor("white")
cursor.begin_fill()
cursor.circle(eyeRadius, 360)
cursor.end_fill()

movePen(cursor, 25, -60 + noseMouthOffset)
cursor.setheading(-80)
cursor.fillcolor("white")
cursor.begin_fill()
cursor.forward(25)        
cursor.left(120)
cursor.forward(20)
cursor.left(120)
cursor.forward(20)
cursor.end_fill()
cursor.setheading(0)





earBeginAngle = 25
earSize = 85
earWidth = 22
positionA = positionAlongCircle(0, 0, 150, earBeginAngle)
movePen(cursor, positionA[0], positionA[1])
cursor.fillcolor("yellow")
cursor.begin_fill()

positionB = positionAlongCircle(0, 0, 150 + earSize, earBeginAngle + earWidth)
cursor.setposition(positionB[0], positionB[1])

positionC = positionAlongCircle(0, 0, 150, earBeginAngle + earWidth * 2)
cursor.setposition(positionC[0], positionC[1])


positionA = positionAlongCircle(0, 0, 150, -earBeginAngle)
movePen(cursor, positionA[0], positionA[1])

positionB = positionAlongCircle(0, 0, 150 + earSize, -earBeginAngle + -earWidth)
cursor.setposition(positionB[0], positionB[1])

positionC = positionAlongCircle(0, 0, 150, -earBeginAngle + -earWidth * 2)
cursor.setposition(positionC[0], positionC[1])
cursor.end_fill()


whiskerLength = 180


movePen(cursor, 50, -15)
cursor.setheading(0)
cursor.forward(whiskerLength)

movePen(cursor, 50, 0)
cursor.left(5)
cursor.forward(whiskerLength)


movePen(cursor, -50, -15)
cursor.setheading(180)
cursor.forward(whiskerLength)

movePen(cursor, -50, 0)
cursor.left(-5)
cursor.forward(whiskerLength)

movePen(cursor,-300,-260)
cursor.write('happy halloween',font=("italic",60,"bold"))

window.exitonclick()


                    
                
Ilya
                    
import turtle


turtle.bgcolor("red")   


t = turtle.Turtle()
t.color("orange")


t.penup()
t.goto(-300, 0)
t.pendown()
t.forward(100)
 

style = ('Arial', 100, 'bold')


t.write("boooo", font=style, align='left')


turtle.done()

                    
                
Sophia B
                    
from turtle import *

screen = Screen()
screen.setup(900, 650)
screen.bgcolor('black')

def stem():
    penup()
    goto(-20, 175)
    color("#424D06")
    begin_fill()
    forward(40)
    right(90)
    forward(60)
    right(90)
    forward(40)
    right(90)
    forward(60)
    end_fill()


speed(50)
hideturtle()

fillcolor("#C25B0C")

begin_fill()
up()

r = 180
goto(0, -240)
circle(r)

end_fill()

def eye(x,y):
    up()
    setpos(x,y)
    fillcolor("#FCAE08")
    begin_fill()
    forward(100) 
    left(120)
    forward(100) 
    left(120)
    forward(100) 
    end_fill()

eye(-140, -45)
eye(90, 40)


up()
setpos(0, -110)
fillcolor("#FCAE08")
begin_fill()
forward(40)
right(120)
forward(40)
right(120)
forward(40)
end_fill()

def teeth(x,y):
    up()
    setpos(x,y)
    fillcolor("#FCAE08")
    begin_fill()
    forward(50)
    right(120)
    forward(50)
    right(120)
    forward(50)
    end_fill()

teeth(-50, -120)
teeth(-50, -120)
teeth(24, -163)
teeth(100, -120)

stem()

goto(-200, -290)
pencolor("#921E1E")
write('Happy Halloween', font=("italic", 35, "bold"))
screen.mainloop()
                    
                
Aristarsh
                    
# importing libraries
from turtle import *
import turtle
# initalizing a variable for turtle
t = turtle.Turtle()
# creating turtle screen
screen = turtle.Screen()
# setting up the screen size of canvas
screen.setup(900, 650)
# changing the color of background to black
screen.bgcolor('black')
# defining speed of turtle
t.speed(50)
t.hideturtle()
# deciding the color for circle
t.fillcolor("#0021DC")
# start the filling color
t.begin_fill()
t.up()
# radius of circle
r = 180
t.goto(0, -240)
t.circle(r)
# end filling the colour
t.end_fill()
# drawing triangle for eyes
# left eye
t.up()
t.setpos(-140, -45)
t.fillcolor("gold")
t.begin_fill()
t.forward(100)  # draw base
t.left(120)
t.forward(100)  # draw second side
t.left(120)
t.forward(100)  # draw third side
t.end_fill()
# right eye
t.up()
t.setpos(90, 40)
t.fillcolor("gold")
t.begin_fill()
t.forward(100)  # draw base
t.left(120)
t.forward(100)  # draw second side
t.left(120)
t.forward(100)  # draw third side
t.end_fill()
# drawing inverted triangle for nose
t.up()
t.setpos(0, -110)
t.fillcolor("gold")
t.begin_fill()
t.forward(40)
t.right(120)
t.forward(40)
t.right(120)
t.forward(40)
t.end_fill()
# drawing triangle for tooth of pumpkin🎃
# triangle 1
t.up()
t.setpos(-60, -120)
t.fillcolor("gold")
t.begin_fill()
t.forward(50)

t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()
# triangle 2
t.up()
t.setpos(-60, -120)
t.fillcolor("gold")
t.begin_fill()
t.forward(50)  # draw base
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()
# trinagle 3
t.up()
t.setpos(14, -163)
t.fillcolor("gold")
t.begin_fill()
t.forward(50)  # draw base
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()
# trinagle 4
t.up()
t.setpos(90, -120)
t.fillcolor("gold")
t.begin_fill()
t.forward(50)  # draw base
t.right(120)
t.forward(50)
t.right(120)
t.forward(50)
t.end_fill()
# drawing green part of pumpkin
t.fillcolor("green")
t.begin_fill()
t.goto(-20, 110)
# drawing first side
t.forward(40)  # Forward turtle by 40 units
t.left(90)  # Turn turtle by 90 degree
# drawing second side
t.forward(60)  # Forward turtle by 60 units
t.left(90)  # Turn turtle by 90 degree
# drawing third side
t.forward(40)  # Forward turtle by 40 units
t.left(90)  # Turn turtle by 90 degree
# drawing fourth side
t.forward(60)  # Forward turtle by 60 units
t.left(90)  # Turn turtle by 90 degree
t.end_fill()
# writing happy halloween on canvas
t.goto(-250, -260)
t.pencolor("red")
t.write('Happy Halloween ', font=("Courier", 40, "italic"))
t.goto(-250, -330)
t.write('By Arik ', font=("Courier", 60, "italic"))
# holding the screen to display
screen.mainloop()

            
                
Platon
                    
#import turtle library
import turtle

pen = turtle.Turtle()
pen.shape("turtle")

def make_triangle(x, y, size, color):
  pen.penup()
  pen.goto(x,y)
  pen.begin_fill()
  pen.color(color)
  pen.pendown()
  for lines in range(3):

    pen.forward(size)
    #120 is the angle to move for a triangle
    #DO NOT change
    pen.left(120)
  pen.end_fill()
  
# This is a function to make circles of a color and size
# x,y is the position we choose
def make_circle(x, y, size, color):
  pen.penup()
  pen.goto(x,y)
  pen.color(color)
  pen.begin_fill()
  pen.circle(size)
  pen.pendown()
  pen.end_fill()

# The Bat Body:
make_circle(0,-150, 60, 'black')
pen.left(180)   

# The Wings:
make_triangle(-50, -80, 80, 'black')
make_triangle(130, -80, 80, 'black')

# The Teeth:
make_triangle(-5, -120, 15, 'white')
make_triangle(20, -120, 15, 'white')

# The Eyes:
make_circle(-20,-55, 15, 'white')
make_circle(20,-55, 15, 'white')
pen.left(180)

# The Pupils:
make_circle(-20,-85, 5, 'black')
make_circle(20,-85, 5, 'black')

# The Ears:
make_triangle(-40, -45, 30, 'black')
make_triangle(10, -45, 30, 'black')



turtle.done()

            
                
David
                    
from turtle import *
color('yellow')
speed(10)
bgcolor('black')
def bat(x,y,c):
    forward(33)
    left(70)
    forward(30)
    right(160)
    forward(90)
    left(90)
    for i in range(90):
        forward(1.4)
        left(1)
    right(90)
    for m in range(180):
        forward(1.5)
        right(1)
    right(90)
    for x in range(180):
        forward(0.5)
        left(1)
    right(10)
    forward(20)
    color(c)
    right(160)
    forward(20)
    for o in range(160):
        forward(0.5)
        left(1)
    forward(40)
    right(160)
    forward(40)
    for o in range(160):
        forward(0.5)
        left(1)
    right(10)
    forward(20)
    color(c)
    right(160)
    forward(20)
    for x in range(180):
        forward(0.5)
        left(1)
    right(90)
    for m in range(180):
        forward(1.5)
        right(1)
    right(90)
    for i in range(90):
        forward(1.4)
        left(1)
    left(90)
    right(70)
    forward(90)
bat(0,0,'yellow')
done()

            
                
Ali
                    
from turtle import *
bgcolor("black")
color("orange")

begin_fill()
circle(145)
end_fill()

color("beige")
begin_fill()
penup()
left(130)
forward(130)
pendown()
right(190)
circle(90, 130)
right(200)
circle(-120, 90)
end_fill()

begin_fill()
penup()
right(45)
forward(90)
pendown()
right(130)
circle(50, 80)
right(140)
circle(-33, 165)
end_fill()

begin_fill()
penup()
right(100)
forward(135)
left(90)
pendown()
right(125)
circle(50, 80)
right(140)
circle(-33, 165)
end_fill()

penup()
home()
left(100)
forward(120)

done()

            
                
Nazar
            

import turtle
t = turtle.Turtle()
t.speed(10)
turtle.bgcolor("black")
t.color("orange")
t.begin_fill()
t.circle(100)
t.end_fill()
t.penup()
t.goto(-20, 150)
t.pendown()
t.color("green")
t.begin_fill()
t.setheading(90)
t.forward(40)
t.right(90)
t.forward(40)
t.right(90)
t.forward(40)
t.end_fill()
t.penup()
t.goto(0, 100)
t.pendown()
t.color("darkorange")
for angle in [-40, -20, 0, 20, 40]:
    t.penup()
    t.goto(0, 100)
    t.setheading(-90 + angle)
    t.pendown()
    t.circle(100, 60)
t.penup()
t.goto(-40, 60)
t.color("black")
t.begin_fill()
t.circle(10)
t.end_fill()
t.penup()
t.goto(30, 60)
t.begin_fill()
t.circle(10)
t.end_fill()
t.penup()
t.goto(-25, 30)
t.setheading(-60)
t.begin_fill()
for i in range(3):
    t.forward(50)
    t.left(120)
t.end_fill()
t.hideturtle()
turtle.done()

            
                
Milana
            
import turtle
tina = turtle.Turtle()
tina.shape("turtle")
def make_triangle(x, y, color):
    tina.penup()
    tina.goto(x, y)
    tina.begin_fill()
    tina.color(color)
    tina.pendown()
    for count in range(3):
        tina.forward(50)
        tina.left(120)
    tina.end_fill()
def make_square(x, y, color):
    tina.penup()
    tina.goto(x, y)
    tina.begin_fill()
    tina.color(color)
    tina.pendown()
    for count2 in range(3):
            tina.forward(50)
            tina.left(90)
    tina.end_fill()
tina.penup()
tina.goto(0, -150)
tina.color('#ff6600')
tina.begin_fill()
tina.circle(150)
tina.end_fill()
tina.left(180)
make_triangle(-35, -20, '#ffffff')
make_triangle(0, -20, '#ffffff')
make_triangle(35, -20, '#ffffff')
tina.left(180)
make_triangle(-70, 50, '#ffffff')
make_triangle(0, 50, '#ffffff')
make_square(-20, 125, '#663300')
tina.penup()
tina.goto(-100, -185)
tina.goto(-120, -185)
tina.left(180)

turtle.done()