Simulation of two-dimensional incompressible flow with periodic boundary conditions, achieved by solving the Euler Equations in the frequency domain via the Fast Fourier Transform (FFT). Written in Java.
Based on the following excellent resources:
- Stam, Jos. Stable Fluids. SIGGRAPH 99, Los Angeles, CA.
- Bridson, Robert, and Matthias Müller-Fischer. Fluid Simulation. SIGGRAPH 07. Course Notes.