diff --git a/drawfunctions/chris_j.py b/drawfunctions/chris_j.py new file mode 100644 index 0000000..ab2e232 --- /dev/null +++ b/drawfunctions/chris_j.py @@ -0,0 +1,79 @@ +from turtle import Turtle +from turtle import Screen + +def draw_snowman(): + + turtle = Turtle() + screen = Screen() + + turtle.hideturtle() + turtle.penup() + turtle.setposition((180, -10)) + turtle.pendown() + turtle.color(("lightblue"), ("azure")) + turtle.begin_fill() + turtle.circle(26) + turtle.penup() + turtle.setposition((180, 42)) + turtle.pendown() + turtle.circle(13) + turtle.penup() + turtle.setposition((180, 68)) + turtle.pendown() + turtle.circle(8) + turtle.end_fill() + turtle.penup() + #draw face and buttons + turtle.setposition((178, 75)) + turtle.pendown() + turtle.dot(2, "blue") + turtle.penup() + turtle.setposition((184, 75)) + turtle.pendown() + turtle.dot(2, "blue") + turtle.penup() + turtle.setposition((180, 72)) + turtle.pendown() + turtle.dot(3, "orange") + turtle.penup() + turtle.setposition((180, 50)) + turtle.pendown() + turtle.dot(4, "black") + turtle.penup() + turtle.setposition((180, 60)) + turtle.pendown() + turtle.dot(4, "black") + turtle.penup() + turtle.setposition((180, 30)) + turtle.pendown() + turtle.dot(6, "black") + turtle.penup() + turtle.setposition((180, 20)) + turtle.pendown() + turtle.dot(6, "black") + turtle.penup() + turtle.setposition((180, 10)) + turtle.pendown() + turtle.dot(6, "black") + + #Draw hat + + turtle.penup() + turtle.setposition((176, 80)) + turtle.pendown() + turtle.color("gray") + turtle.begin_fill() + turtle.forward(10) + turtle.left(90) + turtle.forward(8) + turtle.left(90) + turtle.forward(10) + turtle.left(90) + turtle.forward(8) + turtle.end_fill() + + + + + + diff --git a/main.py b/main.py index 96dbd50..3f08f64 100644 --- a/main.py +++ b/main.py @@ -1,10 +1,11 @@ from turtle import exitonclick -from drawfunctions import dominic_duffin, david_akim, satoshi_s, teri_eyenike, david_akim_present_2024 +from drawfunctions import dominic_duffin, david_akim, satoshi_s, teri_eyenike, david_akim_present_2024, chris_j dominic_duffin.christmas_tree() david_akim.star() satoshi_s.base() teri_eyenike.draw_shape() david_akim_present_2024.draw_present() +chris_j.draw_snowman() exitonclick()