OceanFFT
OpenGL Demo: Simulating Ocean Waves with FFT
Install / Use
/learn @achalpandeyy/OceanFFTREADME
OceanFFT
Realistic ocean wave simulation, primarily based on J. Tessendorf's paper, using OpenGL compute shaders. Checkout the demo video here.

In the quest for more realism, a different spectrum is used than the Phillips spectrum mentioned in the original paper. Stockham formulation of FFT is used to better map the problem to the GPU and avoid expensive bit-reversal operation required for the vanilla Cooley-Tukey algorithm.
Build Instructions
- Clone recursively with submodules via
git clone --recurse-submodules git://github.com/achalpandeyy/OceanFFT.git - Run CMake in the root directory
Dependencies
Uses my OpenGL framework Ogle as a submodule.
References
-
For ocean physics: Fynn-Jorin Flügge's thesis, Jump Trajectory's video for Unity, dli/waves
-
For FFT and the math behind it: Eric Bainville's blog, Introduction to the Stockham FFT, 3b1b's video on Fourier Transform, Reducible's video on FFT
Related Skills
node-connect
335.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.7kCommit, push, and open a PR
