Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 996 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 996 Bytes

Fluid Simulator

Left to right, top to bottom: Ink, streamlines, speed and arrows, pressure, curl.

Building

Start by cloning the program and all submodules using the following command:

git clone --recursive https://github.com/linusmossberg/fluid-simulator

Build files can then be generated with CMake using:

cd fluid-simulator
mkdir build
cd build
cmake ..

These should work automatically, but a few additional packages are required on certain platforms. On Debian/Ubuntu, these can be installed using:

apt-get install xorg-dev libglu1-mesa-dev

and on RedHat/Fedora:

sudo dnf install mesa-libGLU-devel libXi-devel libXcursor-devel libXinerama-devel libXrandr-devel xorg-x11-server-devel