I want to create an animation about roller coaster. One track I want to use looks like the following figure.

I am looking for the simplest non-piecewise parametric equation for both $x(t)$ and $y(t)$. Is there such a function?
I want to create an animation about roller coaster. One track I want to use looks like the following figure.

I am looking for the simplest non-piecewise parametric equation for both $x(t)$ and $y(t)$. Is there such a function?
Copyright © 2021 JogjaFile Inc.
\begin{align} x(t)&=5\sin(t)\cos(3t)\\ y(t)&=-4\sin(t)\sin(3t) \end{align}
from $-\pi/3$ to $\pi/3$ can provide a loop that is reasonably accepted for a practical purpose.