A web-based, 3D, real-time fluid simulation.
Final Project for CS 419, Production Computer Graphics, at UIUC.
Authors:
- Idan Raiter
- Curie Hong
- Rishi Pandey
- Aryn Harmon
For every simulation loop:
- clear the grid velocities
- project particle velocities to the grid
- copy the grid to store the version from the previous time step
- mark cells as solid, fluid, or air
- perform gravity update
- enforce boundary conditions
- do the pressure solve and generate new grid velocities
- enforce boundary conditions
- update the velocities of the particles
- update the positions of the particles
To install this project, clone the repository and run yarn
in the root directory. Then you can run yarn dev
to start the local development server.