Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Particle Collision

Project Description

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.

Setup

Dependencies

On a Debian system you can install the needed dependencies using:

sudo apt install g++ cmake make libsdl2-dev -y

Clone Repository

git clone https://github.com/llikian/Simple-Particle-Collision.git
cd Simple-Particle-Collision

Build

To build you can simply run the build.sh script at the root of the project using:

bash build.sh

You can also manually build it using:

cmake -B build && \
cmake --build build -j

Then you can run it using:

bin/Particles

Credits

The rendering is done using SDL2.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages