Three.js fundamentals (CloudAI-X)
SkillLow riskScene, camera, renderer and object setup for three.js, on WebGL or WebGPU.
A reference for starting three.js work, targeting r186: import maps without a bundler, scenes and fog, the camera types, renderer and tone mapping, the animation loop, object hierarchies, the coordinate system and math helpers. It also covers resizing, cleanup of GPU resources, performance tips, the WebGPU renderer with TSL, and common mistakes. Other skills in the same repo cover materials, lighting, shaders and more.
Try asking:
- "Set up a three.js scene with a perspective camera, orbit controls and resize handling"
- "Port this WebGL scene to the WebGPU renderer"
- "Why is my three.js scene leaking memory when I switch views?"
Source: CloudAI-X/threejs-skills · MIT · by CloudAI-X

Log in to join the discussion.