An proof of the pythagorean theorem demonstrated on an HTML5 canvas