Many of this blog’s entries seem … random and unconnected. This is another one, despite it being quite connected to some research I’m presently conducting. This week, we discuss Lissajous curves.
We’ll see the formulas, and how to select “nice” parameters.
The Lissajous parametric curve is given by
- varies from 0 to 1, with needed for this to happen,
- controls x-axis scaling,
- controls y-axis scaling,
- gives the x-frequency,
- gives the phase of the x-frequencies,
- gives the y-frequency.
- is rational, the curve on from 0 to 1 closes,
- and are integers and relatively prime, you get the maximum amount of wiggle for the curve.
- is well-chosen, you can either have the curves pass all very near to each other, or very far, even have a crossing at the origin.
For ill-chosen , you can have a “catastrophe”, where the curve backs up onto itself giving it “horns”:
To understand how this happens, we must have a look at how the sine and cosine behave relative to , from 0 to 1:
Lo! Sine and cosine reach -1 at the same time, at , and are complementary (+1 and -1) at . Whenever the sine and cosine line up exactly (both at +1 or both at -1) or are in opposition (one at +1 and the other -1), you get a catastrophe. You must therefore choose , , and in order to avoid having these co-occurrences. If you choose these wisely, you can get a curve that covers all of the surface evenly. With , and , you get the very beautiful curve: