← ClaudeAtlas

threejs-builderlisted

Creates simple Three.js web apps with scene setup, lighting, geometries, materials, animations, and responsive rendering. Use for: "Create a threejs scene/app/showcase" or when user wants 3D web content. Supports ES modules, modern Three.js r150+ APIs.
aiskillstore/marketplace · ★ 329 · Web & Frontend · score 79
Install: claude install-skill aiskillstore/marketplace
# Three.js Builder A focused skill for creating simple, performant Three.js web applications using modern ES module patterns. ## Philosophy: The Scene Graph Mental Model Three.js is built on the **scene graph**—a hierarchical tree of objects where parent transformations affect children. Understanding this mental model is key to effective 3D web development. **Before creating a Three.js app, ask**: - What is the **core visual element**? (geometry, shape, model) - What **interaction** does the user need? (none, orbit controls, custom input) - What **performance** constraints exist? (mobile, desktop, WebGL capabilities) - What **animation** brings it to life? (rotation, movement, transitions) **Core principles**: 1. **Scene Graph First**: Everything added to `scene` renders. Use `Group` for hierarchical transforms. 2. **Primitives as Building Blocks**: Built-in geometries (Box, Sphere, Torus) cover 80% of simple use cases. 3. **Animation as Transformation**: Change position/rotation/scale over time using `requestAnimationFrame` or `renderer.setAnimationLoop`. 4. **Performance Through Simplicity**: Fewer objects, fewer draw calls, reusable geometries/materials. --- ## Quick Start: Essential Setup ### Minimal HTML Template ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Three.js App</title> <style> * { margin: 0; padding: 0; box-sizing: border-box;