explosion.c - Unix source code
This demo shows how to use an extremely simple particle system to create something that looks like an explosion. Although it isn't of commercial quality the effect is quite effective. If you have suggestions on how to improve the program, I'd be happy to hear them.
NOTE: This example uses some Unix-specific function calls for random number generation. If these are replaced by the Windows equivalents, it should run on Windows boxes as well.