Butterfly diagram, node size = magnitude
Amplitude spectrum, bins 0 to N/2

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

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.

Made with 🟠 Blender