-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
8d36082
commit db6ff2a
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |