Particle-based Fluid Simulation using vanilla JS.
Based on Particle-based Viscoelastic Fluid Simulation paper (by Simon Clavet, Philippe Beaudoin, and Pierre Poulin)
This is simplified version without springs between particles
Demo can be found here