Animate by using the frame counter.