Hacker News new | ask | show | jobs
by goode 631 days ago
I was a bit confused what use an FFT had here since I was only familiar with the Fourier transform in the _forward_ direction (compute the component frequencies of a signal given samples). But this uses the _inverse_ Fourier transform, which effectively lets you take samples of a signal given its component frequencies. Here, those component frequencies are generated by mathematical functions developed (by other researchers) to model ocean waves, which are explained in https://github.com/2Retr0/GodotOceanWaves#ocean-wave-spectra.