I love it! The “3D” demo is particularly impressive. Can you do something with just a single line? I’m thinking of a GPU-accelerated status line animation.
Are they very different in terms of compute? Looks like Burgers saves maybe a couple of FMA per cell. I’m pretty sure you can get away with Navier Stokes on a CPU. (Depends on the resolution, of course, but the examples here are relatively low res.)
Yes, this appears to use Stam's Stable Fluids algorithm. Look for the phrases "semi-Lagrangian advection" and "pressure correction" to see the important functions. The 3d version seems to use trilinear interpolation, which is pretty diffusive.
petermcneeley|6 months ago
unknown|6 months ago
[deleted]
clbrmbr|6 months ago
glouwbug|6 months ago
dahart|6 months ago
moradiyashar8|6 months ago
shoknawe|6 months ago
dboon|6 months ago
lagrange77|6 months ago
Jos Stem style?
markstock|6 months ago