Hi,

I need to draw a right triangle, based on the height and the base of it. An Isosceles one is easy to draw, but a randomly chosen relation between the height and the base (which gives me a right triangle other than 90, 45, 45) needs to be based on a mathematical proximity, and that I find harder to implement.

Thanks in advance, Yael.

an example of 5 over 8 right triangle, doesn't have to be exactly this way, but has to look good

good one:

*

***

*****

*******

********

bad one:

*

**

***

****

********