Yes!!!
Sine is a trigonometric function that forms a smooth wave like pattern, when you use rep every 0.0167 seconds X position = sine(time elapsed since card started) for example, the X position will smoothly transition from -1 to 1 forever as long as it's not interrupted, also if you want the opacity to be (sine(time) + 1)/2 it will fade in and fade out in a smooth motion.