In this chapter, we're going to look at a different approaches to creating geometries. Instead of using the built-in geometries from Three.js as we did in earlier chapters, we will create the geometries programmatically. This will allow us to create many different-looking types of objects without having to specify the models in detail or model them in a 3D modeling program. We'll cover the following topics in this chapter:
colorproperty of the created faces.