📡 2D AM/FM Modulation
2D AM and FM modulation simulator with a real FFT-driven spectrum. Watch true amplitude and frequency modulation and the genuine sidebands that emerge from a live DFT of the modulated signal.
About the 2D AM/FM Modulation Simulator
What It Demonstrates
This companion to the 3D AM/FM simulator runs the exact same modulation mathematics on a flat 2D canvas, but computes its spectrum with a genuine Cooley-Tukey FFT run on the real modulated sample buffer — the AM sidebands and FM sideband spreading you see are measured, not drawn from a formula.
How to Use
Switch between AM and FM with the mode buttons. Drag the carrier and message frequency sliders, then raise the modulation index — in FM watch extra sideband pairs appear in the live FFT output exactly where the Bessel-function theory predicts them, because the spectrum comes from the same numerically phase-integrated signal that draws the waveform above it.
Did You Know?
A Hann window is applied to the sample buffer before the FFT runs. Without it, the abrupt edges of a finite sample block would smear energy across many extra bins (spectral leakage) — windowing is exactly what real spectrum analyzers do before computing a DFT on any finite chunk of real-world signal.
2D AM and FM modulation simulator with a real FFT-driven spectrum. Watch true amplitude-envelope modulation and true phase-integrated frequency modulation, with genuine sidebands measured by a live 1024-point DFT — not drawn from a formula.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install