Rewrite animation.