mrs wright commit, error on submit

This commit is contained in:
jandrews
2025-10-27 12:52:43 -04:00
parent edbf083441
commit ed8858146e
3 changed files with 68 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ This is the README file for your drawing project.
Replace all the text in parentheses with your own text.
It's written in a simple language called Markdown,
which allows basic formatting.
)
)picture name:catastraphe
## Description
@@ -14,8 +14,9 @@ image, move the image to this directory, and then use the following syntax:
![Description](filename.png)
)
yarnballs and cat ears covering a background)
## Planning
(Include your planning here, including your project milestone.)
learning how to make a circle then making a pattern in the circle.after that I would need to make a repeating code that makes a yarnball that is evenly spaced.after that U would need to do the same thing again but instead with traingles to make cat ears.

Binary file not shown.

View File

@@ -5,3 +5,68 @@
# (Briefly describe what this program does.)
from turtle import *
from ellipse import *
def triangle(size):
right(245)
forward(60)
left(135)
forward(60)
left(111)
forward(47)
penup()
forward(70)
pendown()
def quarter_arc_right(radius):
"Draws a quarter of an arc, turning to the right."
circle(-radius, 90)
def quarter_arc_left(radius):
"Draws a quarter of an arc, turning to the left."
circle(radius, 90)
for I in range(2):
triangle(20)
right(180)
penup()
forward(138)
left(90)
forward(120)
right(90)
pendown()
forward(25)
left(125)
forward(50)
left(101)
forward(57)
left(134)
forward(43)
penup()
forward(25)
left(125)
forward(50)
pendown()
quarter_arc_left(23)
penup()
right(180)
quarter_arc_right(23)
left(107)
pendown()
quarter_arc_right(23)
penup()
quarter_arc_right(92)
left(90)
ellipse(25,12.5,50)
penup()
right(145)
forward(90)
left(30)
ellipse(25,12.5,50)
input()