Search⌘ K
AI Features

2D Geometries: PlaneGeometry

Explore how to create simple 2D rectangle shapes using Three.js PlaneGeometry. Learn to customize width, height, and segment properties, and understand how these affect the geometry's appearance and structure.

2D geometries

2D objects look like flat objects and as the name implies, they only have two dimensions. In this section, we’ll first look at the 2D geometries:

  • THREE.PlaneGeometry

  • THREE.CircleGeometry

  • THREE.RingGeometry

  • THREE.ShapeGeometry

The THREE.PlaneGeometry

A THREE.PlaneGeometry object can be used to create a very simple 2D rectangle. A ...