Adds sin delay to animation for non uniform speed.