Pythagorean Theorem (2)

This HTML5 app shows a right triangle. You can move the vertex of the right angle with pressed mouse button.

This browser doesn't support HTML5 canvas!
 
a2 = c p
b2 = c q
 
a2 + b2 = c2