Real-time Shallow Water

This project, featuring real-time interactive shallow water, was originally implemented in WebGL back in 2017, and had since been ported to and improved with WebGPU. Similar to the original project, this project features solving the 2D wave equations, this time using compute shaders, and a multi-pass render pipeline for ray marching, and light-traced caustics.

Click here to try it out live!

Here's how it looked in the original WebGL implementation.