“Trece años dedicò a esas heterogéneas fatigas, pero la mano de un forastero lo asesinò y su novela era insensata y nadie encontrò el laberinto.”
J.L. Borges, El jardìn de senderos que se bifurcan.

A Simple Fluid Simulation

I got inspired by a tweeter thread by Morten Vassvik, so this week-end I dipped my toes in fluid simulation for the first time. Starting with the simple-but-slow Jacobi method.

You can click and drag the mouse inside the canvas below to create splats of color. Double-clicking resets the simulation. Your browser needs to support WebAssembly and WebGL 2.0.