Evaluating a polynomial of degree n−1 at n points costs O(n²) multiplications when done naively. The number-theoretic transform — the finite-field analogue of the FFT — reduces this to O(n log n) using exact modular arithmetic instead of floating point, with no rounding error anywhere. Fast polynomial arithmetic of this kind is the inner loop of zero-knowledge commitment schemes.
This is my ongoing undergraduate research with Prof. Dimitris Papadopoulos at HKUST. The repository contains the C implementation and the benchmark harness; the interactive butterfly demo above is a plain-JavaScript rendering of the same algorithm, self-verified against an O(n²) reference on every run.
Current status: the mixed radix pipeline is complete and verified. I really love this project and plan to spend more time later.