/apep

2D hydro simulation with a GUI

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Apep

forthebadge forthebadge

C++ learning project. A simple 2D hydrodynamics simulation. Includes a simple window creation using GLFW and OpenGL. Allows to change simulation parameters in real time.

Dependencies

Build

git clone https://github.com/alexhls/apep.git
cd apep
git submodule update --init --recursive

mkdir build
cd build
cmake ..
make

Run

./apep

for the 2D hydrodynamics simulation or

./demo

for the demo window

WIP

This project is still a work in progress. Most edge cases are not handled and the code is not optimized.

Directory sturcture

src/ - source code

  • app/ - Everything related to the window creation
  • hydro/ - Everything related to the hydrodynamics simulation
  • utils/ - Utility functions