Skip to content

wayne-wu/webgpu-shallow-water

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-time Shallow Water

Overview

This is an interactive demo of shallow water (simplified as a 2D wave system) implemented in WebGPU. This project was originally implemented in WebGL back in 2017, and has since been ported and improved using WebGPU. Similar to the original project, this project features solving the wave equations, this time using compute shaders, and a multi-pass render pipeline feature ray marching, and light-traced caustics.

Click Here to try it out.

Alt text

Here's the 2017 WebGL version for comparison: 2017 You can see the original project here

Originally developed by Wayne Wu and Kyle Fung

About

Real-time Shallow Water in WebGPU

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 53.0%
  • WGSL 46.1%
  • HTML 0.9%