Skip to content

msaad1999/Particle-Explosion-Simulator

Repository files navigation

Particle Explosion Simulator

msaad1999

A C++ Based Particle Explosion-Effect Simulation

OVERVIEW

This Simulation was coded in C++, using the SDL2 - 2.0.8. No custom images are used, all particles are hard-coded pixels with constantly changing RGB values, resulting in the overall color changing hues very smoothly.

The overall motion of the particles is that of a Repetitive-Explosion, in which the particles explode and implode continuously, with straggler particles re spawning in the center with randomized spiral paths, resulting in a mixed sort of patter. The Box Blur effect was used to create smooth particle trails.

DETAILS

Compiler used: Visual Studio 2017

Build type: release (more optimized than debug builds)

System type: x64

Subsystem: windows application (runs without the console)

Library used: SDL

Library Version: SDL2 - 2.0.8.

HOW TO USE

Either open the .sln file from within Visual Code 'Open Project' and build the project as a x64 release build.

OR go in the Particle Explosion Simulator - Executable folder and run the .exe file