threejs-geometry
Installation
SKILL.md
Three.js Geometry
Iron Law
Never mutate BufferGeometry attributes without setting needsUpdate = true on the BufferAttribute — stale GPU buffers will silently render the old mesh.
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);