Back

Lissajous figures

What you are seeing: a parametric curve generated by two perpendicular harmonic oscillations, x(t)=Asin(at+δ)x(t) = A \sin(a t + \delta) and y(t)=Bsin(bt)y(t) = B \sin(b t). The shape depends only on the ratio a/ba / b and the phase δ\delta. When a/ba / b is rational, the curve closes after time T=2π/gcd(a,b)T = 2\pi / \gcd(a, b); when irrational, it never closes and densely fills a bounding box.

The classical 1:1 case with δ=π/2\delta = \pi/2 gives a circle; with δ=0\delta = 0 it gives the line y=xy = x. 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 δ\delta rotates and re-shapes the figure smoothly.

Figure 1. Lissajous figure. Method: closed-form parametric evaluation, animated pen with trailing curve.
a (x freq)3
b (y freq)5
phase d1.57
speed2

WHAT TO TRY

  • Vary each control and watch the rail readouts respond.
  • Compare the diagnostic plot against the live scene.