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.
This commit is contained in:
Cory Dean Chung 2023-07-28 11:37:31 -04:00
parent 55e84fd594
commit c1ac19b584
1 changed files with 18 additions and 1 deletions

View File

@ -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