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.
This commit is contained in:
Lauren Dawnkaski 2024-09-24 12:08:21 -04:00
parent 38a3f32a21
commit 41b98e323f
1 changed files with 51 additions and 1 deletions

View File

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