O'Reilly logo

Learning Three.js: The JavaScript 3D Library for WebGL 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

Chapter 7. Particles and the Particle System

In the previous chapters we've discussed the most important concepts, objects, and APIs that Three.js has to offer. In this chapter, we'll look into the only concept we've skipped so far: particles. With particles it is very easy to create many small objects that you can use to simulate rain and snow. You can also use particles as a way to create interesting 3D effects. For instance, you can render individual geometries as a set of particles and control these particles separately. In this chapter we'll explore the various particle features provided by Three.js. To be more specific we'll look at the following subjects in this chapter:

  • Creating and styling particles using the ParticleBasicMaterial.
  • Using ...

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