From 6feb61778d0c4694be57d7ed94991f4da7f4ffd4 Mon Sep 17 00:00:00 2001 From: Seoyeon Lee Date: Sun, 22 Sep 2024 01:58:32 -0400 Subject: [PATCH] After drawing K, L, and O, I tried to do E. I used a function to draw some part of the letter, E. I named the function 'arm' and repeated the same process. I wanted to try something different this time, and I also want to use what I have learned from this course. So, even though the fuction runs only twice, I was satisfied it worked well, and this is something I was able to do it without fixing errors multiple times. I felt that this time I intentionally slowed down my thinking process and have a plan in advance before starting typing anything. My skill for sketching has improved too. --- typeface.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/typeface.py b/typeface.py index 10d3bc6..23ee01c 100644 --- a/typeface.py +++ b/typeface.py @@ -25,7 +25,29 @@ def draw_letter_d(unit): pass def draw_letter_e(unit): - pass + def arm(): + forward(6*unit) + right(90) + forward(1*unit) + right(90) + forward(6*unit) + left(90) + forward(2.5*unit) + left(90) + left(90) + forward(8*unit) + right(90) + forward(2*unit) + arm() + arm() + forward(6*unit) + right(90) + forward(1*unit) + right(90) + forward(8*unit) + right(180) + + def draw_letter_f(unit): pass