diff --git a/README.md b/README.md index aee1fea..258f784 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/__pycache__/ellipse.cpython-311.pyc b/__pycache__/ellipse.cpython-311.pyc new file mode 100644 index 0000000..e71aa6b Binary files /dev/null and b/__pycache__/ellipse.cpython-311.pyc differ diff --git a/drawing.py b/drawing.py index 29fc89e..519eba5 100644 --- a/drawing.py +++ b/drawing.py @@ -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() + +