Animate and rotate a square.