Skip to content

joshhhbailey/fluid-sim

Repository files navigation

Grid Based Fluid Simulation

Josh Bailey
Simulation.
NCCA, Bournemouth University.
2020 - 2021.

Contents

Overview

A real-time grid based fluid simulation, built using SDL2. Based on the paper Real-Time Fluid Dynamics for Games by Jos Stam.

Controls

  • G: Toggle fluid resolution grid
  • V: Toggle fluid velocity
  • Up Arrow: Increase fluid resolution
  • Down Arrow: Decrease fluid resolution
  • R: Reset simulation
  • Esc: Quit application
  • LMB: Add fluid density
  • RMB: Add fluid velocity
  • MMB: Add fluid density and velocity

Video

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published