From 2a744dcaf32302f0fe801fac9a6ba7927f68884f Mon Sep 17 00:00:00 2001 From: Seoyeon Lee Date: Sun, 22 Sep 2024 00:57:00 -0400 Subject: [PATCH] After failing, I sketched a letter K shape on the piece of paper again. Second sketch was bigger and more clear by using a grid paper. It helps a lot. I realize that there are many assuptions I made without thinking about the process thoroughly. I took a few advice from my husband, but when I realize that my work is failing, I started laughing. I revisited the sketch, and I realized that my sketch is really bad, with a new sketch, I was able to think about angles more clarly. I started with K, I decide to pick my next letters something much simpler or easy ones. --- typeface.py | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/typeface.py b/typeface.py index b966bef..50451b3 100644 --- a/typeface.py +++ b/typeface.py @@ -43,7 +43,32 @@ def draw_letter_j(unit): pass def draw_letter_k(unit): - pass + forward(2*unit) + left(90) + forward(3*unit) + right(90+36.87) + forward(5*unit) + left(36.87+26.57) + forward(sqrt(5)*unit) + left(180-36.87-26.57) + forward(5*unit) + right(180-2*36.87) + forward(5*unit) + left(180-36.87-26.57) + forward(sqrt(5)*unit) + left(26.57+36.87) + forward(5*unit) + right(90+36.87) + forward(3*unit) + left(90) + forward(2*unit) + left(90) + forward(8*unit) + left(90) + + + + def draw_letter_l(unit): pass