r/GraphicsProgramming • u/Key_Calligrapher6269 • 16d ago
breakdown of a real-time stream, shallow water equations on the GPU, advected ripples and caustics from the flow
Enable HLS to view with audio, or disable this notification
my own project, one 512 x 512 shallow water grid runs in compute shaders with 8 substeps per frame, and every layer in the video is read from it, depth, velocity, foam where the flow converges, ripple coordinates advected by the velocity and a caustics pass projected on the bed
solver is Chentanez and Müller 2010 on a staggered grid, three.js WebGPU with TSL
live (WebGPU) : https://stream.mulualem.com
ai disclosure : I built this with claude code, it wrote most of the code under my direction and helped draft this post too
•
u/AutoModerator 16d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
20
u/StrontLulAapMongool 16d ago
That claude music is horrible but besides that nice job!
3
u/moschles 16d ago
This could be an academic paper for siggraph.
1
u/Obvious-Profit-5597 14d ago
How to learn this anybody guide me
1
u/BoiraGames 7d ago
It has a very good looking feeling to it, nice job.
1
u/cybereality 16d ago
Works on my phone no problem
-2
u/lampmaker 16d ago
Very Nice!
Few years back I made landscapes with a fluid sim, added some erosion to it. But the flow itself didnt look as nice as this one.