generated from mwc/problemset_typeface
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.
This commit is contained in:
parent
d701474f3d
commit
2a744dcaf3
27
typeface.py
27
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
|
||||
|
|
Loading…
Reference in New Issue