Roger Alperin's paper Modular Tree of Pythagoras shows it is possible to generate Pythagorean triples from others. If $a,b,c$ are the sides of a right triangle $a^2 + b^2 = c^2$ then we can derive another one using the formula:
$$ \begin{array}{ccrcrcc} a &\mapsto & a &+& 2b &+& 2c \\ b &\mapsto & 2a &+& b &+& 2c \\ c &\mapsto & 2a &+& 2b & +& 3c \end{array} $$
The other two matrices can be found in Wikipedia. Is there any way to illustrate how to generate one integer right-triangle from another using a dissection?
Another possibility uses parametrization $(a,b,c) = (m^2 - n^2, 2mn, m^2 + n^2)$. In this case the substitution above reduces to:
$$ \begin{array}{ccrcrcc} m &\mapsto & m &+& n \\ n &\mapsto & &+& n \end{array} $$
which is an element of $\mathrm{SL}(2,\mathbb{Z})$. How can we visualize this shift as an action of the triangles on the plane?
Solutions Pythagorean triples: $X^2+Y^2=Z^2$
You can also submit through another Pythagorean triples: $a^2+b^2=c^2$
Here is some formula, although they can write an infinite amount. All a matter of taste.
$a=p^2-4ps+3s^2$
$b=2s(2s-p)$
$c=p^2-4ps+5s^2$
Or these:
$a=2s(s-p)$
$b=p(p-2s)$
$c=p^2-2ps+2s^2$
Then using these triples can come to others.
$X=ak^2-at^2$
$Y=bk^2-2ckt+bt^2$
$Z=ck^2-2bkt+ct^2$
$p,s,k,t$ - what some integers.