An imgui+webGL toy, visualizing FFT of plane waves.
- Get https://nixos.org/download.html (
$ sh <(curl -L https://nixos.org/nix/install) --daemon
) - Get https://direnv.net/
- Get https://github.com/nix-community/home-manager/ with
programs.direnv.enable = true
andprograms.direnv.nix-direnv.enable = true
echo use nix > .envrc
direnv allow
cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_EMSCRIPTEN=OFF
cmake --build build/
cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build build/
npx http-server build/ -c-1
- init: a bunch of copy-paste to bootstrap the cmake, glfw, imgui, and emscripten trivia; raii headers in their current form can obviously only be included once, or they won't link correctly
- build github-pages on a push to master
- patch the negative DeltaTime issue in firefox
- switch from GLFW to SDL just to feel the difference between the APIs
- fft in a separate thread, on a frequency lower than the framerate
- switching between glfw/sdl via policies?
- a shader to visualize the implicit periodic extensions of the image
- an option to visualize an implicitly zero-padded signal
- 1d signal