Demo of smooth oscillation using anim