feat(fluid): add Stable Fluids demo on float textures

Velocity runs on a 128x128 grid and dye on 512x512.
Walls are free-slip: shaders clamp coordinates to the field.
Drag pushes the fluid and adds dye. Idle time adds random splats.
Tick the fluid item in ROADMAP.md.
This commit is contained in:
lobo committed 2026-10-23 14:09:42 +02:00
1 parent 267d9ab8eb
commit d298108516
15 files changed
+1224

No files matched your search

+1
View File
@@ -30,4 +30,5 @@ Open ideas for the playground frontend. Tick a box when done.
- [x] Fourier epicycles
- [x] Reaction-diffusion (Gray-Scott) shader (reuse the fractal shader setup)
- [x] **Lenia** (continuous Game of Life, shader ping-pong like Gray-Scott)
- [x] **Fluid (Stable Fluids)** (velocity, pressure and dye shader ping-pong like Lenia)
- [x] **Ant colony** (ACO on TSP, CPU + Canvas 2D)