◯ The Tone Generator
MATH MODE

Source

Curve

Freq A (X)3.00
Freq B (Y)2.00
Phase δ1.57
Waveform X (horizontal)
Waveform Y (vertical)
Textbook Figures (holds still)
Sets sine waves, stops the auto-drift, and turns off envelope and copies, so the figure holds still for counting. See how to read it below.
Amplitude Envelope
Duplicator (Harmony)
Copies1 (off)

Display

Trail LengthLong
Zoom1.0x
FacetsSmooth
Points drawn per loop. Slide left for crystalline, faceted shapes (try it with Copies and Auto-drift on); far right keeps every curve smooth.

About This Tool

What is a Lissajous curve?

The path traced when two independent oscillations drive the X and Y axes of a display at the same time — the classic form is x = A·sin(a·t + δ), y = B·sin(b·t), where the ratio of a to b sets the shape. When that ratio is simple (1:1, 2:3, 3:4...) the curve closes into a repeating loop; slightly off it, the shape slowly rotates and never quite repeats — which is what the auto-drift option here does on purpose.

How to read the frequency ratio from a Lissajous figure

This is the classic lab use: feed a known frequency into one axis and an unknown into the other, then read the unknown off the shape. Imagine the figure sitting inside a box that just touches its edges. Count how many times the curve touches the top edge, and how many times it touches one side edge. Top-edge touches correspond to the vertical (Y) frequency; side-edge touches to the horizontal (X) frequency:

fY : fX = top touches : side touches

Load the 1:2 figure 8 preset above: the sideways eight touches the top twice and each side once, so Y runs at twice X's frequency. The 2:3 and 3:4 presets work the same way: 3 top touches against 2 side touches, then 4 against 3. Counting crossings of a horizontal and a vertical line through the middle gives the same ratio, as long as the line doesn't pass through a point where the curve crosses itself.

One catch: at certain phases the figure folds back on itself and traces the same path twice. The 1:2 parabola preset is the same 1:2 ratio as the figure eight, just at a different phase, and it only touches the top once. If a count looks wrong, change the phase a little until the figure opens up, then count. On a real scope with slightly mismatched frequencies the figure rotates slowly on its own, which is what the auto-drift option here imitates.

How to read the phase difference from a Lissajous ellipse

When both signals share the same frequency (1:1), the figure is an ellipse, and its shape gives the phase difference between them. Measure where the ellipse crosses the horizontal center line (x0, distance from the center) and the ellipse's maximum horizontal extent (A). Then:

phase = arcsin(x0 / A)

Step through the three 1:1 presets to see it: at 0° the ellipse flattens into a diagonal line (x0 = 0), at 45° it's a tilted ellipse (x0/A ≈ 0.71), and at 90° it opens into a circle (x0 = A, when both amplitudes are equal). Past 90° the ellipse tilts the other way, and at 180° it collapses into the opposite diagonal. Arcsin alone can't tell 45° from 135°, so the tilt direction is what tells you which side of 90° you're on.

How is this different from a regular oscilloscope?

A normal scope plots amplitude against time. This simulator runs in XY mode instead — plotting one signal's amplitude directly against another's, tracing the shape of their relationship rather than a waveform. Two identical signals draw a straight diagonal line; any frequency or phase difference opens that line into a loop.

What does Live Audio mode show?

It's a real-time microphone visualizer built on the browser's Web Audio API: your mic's left channel drives X, and the right channel drives Y after passing through whichever waveform is selected for Y above (Sine leaves it untouched). Most laptop mics are mono, so with Sine selected you'll see a straight diagonal line — that's correct, both channels are identical. Switching Y to Square, Triangle, or a Custom drawn shape runs that mono signal through a real waveshaping curve, opening the diagonal into an actual figure even without stereo input; a true stereo source will draw the real shape of its stereo field regardless of waveform.

Using it with a real oscilloscope

You can draw the same figures on real hardware with this site's Tone Generator. Turn on its Binaural mode: the left channel plays the base frequency and the right channel plays the base plus the beat (up to 40 Hz). Split a 3.5 mm stereo cable to two inputs (tip is left, ring is right), send left to channel 1 and right to channel 2, and switch the scope to XY mode. Keep the volume low.

A small beat, say 0.5 Hz, gives the classic slowly rotating 1:1 ellipse: line, ellipse, circle, and back, once per beat. That's the real-world version of the auto-drift option above. For the textbook ratios, use a low base frequency so the 40 Hz beat covers the gap: 40 Hz + 40 Hz beat = 1:2, 80 + 40 = 2:3, 120 + 40 = 3:4. No scope? Feed the same stereo signal back into this page's Live Audio mode with a stereo input.

Where else does this show up on the site?

The Resonance Console's own XY Oscilloscope uses the same underlying idea, tapping each sound layer's real stereo output instead of a single math curve or the mic. Anubis draws its own gold wireframe Lissajous visual the same way, and Healing Edition's bowl mandala traces a live stereo Lissajous curve from its own analysers too. Aura takes a different route to the same shape: each axis sums several sine harmonics of a shared parameter, with the harmonics' amplitudes driven live by audio frequency-band analysis instead of two channels plotted directly against each other.

For the same physics on a surface instead of a scope, the Cymatics Simulator shows a vibrating plate sorting sand onto its nodal lines, standing waves in two dimensions. The print gallery has real photographs of those patterns forming in fluid.