Animation of the bubble-blowing code