/threejs-skills:threejs-scrollfrom three.js Skills
Scroll-driven 3D in three.js or R3F: camera paths, model reveals and clips scrubbed by scroll, pinned sections, HTML overlays. Use for landing pages and product stories where scroll moves the scene. Hands off to `threejs-performance`.
Ships in three.js Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A scroll story maps one number, scroll progress from 0 to 1, onto scene state: camera position, model rotation, a clip's time, material opacity. Keep that mapping in one place, drive it from a single scroll source, and render from the frame loop. Most broken scroll scenes have two scroll sources fighting, state set in scroll events instead of the frame loop, or no reduced-motion path.
ScrollTrigger over normal page scroll, with a fixed full-screen canvas behind the
content. Read references/vanilla.md.ScrollControls + useScroll when the canvas owns the page; GSAP when the page is a
normal document with a 3D section. Read references/r3f.md.setAnimationLoop or useFrame), interpolating with damping
(THREE.MathUtils.damp or GSAP scrub: 1) so the scene eases instead of jumping between scroll events.mixer.setTime(progress * clip.duration) with the
action playing and paused), never by play() per scroll event.prefers-reduced-motion: jump between section states without camera flights, or show a static render.ScrollTrigger.config({ ignoreMobileResize: true })), and fill rate is lower (cap the pixel ratio at 2).camera.lookAt once at setup while tweening the position: the camera drifts off the subject. Tween a target and
call lookAt every frame.Next: threejs-performance if frames drop during the scroll.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub emiliodominguez/threejs-skills --plugin threejs-skills28 skills in this plugin
/threejsMap of the threejs-* skills for three.js and React Three Fiber work: 3D models, scenes, materials, lighting, animation, shaders, performance and model generation. Use when a 3D web task spans several areas or the right skill is unclear. Routes to `threejs-model-inspect` and the rest of the suite./threejs-animationKeyframe, skeletal and morph-target animation, procedural motion and clip blending, on WebGL or with WebGPU and TSL. Use when animating objects, playing glTF animations, posing bones, driving morph targets, or mixing and crossfading clips./threejs-asset-pipelineShrinking glTF assets for three.js with gltf-transform: inspect, validate and optimize commands, Draco, meshopt and quantization, KTX2, WebP and AVIF textures, the loader setup each output needs, and gltfjsx for React. Use when compressing, optimizing or validating 3D models before loading them.Other plugins' skills for the same job