This project is a simple particle simulation where multiple particles are generated with a random speed vector and there are collisions with the walls of the window.
On a Debian system you can install the needed dependencies using:
sudo apt install g++ cmake make libsdl2-dev -ygit clone https://github.com/llikian/Simple-Particle-Collision.git
cd Simple-Particle-CollisionTo build you can simply run the build.sh script at the root of the project using:
bash build.shYou can also manually build it using:
cmake -B build && \
cmake --build build -jThen you can run it using:
bin/ParticlesThe rendering is done using SDL2.