Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

threejs-scene-composition

БесплатноБез исполняемых скриптовНе проверен

Production guidance for planning, building, animating, capturing, and reviewing complete Three.js scenes for rendered media. Use for browser-native 3D product…

calesthioот calesthio★ 262 звезды на GitHub

Об этом скилле

Three.js scene composition

Use Three.js when depth, camera, lighting, material response, geometry, or spatial animation carries the media idea and a browser-rendered scene is an appropriate production surface. This skill begins after asset requirements and creative intent are known and ends with a reproducible rendered scene package.

It does not teach mesh modeling, retopology, rig authoring, physics simulation, WebXR product design, or game logic. It may consume approved glTF assets, animation clips, textures, environment maps, fonts, data, and audio cues produced elsewhere.

Evidence stance

  • Documented fact means behavior specified by official Three.js, Khronos, WebGL, or W3C sources.
  • Production heuristic means a useful starting point that must be tested on the actual scene and delivery hardware.
  • Empirical observation means a result measured from the scene, frame output, browser, GPU, or encoded deliverable.

Three.js releases frequently and examples/addons may change paths or APIs. Facts and links were checked 2026-07-12. Pin and record the installed revision, check migration notes, and test the exact target browser and renderer before delivery. WebGPU support and renderer parity are especially volatile.

Decide whether Three.js is the right renderer

Use Three.js when the deliverable needs:

  • a real 3D camera, parallax, depth, occlusion, or spatial continuity;
  • glTF scene or product assets rendered with browser PBR materials;
  • skeletal, morph-target, keyframe, or procedural 3D animation;
  • custom shaders, particles, instancing, or post-processing;
  • deterministic frame capture from a browser-based composition system;
  • one scene adapted across aspect ratios or camera framings.

Prefer another approach when:

  • a 2D compositor can express the result more clearly and cheaply;
  • the job is to prepare a mesh for downstream engines rather than compose a shot;
  • exact offline path tracing, feature-film simulation, or DCC-native handoff is required;
  • a static product render already exists and no 3D revision value remains;
  • the target depends on browser interactions rather than a rendered media deliverable.

Do not add a 3D scene merely to make a composition feel expensive. The camera and dimensionality must serve the message.

Lock the scene contract

Before implementation, define:

  • output dimensions, aspect ratios, frame rate, duration, alpha need, and color/HDR expectations;
  • shot list with camera, lens/FOV, subject, action, lighting change, and transition at each beat;
  • approved assets and their scale, axes, pivot, animation clips, morph targets, materials, and rights;
  • material references and color-critical requirements;
  • environment, lights, shadows, reflections, background, fog, and post-processing;
  • deterministic inputs: seeds, data, animation times, simulation caches, and asset versions;
  • performance envelope: browser, GPU/software path, memory, frame size, render workers, and delivery deadline;
  • accessibility constraints, especially flashing, rapid camera motion, and reduced-motion variants;
  • review gates: graybox, look development, animation, stress frame, encoded proof, and final.

Create a scene manifest mapping stable IDs to files, checksums, transformations, licenses, and scene usage. Freeze remote assets locally before final rendering.

Scene, camera, and renderer architecture

Documented fact: Three.js composes an Object3D hierarchy in a Scene, views it through a camera, and draws it through a renderer. Child transforms inherit parent transforms. Perspective and orthographic cameras serve different spatial readings.

Structure the scene by production role:

scene
+- world
|  +- environment
|  +- set
|  `- practical-lights
+- subject-root
|  +- approved-model
|  `- subject-controls
+- fx-root
+- camera-rig
|  +- camera-target
|  `- camera
`- review-guides

Use stable names and keep camera rigs, subject transforms, imported animation, and procedural effects separate. Avoid modifying deeply nested imported nodes by array index; resolve named nodes once and validate that they exist.

Camera direction

  • Choose perspective for lens-like depth and orthographic for diagrammatic/isometric scenes.
  • Define near/far planes tightly enough for useful depth precision without clipping approved motion.
  • Animate a rig or target rather than mixing unrelated direct camera mutations.
  • Test framing at the actual aspect ratios. A center crop is not a vertical composition plan.
  • Keep camera velocity, acceleration, and horizon changes appropriate to the audience and reduced-motion requirement.

Import and validate glTF ingredients

Documented fact: glTF 2.0 describes scenes, nodes, meshes, skins, animations, cameras, PBR materials, textures, and binary resources. Three.js GLTFLoader returns loaded scenes and animation clips and supports a documented set of glTF extensions. Core glTF materials use metallic-roughness PBR.

For ever

Полный SKILL.md на GitHub

Установить threejs-scene-composition в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

EVAL.md

FAQ

Что делает скилл threejs-scene-composition?

Production guidance for planning, building, animating, capturing, and reviewing complete Three.js scenes for rendered media. Use for browser-native 3D product shots, title sequences, procedural worlds, glTF scene assembly, camera and lighting animation, shaders, post-processing, deterministic frame export, and Three.js render QA; not for modeling standalone assets, WebXR interaction, or generic website decoration.

Как установить скилл threejs-scene-composition?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл threejs-scene-composition запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить threejs-scene-composition с