β
It
delay
fps
2d ink droplet in water dynamics. Set a new buoyancy value β.
This script makes 2 It iterations every time step to calculate pressure.
Boundaries are periodic.
See 2D fluid dynamics for explanations.
Karl Fredrickson has improved the script
by using symmetric linear interpolation when a texture is sampled.