Add water Add wall
Remove water Remove wall
This is an implementation of the multiphase Shan-Chen Lattice-Boltzmann method.
It simulates the fluid by modeling the aggregate motion of the fluid molecules in nine discrete directions.
Mass is not always strictly conserved, due to optimizations made to speed up the computation.
Made using vanilla Javascript and WebGL (no external libraries).