At the end of the previous section we quickly introduced the
ParticleSystem class. Unless you're using the
CanvasRenderer class, you'll need a
ParticleSystem class to show particles. The constructor of the
ParticleSystem class takes two properties: a geometry and a material. The material is used to color and texturize the particles (as we'll see later on), and the geometry defines where the particles are positioned. Each vertex, each point used to define the geometry of the supplied geometry is shown as a particle. When we create a
ParticleSystem object based on a
CubeGeometry object, we get eight particles, one for each corner of the cube.
Normally, though, you won't create a