GPU FFT core
WebGPU compute shaders accelerate the FFT engine itself. The repository includes a benchmark script that reports measured CPU and WebGPU results for the current environment.
GPU-accelerated 1D/2D FFT and real-input RFFT APIs for JavaScript and TypeScript. High-throughput transforms run on WebGPU; spectrum analysis and image filtering remain CPU-based utilities.
WebGPU compute shaders accelerate the FFT engine itself. The repository includes a benchmark script that reports measured CPU and WebGPU results for the current environment.
Complex FFT and real-input RFFT APIs are available on both CPU and GPU surfaces. Spectrum analysis and image filtering are built-in helpers, but they currently use CPU FFT internally.
ESM + CJS exports, no runtime dependencies, and a clean typed API surface for browser or Node-based workflows.
Start with Quick Start, verify supported APIs in the reference, then inspect the architecture pages if you need implementation details.
This site helps you answer four questions quickly:
FFTEngine and 2D FFT pipeline are the GPU-centered parts.createSpectrumAnalyzer() and createImageFilter() are convenience utilities built on the CPU FFT path.npm run benchmark reports measured CPU results and measured WebGPU results only when WebGPU is actually available.