Home▸Algorithms & AI▸Radix-2 FFT Butterfly Network: Bit Reversal, Twiddle Factors and Operation Count

Radix-2 FFT Butterfly Network: Bit Reversal, Twiddle Factors and Operation Count

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.

Algorithms & AI3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Radix-2 FFT Butterfly Network: Bit Reversal, Twiddle Factors and Operation Count ↗ 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

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.

FFTFast Fourier TransformCooley-TukeyButterfly NetworkBit ReversalAlgorithm ComplexitySpectral Leakage

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)