價格:免費
更新日期:2013-11-19
檔案大小:141k
目前版本:1.0.6
版本需求:Android 2.3.3 以上版本
官方網站:mailto:android@jackhollow.com
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.