threejs-geometry
Originally fromcloudai-x/threejs-skills
Installation
SKILL.md
Three.js Geometry
When to Use
- You need to create or optimize geometry in Three.js.
- The task involves built-in shapes, custom
BufferGeometry, vertices, or instanced rendering. - You are working on mesh structure rather than scene setup or materials alone.
Quick Start
import * as THREE from "three";
// Built-in geometry
const box = new THREE.BoxGeometry(1, 1, 1);
const sphere = new THREE.SphereGeometry(0.5, 32, 32);
const plane = new THREE.PlaneGeometry(10, 10);