How to make a math-based rocket trajectory?


I’m scripting a boss battle where the boss is in a UFO. He fires rockets at the player and i want those rockets to have a bit of a cartoony effect/trajectory. The big question is, how could i either make something like this as a trajectory:


or something along the lines of this:

I have thought of bezier curves but wasn’t sure if that would be the solution since as far as i’m aware, you can only use 4 points there.

Thanks in advance!

The sin and cosine functions can create a circular effect.