pythagorean theorem proved

Move the green and blue sliders. Notice what happens to the green and blue squares.

What is the relationship between the areas of the green, blue and red squares?

What are the areas of the squares in terms of a,b, and c? Using the relationship found above, how does this idea prove the pythagorean theorem (a+b=c.