Spectra
Every signal is a sum of sines.
What it is
Spectra is an interactive Fourier-transform explorer that decomposes a signal into its constituent frequencies and shows the time- and frequency-domain views side by side. The signature technique is a from-scratch radix-2 Cooley-Tukey FFT with a Hann window, verified against its own mathematical identities such as Parseval energy conservation and an exact inverse round-trip. It is a dependency-light build you can download and run locally.
A radix-2 Cooley-Tukey FFT (and inverse) with a Hann window, driving paired time- and frequency-domain views. 14 tests using the transform's own identities - Parseval energy conservation, exact inverse round-trip.
What's inside
The full source, the tests, and CI. Open it, read it, change it. A zero-dependency core, free, in the MIT spirit.
Run it after unzip
pnpm install && pnpm dev