Drafted the animation engine