Home▸Algorithms & AI▸Radix-2 FFT Butterfly Diagram: Stage-by-Stage Spectrum and Operation Count (2D)

Radix-2 FFT Butterfly Diagram: Stage-by-Stage Spectrum and Operation Count (2D)

The same radix-2 FFT drawn as the classic butterfly diagram: N rows, log2 N stages, node size showing the magnitude of each partial transform, plus the final spectrum and the operation counts of FFT versus direct DFT.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Radix-2 FFT Butterfly Diagram: Stage-by-Stage Spectrum and Operation Count (2D) ↗ Open standalone

Watch the Cooley-Tukey decimation-in-time FFT run as a physical butterfly network: the input is bit-reversed, then log2 N stages of N/2 butterflies each combine pairs of values with twiddle factors until the spectrum appears. Choose the transform size, two tones (including between-bin frequencies that leak), noise and a Hann window, and compare the (N/2)log2 N butterflies with the N squared multiplications of the direct DFT. A Blender-built node network with numerical checks.

⚙ Under the hood

The same radix-2 FFT drawn as the classic butterfly diagram: N rows, log2 N stages, node size showing the magnitude of each partial transform, plus the final spectrum and the operation counts of FFT versus direct DFT.

FFTFast Fourier TransformCooley-TukeyButterfly NetworkBit ReversalAlgorithm ComplexitySpectral Leakage

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)