From 41b98e323fb5eadcb89a4f1191ad26a06bdb68b9 Mon Sep 17 00:00:00 2001 From: Lauren Dawnkaski Date: Tue, 24 Sep 2024 12:08:21 -0400 Subject: [PATCH] I have completed all 4 letters (a, d, l, u) I originally had trouble creating the middle section of the A due to the angles. Then I reflected on the correct angles and checked the math and eventually figured it out after some trial and error. --- typeface.py | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/typeface.py b/typeface.py index 7ab68c3..e6bfb1a 100644 --- a/typeface.py +++ b/typeface.py @@ -17,7 +17,57 @@ def fly(distance): pendown() def draw_letter_a(unit): - pass + forward(unit*3) + left(90) + forward(unit*1.5) + left(90) + forward(unit*.5) + right(90) + forward(unit*.5) + right(90) + forward(unit*3) + right(90) + forward(unit*.5) + right(90) + forward(unit*.5) + left(90) + forward(unit*1.5) + left(90) + forward(unit*3) + left(90) + forward(unit*1.5) + left(90) + forward(unit) + right(74.7448812969) + forward(unit*sqrt(32.5)) + right(15.2551187031) + forward(unit) + left(90) + forward(unit*3) + left(90) + forward(unit) + right(15.2551187031) + forward(unit*sqrt(32.5)) + right(74.7448812969) + forward(unit) + left(90) + forward(unit*1.5) + right (180) + fly(unit*4) + right(90) + fly(unit*3.5) + forward(unit) + left(104.0362434679) + forward(unit*sqrt(4.25)) + left(151.927513064) + forward(unit*sqrt(4.25)) + right(75.9637565321) + fly(unit*3.5) + left(90) + fly(unit*4) + left(90) + + def draw_letter_b(unit): pass