Chose either custom triangle or random triangle. I made this project for school, so I could have make it way more simple but I needed to use the Pythagorean Theorem it's self or I won't get a good score. The drawing and calculating, if I did it the efficient way, takes slightly longer than 0.0 seconds :P. Some help from Physonium: