About Ocean FFT
This is a DEMO app showing a Java / Android implementation of the FFT process for simulating a moving ocean surface, as per Keith Lantzs work at http://www.keithlantz.net.
The app allows for certain parameters to be altered:
- alpha (spectrum)
- wind speed
- "choppiness"
- gravity
It is hardcoded to a 64x64 grid with a "wave length" of 48, which will be too much for many processors; you'll need at minimum a dual core 1Ghz supporting OpenGLES2.0.
If you get a "force close", then your device probably doesn't support the fragment shader being used.
The FFT evaluation is run in a separate thread; FPS is shown for both threads.
One day I may turn it into a live wallpaper, or a game maybe.
by R####:
The ability to update the parameters on the fly is a nice perk together with the animated light source.