a b c

Drag to change a and b. Perigal cuts the larger leg-square, so a stays the shorter leg.

a²
=
b²
=
c²
=
a² + b² c²

a² = + b² = = c² =