Driving Servo Sinusoidally

FWIW
If the servo was providing the up and down motion of the "fin" - say the Y axis, wouldn't the wave shape depend on speed that the "fish" was moving? (say the X axis).
I'd guess it's quite possible to control a servo to generate the Y axis for an expected, or measured X axis.