Top

Fireworks

Animated a particle system resembling fireworks. Two separate physically based simulations are taking place simultaneously, one for the rockets and one for the resulting spark particle rings. RK2 integration is used to progress the system with the standard equations of motion. Rockets are fired using keyboard keys, and are launched with a random angle and velocity. Particles resulting from a rocket’s explosion travel in the same direction and carry some of the rockets velocity.