Lissajous Figures
What you are seeing: a parametric curve generated by two perpendicular harmonic oscillations, and . The shape depends only on the ratio and the phase . When is rational, the curve closes after time ; when irrational, it never closes and densely fills a bounding box.
The classical 1:1 case with gives a circle; with it gives the line . The 1:2 ratio gives a figure-eight. As the ratio gets more complex (3:4, 3:5, 5:7), the pattern becomes a denser quasi-grid. Phase rotates and re-shapes the figure smoothly.
a (x freq)3
b (y freq)5
phase d1.57
speed2
WHAT TO TRY
- Watch the wave above and the wave on the left: their current values are the dot's x and y. The figure is just those two oscillations combined.
- Tap a ratio in the gallery, or set $a$ and $b$ by hand. Simple ratios like 1:2 and 2:3 give clean loops; 5:7 fills the box with a dense mesh.
- With $a = b$, slide the phase $\delta$ from 0 to $\pi/2$ and watch a diagonal line open into a circle.