Skip to content

Popov72/OceanDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3b9866a · Jul 23, 2024

History

86 Commits
Jul 19, 2021
Oct 21, 2022
Oct 21, 2022
Jul 19, 2021
Apr 1, 2022
Aug 9, 2021
Jan 31, 2022
Jul 19, 2021
Jul 23, 2024
Apr 1, 2022
Oct 21, 2022
Jan 31, 2022
Feb 1, 2022

Repository files navigation

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#758

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