Chapter 5. Particle Systems
Particle systems are a technique used widely in video games to simulate phenomena that are complicated to render with other methods. The typical usages for them include explosions, fireworks, smoke, fire, water, and so on. They are usually highly chaotic systems.
Their foundation is to use a large number of small sprites called particles. Their behavior is parametrized, so each particle has a different set of pseudo-random values. This makes each usage of the particle system different while it still looks similar.
Most game engines include a way to implement particle systems. Our engine will have them too.
We will base our code on the free software project Leonids, which is a library to display particle systems in the ...