A Lissajous curve is what a dot draws when it moves left and right at one frequency while moving up and down at another. The free Lissajous Curves app has sliders for both frequencies, the phase between them and a small detune that pushes the ratio off a clean pair.
Open the app in its own tab, or use its Full screen button.
The curve and its history
MathWorld gives the family as x(t) = A cos(ω_x t − δ_x) and y(t) = B cos(ω_y t − δ_y), and notes it is often written with sines instead. Nathaniel Bowditch studied the curves in 1815, which is why they sometimes carry his name, and Jules-Antoine Lissajous studied them in more detail, independently, in 1857.
The app uses sines: x = sin(at + phase), y = sin(bt). Whole-number settings of a and b give a closed knot.

When the curve closes
For nonzero amplitudes and frequencies, MathWorld states the parameterization is periodic if and only if the ratio of the two frequencies is rational. A 3:2 pair repeats after one turn of 2π. A 5:4 pair does as well, with more lobes and more crossings.

The same page lists the simple cases: a line segment when both frequencies equal 1 and the phase is zero, a circle when the amplitudes match and the phase is π/2, and an ellipse when they differ.
A knot that takes 200π to close
The detune slider adds a small amount to b. At 0.01 the ratio becomes 3 : 2.01, which is 300 : 201 as whole numbers. That pair is rational, so the curve does close, but only after t reaches 200π, a hundred times longer than the plain 3:2 pair. The app draws exactly that span, which is why the last screenshot is a dense lattice instead of a loop.

The tone in the companion reel uses the same idea with sound: two sine waves, one fixed at 330 Hz and one starting at 220 Hz and drifting up to 225.5 Hz, so the 3:2 pair slowly goes out of tune, the audible counterpart of the knot unwinding. The rhythm-to-pitch post turns rhythm into pitch in the opposite direction.
Sources
The 200π closing time is computed from the 300:201 ratio; the reel audio frequencies come from the reel script.
