c3particles is an implementation of a particle system model in C++ that separates the physical concepts and laws from the underlying graphics library. This enables a mathematical formulation of the forces influencing the particles.
Particle systems are used in many different areas: most prominently in the entertainment industry in games and movies and for simulations and visualizations scientific research. No matter the area of application, the basic rules governing these systems are the same: the laws of physics. c3particles (cpp particles) implements a model of a particle system in C++ that separates the physical concepts and laws from the underlying graphics library. This enables a mathematical formulation of the forces influencing the particles. C++ is an optimal tool for this task, as it is a very mathematically expressive programming language that can be used to cleanly define formal concepts.
C++14, OpenGL, GTK+3, CMake v3
In the c3particles directory:
mkdir build;
cd build;
cmake ..;
make;
The execution file needs to be in the same parent directory as the shaders, so copy the shaders to the build directory: In the build directory:
cp -r c3p/src/shaders ./
In the build/c3p directory:
./main