Check it out at https://bercon.github.io/roquefort/
roquefort_preview.mp4
- 3D fluid simulation implemented using WebGPU compute shaders
- Multigrid fluid solver to work efficiently at high grid resolutions like 256^3
- Runnable locally by just opening index.html in browser, no web server required
- No 3rd party libraries or dependencies
- No building/packing required
- GPU Gems Chapter 38. Fast Fluid Dynamics Simulation on the GPU by Mark J. Harris, https://developer.nvidia.com/gpugems/gpugems/part-vi-beyond-triangles/chapter-38-fast-fluid-dynamics-simulation-gpu
- Real-Time Fluid Dynamics for Games, Jos Stam Paper, https://www.dgp.toronto.edu/public_user/stam/reality/Research/pdf/GDC03.pdf
- Jamie Wong's Fluid simulation, https://jamie-wong.com/2016/08/05/webgl-fluid-simulation/
- PavelDoGreat's Fluid simulation, https://github.com/PavelDoGreat/WebGL-Fluid-Simulation
- https://bitbucket.org/jimbo00000/opengl-with-luajit/src/master/
- https://github.com/kishimisu/WebGPU-Fluid-Simulation
- https://webgpufundamentals.org/
- https://andrewkchan.dev/posts/fire.html
- https://blog.maximeheckel.com/posts/real-time-cloudscapes-with-volumetric-raymarching/
- https://github.com/portsmouth/Trinity
GNU Affero General Public License v3.0, see LICENSE.
3rd party content:
- Hash without Sine, Copyright 2014 David Hoskins, MIT License.
- Fira Code font, Copyright 2014, The Fira Code Project Authorsm, SIL Open Font License, Version 1.1.
Copyright 2024, Jerry Ylilammi. All rights reserved.