Particle systems provide a very interesting way to create 3D visualizations. In this chapter, we focused on visualizing audio, but you could use this for many other kinds of 3D visualizations. You can create a
THREE.ParticleSystem object from any existing geometry. Three.js will then render a particle for each of the vertices of the geometry and use the provided
THREE.ParticleSystemMaterial object to determine how each particle looks. Besides generating systems from existing geometries, you can also create a custom geometry by instantiating a
THREE.Geometry object, adding
THREE.Vector3 objects to the vertices array and using that as an input for a
If you use a
THREE.ParticleSystemMaterial object, the standard ...