An animation for multiple iterations of a Pythagorean tree animation in HTML Canvas