Here's the source all neatly compressed
And uncompressed
You can either position your mouse and press a key (thanks Carl West - great idea!) or position the red square and click "Animate To Square" -

original equations from Robert Penner's site