Particle Sim - 2018
Simple Directmedia Layer 2, C++
- 5,000 particles
- Varying speeds, direction and color
- Box Blur
This was my first time using SDL2, so it was a good learning experience. I'd never done something with so many entities before, so it was good to learn how to focus on optimization.
This was a simple project I worked on to improve my knowledge of C++. I chose a project in SDL2 because I wanted to work with C++ outside of a game engine but I still wanted to draw something.
Five thousand particles spin clockwise while their colors alternate according to a sin() or cos() curve resulting in a visually appealing result. This project was created following John Prucell's C++ beginner course on Udemy, which was recommended to me by a friend.