From eb1da3345634da436d1e64fcf3bc63f4a6ffbe76 Mon Sep 17 00:00:00 2001 From: jwberent Date: Fri, 26 Sep 2025 19:33:15 -0400 Subject: [PATCH] I changed my README.md file. - There is nothing to reflect on as I have not added anything. --- README.md | 6 +++--- drawing.py | 27 ++++++++++++++++++++------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5601163..ba88f9b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Description -I want to create a person waving. I will animate the person's arm to make the waving motion. I will make a background so the person will be standing on grass and there will be other components to the background. +I want to create a person standing outside. I will make a person and a background so the person will be standing on grass and there will be other components to the background like a house. ## Planning @@ -10,7 +10,7 @@ I want to create a person waving. I will animate the person's arm to make the w I will create the person by making the rectangle(height,width,color) and circle(radius) functions. The rectangles can be used for the person's arms and legs and the circles can be used for the person's head and eyes. I will combine them together to make the person. ### Milestone 2: -I will make the wave animation. I will use Superturtle to make the person's arm move back and forth in a waving motion. +I will make the person's face and hair. I will also make clouds to show it snowing. I will use the circle function many times to make the clouds. ### Milestone 3: -I will make the background. I will add grass that the person will be standing on and will add other backgorund elements. +I will make the background. I will add grass by coloring a rectangle green that the person will be standing on and will add other background elements. diff --git a/drawing.py b/drawing.py index 982b350..310de76 100644 --- a/drawing.py +++ b/drawing.py @@ -14,10 +14,12 @@ def fly(forw): def rectangle(height,width,col): dimensions = [width, height, width, height] - color(col) + fillcolor(col) + begin_fill() for dim in dimensions: forward(dim) left(90) + end_fill() def triangle_facing_right(height,col): @@ -49,34 +51,45 @@ def circ(radius): circle(radius,360) #found in section 1 link of Typeface Problem set instructions -rectangle(250,150,"black") #this is the torso + +rectangle(250,150,"red") #this is the torso right(90) fly(150) left(90) -rectangle(150,50,"black") #this is the left leg +rectangle(150,50,"blue") #this is the left leg fly(100) -rectangle(150,50,"black") #this is the right leg +rectangle(150,50,"blue") #this is the right leg fly(50) left(90) fly(350) right(180) -rectangle(150,50,"black") #this is right arm +rectangle(150,50,"red") #this is right arm right(90) fly(300) left(90) -rectangle(150,50,"black") #this is left arm +rectangle(150,50,"red") #this is left arm right(180) fly(50) right(90) fly(230) left(90) -rectangle(10,30,"black") #this is the neck +rectangle(10,30,"white") #this is the neck left(90) fly(5) right(90) fly(30) right(90) circ(35) #this is the head +left(90) +fly(50) +left(90) +fly(10) +right(180) +circ(5) +fly(25) +circ(5) + + input()