Equations for folded lemnisate-like curves

30 Views Asked by At

I'm trying to curve a set of lemnisate/infinity sign curves, such that the circles overlap along the z axis. Ie.

folded lemnisate

The equation for this curve is:

$x = a\cdot\sin(t)\cdot\cos(t)\\$
$y = a\cdot\sin(t)\cdot\sin(t)\\$
$z = b\cdot \sin(t)\\$

The problem I'm having is with the more complicated "double infinity" and "triple infinity" curves: double infinity triple infinity

I expected the equations for these folded curves to be pretty simple, I can't seem to find anything that actually describes them well. Does anyone know what equations would describe these topologies?