Turtle post with triangles

Here's my turtle code. It makes right triangles (and figures out the correct angles based on the length of the sides). I spent a little too much time this afternoon re-teaching myself some math...