OceanDemo

Ocean demo in WebGPU

This is a port to Babylon.js of the great project FFT-Ocean: all credits to Ivan Pensionerov (https://github.com/gasgiant)!

Link to the demo: https://popov72.github.io/OceanDemo/dist/index.html

You can also browse this demo in the Babylon.js Playground: https://playground.babylonjs.com/#YX6IB8#229

Use F8 to show/hide the GUI (after you click anywhere in the rendering area to give focus to the canvas) and WASD to move.

Note that your browser needs to support WebGPU!

Ocean 1 Ocean 2 Ocean 3 Ocean GUI

Running locally

To run the demo on your local computer

  1. Clone / download this repository
  2. run npm install to install the needed dependencies.
  3. run npm start
  4. A new window should open in your default browser. if it doesn’t, open http://localhost:8080
  5. You can also build the dist files by doing npm run build