Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 575 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 575 Bytes

Spiral Particle Simulation

Made in C++ using SDL2 to provide pixel-level graphics access.

Why?

I made this project as an experiment to learn C++ and explore the low level graphics API it provides.

How?

This implementation use simple trig equations with randomness to move around particles in an elegant spiral, cycling through different colors.

Running

To run this code, make sure you have an appropriate compiler, make and cmake installed. Then, you can run the following commands:

cmake .
make
./main