Fireworks implements a system of particles simulating a fireworks explosion. Particles are popular in games to show effects like smoke, sparks, and explosions.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\Fireworks
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin
Press F1 to see available commands.
The fireworks explosion is simulated by using a system of particles, where each particle is rendered with a partially transparent texture map of a sphere. The position and color of each particle are governed by parameterized equations and are updated in each frame.