An interactive pythagorean right triangle