速報APP / 娛樂 / Ocean FFT

Ocean FFT

價格:免費

更新日期:2013-11-19

檔案大小:141k

目前版本:1.0.6

版本需求:Android 2.3.3 以上版本

官方網站:mailto:android@jackhollow.com

Ocean FFT(圖1)-速報App

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

Ocean FFT(圖2)-速報App

- "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.

Ocean FFT(圖3)-速報App

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.

Ocean FFT(圖4)-速報App