From d8b61fad0c82b3bced5a0b3565bae5882d351c51 Mon Sep 17 00:00:00 2001 From: Rebecca Hankey Date: Wed, 2 Oct 2024 20:10:15 -0400 Subject: [PATCH] When I went back through the drawing for the final time I started by attempting to incorporate animation. I worked with this process for a long time and ultimately realized that it was further confusing me and how to integrate iterations into the code. Once again I put myself in the shoes of a student and tried to take a step back. I recognized that this was making me frustrated and the process that was previously exciting and where I could see the information synthesizing was becoming murkey and I was losing the origional concept entirely. I thought about if I was a teacher to this student what would I do? I would tell that student to evaluate what the core concepts of this project were and what I needed to know and master in order to continue learning. So, I decided to go back. Instead of trying to incorporate animation, I went back through the code I had already written and looked for opportunities to revies and integrate iteration instead of having repitetitive code. There were a few different places that needed to be adjusted and that was difficult at times, but I was able to complete them all! This was a really big win for me in a process that has not been easy. For the future, I want to incorporate a different planning strategy that will be a little less create and play and a little more step by step. --- drawing.py | 78 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 26 deletions(-) diff --git a/drawing.py b/drawing.py index c31bda5..3079ddf 100644 --- a/drawing.py +++ b/drawing.py @@ -99,25 +99,21 @@ penup() right(90) forward(70) pendown() -book_decal_triangle(20) -penup() -forward(30) -pendown() -book_decal_triangle(20) -penup() -forward(30) -pendown() -book_decal_triangle(20) -penup() -forward(30) -pendown() -book_decal_triangle(20) -"Above is final book decorations" + +for _ in range(4): + book_decal_triangle(20) + penup() + forward(30) + pendown() + left(90) penup() forward(90) left(90) -forward(60) +forward(90) + +"Above is final book decorations" + pendown() book_decal_rectangle(20,55) left(90) @@ -132,17 +128,12 @@ forward(65) right(90) forward(75) pendown() -book_decal_triangle(10) -right(60) -book_decal_triangle(10) -right(60) -book_decal_triangle(10) -right(60) -book_decal_triangle(10) -right(60) -book_decal_triangle(10) -right(60) -book_decal_triangle(10) + +for _ in range(6): + book_decal_triangle(10) + right(60) + +left(60) penup() forward(60) right(60) @@ -206,5 +197,40 @@ left(90) pendown() forward(200) +"Below book on end" +penup() +forward(40) +left(90) +forward(40) +pendown() +book_decal_rectangle(30,200) + +half_arc_right(30) +right(180) +forward(200) +half_arc_left(30) +penup() +forward(10) +left(90) +forward(10) +pendown() + +forward(30) +right(180) +penup() +forward(30) +left(90) +forward(10) +left(90) +pendown() +forward(30) +right(180) +penup() +forward(30) +left(90) +forward(10) +left(90) +pendown() +forward(30) input() \ No newline at end of file