Interactive demo of the Pythagorean Theorem in Processing.js