A particle system simulating fireworks in C++