I have a parametric equation given by:
$x=\cos(6u)$
$y=\sin(4u)$
And I understand that the speed of a particle at any given t is:
$\sqrt{\left(\dfrac{dx}{du}\right)^2 + \left(\dfrac {dy}{du} \right)^2} $
Which for my parametric equation would be:
$\sqrt{36 \sin^2(6u) + 16 \cos^2(4u)}$
I am trying to make a particle move at a constant speed along the parametric equation.
I have looked and seem to be unable to find information on how to do this, the only thing I did find is this paper on the subject.
Unfortunately given my rather basic grasp of calculus I wasn't able to make much sense of it.
To clarify, I am looking for $u$ in terms of time such that the particle maintains constant speed.
Thanks.


Generalities: Suppose a plane parametric curve is defined by $x = f(t)$ and $y = g(t)$ for $a \leq t \leq b$. (For technical reasons, assume $f$ and $g$ have continuous first derivatives, and that the curve's velocity is never $(0, 0)$, i.e., $f'$ and $g'$ never vanish at the same point.)
The speed of the curve is $$ s'(t) = \sqrt{f'(t)^{2} + g'(t)^{2}}, $$ and the arc length function $s$ on $[a, b]$ is defined by $$ s(t) = \int_{a}^{t} \sqrt{f'(u)^{2} + g'(u)^{2}}\, du. $$ For convenience, let $\ell = s(b)$ denote the length of the curve.
Since $s' > 0$ (the velocity is non-vanishing, so the speed is positive), $s:[a, b] \to [0, \ell]$ is strictly increasing, and therefore has a differentiable inverse function $\tau:[0, \ell] \to [a, b]$. By the chain rule and the formula for the derivative of an inverse function, the parametrization $$ x = f \circ \tau,\quad y = g \circ \tau $$ has speed $s'(t)\, \tau'(s) = 1$.
Specifics: For the curve in this question, $x = \cos(6t)$ and $y = \sin(4t)$ are $\pi$-periodic, and the arc length function is given by $$ s(t) = \int_{0}^{t} \sqrt{36 \sin^{2}(6u) + 16 \cos^{2}(4u)}\, du,\quad 0 \leq t \leq \pi. $$ As above, put $$ \ell = s(\pi) = \int_{0}^{\pi} \sqrt{36 \sin^{2}(6u) + 16 \cos^{2}(4u)}\, du. $$
Let's suppose the animation is to have $N$ "position steps", i.e., the particle can be at any of $N$ distinct locations. (In the diagram, $N = 120$.)
One (inflexible, and therefore possibly inelegant) approach would be to pre-compute (and store in the program) $N$ values $t_{i}$, $1 \leq i \leq N$, for which $$ s(t_{i}) \approx \frac{i}{N}\, \ell, $$ namely, to calculate the $t$ values for which the particle is $(i/N)$ of the way along the curve with respect to arc length. Then, when the program needs to display the particle at "the $i$th position", it plots $\bigl(f(t_{i}), g(t_{i})\bigr)$. (Symmetry of the speed for this curve allows the position to be reconstructed from $N/4$ points, in case that's helpful.)
Note: The original parametrization, the "shadow" of a point moving at constant speed along an imaginary surface (a flat torus in four-dimensional space if it matters), may look more "natural" than a constant-speed parametrization. That is, don't expend a lot of computational effort to make the motion look "forced" unless you're positive that's what you want or need.