OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add cloudai-x/threejs-skills --skill threejs-fundamentals
Three.js scene setup, cameras, renderer, Object3D hierarchy, coordinate systems. Use when setting up 3D scenes, creating cameras, configuring renderers, managing object hierarchies, or working with transforms.
npx skills add cloudai-x/threejs-skills --skill threejs-fundamentals
Container for all 3D objects, lights, and cameras.
PerspectiveCamera - Most common, simulates human eye.
OrthographicCamera - No perspective distortion, good for 2D/isometric.
ArrayCamera - Multiple viewports with sub-cameras.
CubeCamera - Renders environment maps for reflections.
Base class for all 3D objects. Mesh, Group, Light, Camera all extend Object3D.
Empty container for organizing objects.
Combines geometry and material.
Three.js uses a right-handed coordinate system:
THREE.LOD for distance-based mesh switchinggetWorldPosition in loops: Cache resultsthreejs-geometry - Geometry creation and manipulationthreejs-materials - Material types and propertiesthreejs-lighting - Light types and shadows