What problem does it solve?
Three.js geometry creation requires selecting and configuring built-in shapes, custom BufferGeometry, and efficient instancing to render complex 3D scenes with minimal overhead. This skill consolidates practical patterns to quickly create, customize, and optimize geometric primitives for robust 3D rendering.
Core Features & Use Cases
- Built-in Geometries: Box, Sphere, Plane, Cylinder, Cone, Torus, and more with straightforward parameterization.
- BufferGeometry & Custom Shapes: Define custom vertices, normals, uvs, and indices for flexible meshes.
- Instancing & Performance: Leverage InstancedMesh and shared buffers to render many objects efficiently.
- Geometry Utilities: Tools for centering, scaling, morph targets, and geometry transformations.
- Use Cases: Prototyping 3D dashboards, procedurally generated worlds, and optimized scene composition.
Quick Start
Create a basic scene with a BoxGeometry and a MeshStandardMaterial, then render.