Real-time 2D Fluid Simulation

2D Smoothed Particle Hydrodynamics simulation, simulating 70’000 particles in real-time on an Intel i7 860. The simulation features surface tension and a robust pressure model. Rendering is done using anisotropic Gaussian kernels, based on the paper “Reconstructing Surfaces of Particle-Based Fluids Using Anisotropic Kernels“ by Yu and Turk. Also featured is an aeration and diffusion model that simulates water bubbles trapped in the fluid, capturing interesting vortices and detail inside the fluid. Originally implemented for the 2D puzzle game “Bring Back Winter!“ in Spring 2014.
Back to Top