Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

33 lines (17 loc) · 1.08 KB

SFML Fluid Simulation

Inspiration

This project is based on Mike Ash's implementation of the fluid simulation which was based on Jos Stam's paper on Real-Time Fluid Dynamics for Games. You can find his original implementation here.

How to run

You can download from the releases page to run the program as a .exe, or you can build the project yourself.

Building

Download the repository and open the sfml-fluid-simulation.sln file in Visual Studio 2019/2022.

Setup SFML with your Visual Studio solution.

Then build and run the project.

Controls

To cycle between the different rendering modes, press the Spacebar key.

To exit the program, press the Escape key.

Configuration

To change the simulation settings, open the Constants.h file and change the values of the constants.