Lesson 13: Particle Systems

  • In each call to step, make the speed of each particle decrease by some amount proportional to the square of its current speed. This is called "damping"; it simulates the effect of wind resistance.
  • Give each particle a random size from 0.3 to 0.7.
  • Instead of fading out, have each of the particles shrink so that they approach a size of 0. Note that you still need to enable alpha blending in order to have transparent pixels in the texture.

Next is "Lesson 14: Drawing Reflections".