1.0.2 • Published 1 year ago

webgl-fft-ocean v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

webgl-fft-ocean

Webgl Ocean based on Tessendorf paper. Implementation of Phillips spectrum and its inverse FFT.

The grid used is a projected grid from screenspace to worldspace. The static, dynamic Phillips spectrum and the inverse FFT of it is displayed on the left panel.

To run the program:

  • pnpm i
  • pnpm run dev

Commands:

  • W: toggle wireframe
  • Left, right, up, down arrow: displacement given a direction
  • s,x: pitch,
  • a,z : up, down

Small program written in typescript. It displays a wave constructed by the inverse FFT of the Phillips spectrum.

Further work:

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago