Halting color animation after 20 frames

Utilized setInterval and clearInterval methods in place of ticker.
Calling stage.update() after each iteration.