In Three.js, we have a couple of geometries that result in a 2D mesh and a larger number of geometries that create a 3D mesh. In this section, we'll first look at the 2D geometries: THREE.CircleGeometry, THREE.RingGeometry, THREE.PlaneGeometry, and THREE.ShapeGeometry. After that, we'll explore all the basic 3D geometries that are available.
The basic geometries provided by Three.js
2D geometries
2D objects look like flat objects and, as the name implies, only have two dimensions. The first 2D geometry on the list is THREE.PlaneGeometry.