Skip to content

frederikhermans/js-kiss-fft2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Kiss FFT

This is a simple JavaScript project that implements 2D FFT and IFFT functions. For a usage example, see the benchmark() function in index.html.

The implementation is based on the Kiss FFT library, which has been compiled to JavaScript using emscripten. This is the first time I've used Kiss or emscripten, so expect bugs. Works for me™ in Firefox 44 and Chrome 48.

Try it out

$ git clone https://github.com/frederikhermans/js-kiss-fft2
$ python -m SimpleHTTPServer

Open http://localhost:8000 in your browser, click the "Benchmark" button.

Build it yourself

To build the library yourself, you need emcc on your $PATH. Just run:

$ make

TODO

  • Simplify memory handling
  • Compare performance to other JavaScript 2D FFT libraries

About

2D FFT and IFFT in JavaScript based on Kiss FFT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published