generated from mwc/project_drawing
submit 5:
I decided to get slightly more detailed. I adjusted the colors to make it cuter. I then added attenae to add the final touch. I was even able to add a little dot at the end to make it cuter. I then attdjsuted the size of the pen to make the drawing more solid. I had to look up how to hide the pen because I think it is distracting to look at. I also looked up how to mkae the turtle draw the drawing at the fastest speed. Both of those things helped me greatly! I am now done with the project. I definitely couldve done more but due to time, and starting late, I am still happy with how much I got done. I was ableto learn a lot doing this project!
This commit is contained in:
32
drawing.py
32
drawing.py
@@ -13,7 +13,8 @@ import turtle
|
||||
|
||||
screen = turtle.Screen()
|
||||
screen.bgcolor("lightblue")
|
||||
turtle.speed(10)
|
||||
turtle.speed(0)
|
||||
|
||||
|
||||
def draw_oval(width, height, color):
|
||||
fillcolor(color)
|
||||
@@ -49,9 +50,34 @@ def draw_butterfly():
|
||||
|
||||
draw_body()
|
||||
|
||||
def draw_a():
|
||||
penup()
|
||||
goto(-7,25)
|
||||
pendown()
|
||||
pensize(3)
|
||||
color("black")
|
||||
|
||||
setheading(100)
|
||||
circle(65,80)
|
||||
pensize(8)
|
||||
forward(1)
|
||||
penup()
|
||||
|
||||
goto(-7,25)
|
||||
pendown()
|
||||
pensize(3)
|
||||
|
||||
setheading(80)
|
||||
circle(-65,80)
|
||||
pensize(8)
|
||||
forward(1)
|
||||
penup()
|
||||
|
||||
|
||||
pensize(5)
|
||||
hideturtle()
|
||||
draw_butterfly()
|
||||
|
||||
|
||||
draw_a()
|
||||
|
||||
|
||||
input()
|
||||
Reference in New Issue
Block a user