three-dart-geometry

Installation
SKILL.md

three_dart Geometry

Iron Law

Always call geometry.computeVertexNormals() after building custom BufferGeometry — without normals, MeshStandardMaterial renders as flat black.

Built-in Geometries

import 'package:three_dart/three_dart.dart' as THREE;

// Box
final box = THREE.BoxGeometry(1, 1, 1);                        // width, height, depth
final boxSeg = THREE.BoxGeometry(2, 2, 2, 4, 4, 4);           // with segments

// Sphere
final sphere = THREE.SphereGeometry(1, 32, 16);               // radius, widthSeg, heightSeg
Installs
4
GitHub Stars
34
First Seen
May 21, 2026
three-dart-geometry — kumaran-is/claude-code-onboarding