Pythagorean theorem visualized