O'Reilly logo

Three.js Essentials by Jos Dirksen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

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 THREE.ParticleSystem object.

If you use a THREE.ParticleSystemMaterial object, the standard ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required