picture(x, y) = cos(x
2
+ y
2
)
Step size:
Sampled image
Spectrum (logscaled)
Spectrum -> image
-Disable for speed
I recommend using Chrome. In FF the Spectrum is sometimes black
Used for FFT:
https://github.com/wellflat/javascript-labs/tree/master/cv/fft
Check out Lena:
http://rest-term.com/labs/html5/fft.html