Skip to content

About

A simple, elegant spiral partical simulation written in C++ rendered with SDL2.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

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

About

A simple, elegant spiral partical simulation written in C++ rendered with SDL2.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages