Skip to content

Commit

Permalink
Teri art (#8)
Browse files Browse the repository at this point in the history
* Feat: add two consecutive shapes together

* Feat: include my art to the main entry point

* Updata: import Turtle module

* Fix: move art to another part of the screen
  • Loading branch information
Terieyenike authored Oct 26, 2023
1 parent 8d36082 commit db6ff2a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
27 changes: 27 additions & 0 deletions drawfunctions/teri_eyenike.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
from turtle import Turtle, Screen

def draw_shape():

turtle = Turtle()
screen = Screen()
screen.colormode(255)

turtle.hideturtle()
turtle.penup()
turtle.setposition((-150,-50))
turtle.begin_fill()
turtle.pendown()
turtle.color((0, 0, 0), (0, 0, 0))
turtle.speed(10)
turtle.pensize(5)
turtle.pencolor('#bf9900')

for i in range(4):
turtle.forward(100)
turtle.left(90)

for i in range(36):
turtle.circle(50)
turtle.left(10)

turtle.end_fill()
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from turtle import exitonclick
from drawfunctions import dominic_duffin, david_akim, satoshi_s
from drawfunctions import dominic_duffin, david_akim, satoshi_s, teri_eyenike

dominic_duffin.christmas_tree()
david_akim.star()
satoshi_s.base()
teri_eyenike.draw_shape()

exitonclick()
exitonclick()

0 comments on commit db6ff2a

Please sign in to comment.