ci code for animation