From c1ac19b5841dcb84796a56497e064fad11eebcd8 Mon Sep 17 00:00:00 2001 From: Cory Dean Chung Date: Fri, 28 Jul 2023 11:37:31 -0400 Subject: [PATCH] I added the letter H. I wanted to apply the circle function and also exploit symmetry as I did with Z. This also went quickly, because I could reuse pieces of code I had written for the other letters. I enjoyed it and felt accomplished. There weren't really any problems with this letter since it was the 7th I'd designed. --- typeface.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/typeface.py b/typeface.py index bc38b07..406e886 100644 --- a/typeface.py +++ b/typeface.py @@ -98,7 +98,24 @@ def draw_letter_g(unit): pass def draw_letter_h(unit): - pass + for i in range(2): + circle(unit,90) + forward(6 * unit) + circle(unit,90) + right(180) + forward(3.5 * unit) + circle(-unit,-90) + right(180) + forward(1.5 * unit) + circle(unit,90) + forward(1 * unit) + circle(unit,90) + forward(1.5 * unit) + circle(unit,90) + right(180) + forward(3.5 * unit) + right(180) + def draw_letter_i(unit): pass