web-3d
/web-3d
Use when a page renders three.js or React Three Fiber: device-floor budgets, renderer choice, responsive camera framing, lighting and materials, live 3D versus image sequence versus video, projected callouts, cleanup and robustness. Not for authoring in Blender; use blender-web.
- Author
- TroyJLorents-GH ↗
- Repository
- mega-motion ↗
- Licence
- MIT
- Last repository change
- 11.11.2026
Assessment and security
- Files in this package
- 14
- Scripts
- 4
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 4 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: templates/product-hero/fallback.js, templates/product-hero/main.js, templates/product-hero/stage.js, templates/product-hero/watch.js
What it does and when to use it
Use when a page renders three.js or React Three Fiber: device-floor budgets, renderer choice, responsive camera framing, lighting and materials, live 3D versus image sequence versus video, projected callouts, cleanup and robustness. Not for authoring in Blender; use blender-web.
Original author description
Use when a page renders three.js or React Three Fiber: device-floor budgets, renderer choice, responsive camera framing, lighting and materials, live 3D versus image sequence versus video, projected callouts, cleanup and robustness. Not for authoring in Blender; use blender-web.
How it works
- Start from the template, not a blank file
- Red flags
- Files
SKILL.md preview
--- name: web-3d description: Use when a page renders three.js or React Three Fiber: device-floor budgets, renderer choice, responsive camera framing, lighting and materials, live 3D versus image sequence versus video, projected callouts, cleanup and robustness. Not for authoring in Blender; use blender-web. --- # Web 3D Choose 3D when rotation, material or scale is the story; otherwise a still with one reveal is often better. Decide in this order: 1. Delivery format: live glTF, image sequence or video (`references/pipeline.md` §13). 2. Renderer: WebGLRenderer by default; WebGPURenderer only for compute, a long-lived TSL material library, or a WebGPU-majority floor (§12). 3. Budget against the device floor: draw calls, resident texture memory, pixel ratio set once (`../../shared/defaults.md`, §2). 4. Framing at 360 and 1440 px: widen the vertical FOV on narrow screens; offset the lens to clear the copy (§14). 5. Light and materials: one key plus environment map, neutral tone mapping, grey-card exposure (§15). 6. Robustness: compile shaders before the hero shows, handle context loss, seed late-loading scenes at the current scroll progress (`references/principles-3d.md` §31). ## Start from the template, not a blank file For a product hero that turns on scroll, scaffold the proven template and adapt it: ``` node <plugin>/shared/web-studio/new_page.mjs <folder> --template web-3d/product-hero cd <folder> && npm install ``` Put the product name, callouts and numbers in `content.json`; set `model` to a real `.glb` (CC0 or the brand's) when there is one, otherwise adapt the procedural model in `watch.js`. Then `node studio/web.mjs shots`, `check` and `film`. Read `<plugin>/shared/web-studio/README.md` for the page contract. The template: procedural studio environment (no HDRI download), one key light, contact shadow, callouts on leader lines projected from 3D anchors every frame, a camera plateau per callout, an SVG fallback without WebGL, 9 draw calls at 390 px. Keep under 50 draw calls on phones. ## Red flags - A model shipped straight from the modelling tool without compression - More than one animation loop, or two writers for the same value - A scene lit with uniform ambient light and no rim - A 3D hero sitting behind the headline it should sit beside - Pixel ratio changed while scrolling Defaults: `../../shared/defaults.md`. Failure modes: `../../shared/failure-modes.md`. Starting a new piece rather than fixing one: begin with the `direct` skill. ## Files - `references/pipeline.md`: budgets, ticker, callouts, renderer, delivery tree, framing, materials - `references/principles-3d.md`: 3D doctrine: formats, breakdown arc, one ticker, robustness - `references/vocabulary-3d.md`: light and material terms, performance budget pattern - `references/shader-kit.md`: the ten shaders worth keeping ready and when each earns its place - `../scroll-story/references/example-product-page.md`: worked example with a 3D hero
Files in this package (14)
- SKILL.md 3 KB
- references/pipeline.md 13 KB
- references/principles-3d.md 6 KB
- references/shader-kit.md 2 KB
- references/vocabulary-3d.md 2 KB
- templates/product-hero/TEMPLATE.md 6 KB
- templates/product-hero/content.json 1 KB
- templates/product-hero/fallback.js 2 KB
- templates/product-hero/index.html 1 KB
- templates/product-hero/main.js 21 KB
- templates/product-hero/page.json 1 KB
- templates/product-hero/stage.js 9 KB
- templates/product-hero/styles.css 7 KB
- templates/product-hero/watch.js 13 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · TroyJLorents-GH/mega-motion | 100 | MIT |
| KILN-skills/kiln | 100 | MIT |
| devpilotX/ai-skill-ai | 100 | MIT |
Database snapshot: 13.11.2026 · package version eb3940d4b1a6 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100react-three-fiber
React Three Fiber 3D renderer for json-render. Use when working with @json-render/react-three-fiber, building 3D scenes from JSON specs, rendering meshes/lights/models/environments, or integrating Three.js with json-render catalogs. - 100threejs-react-three-fiber
Building three.js scenes from React with React Three Fiber and drei: renderer setup, the scene graph as JSX, frame-loop, state and loading hooks, pointer events, and adaptive performance, on WebGL or with WebGPU and TSL. Use when writing React components that render three.js. - 91react-three-fiber
Build declarative 3D scenes with React Three Fiber (R3F) - a React renderer for Three.js. Use when building interactive 3D experiences in React applications with component-based architecture, state management, and reusable abstractions. Ideal for product configurators,… - 95three-video
Use when authoring Three.js or React Three Fiber video scenes in JoeFlux, including object reveals, materials, lighting, camera choreography and deterministic 3D exports. - 100threejs
Map 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. - 100r3f-fundamentals
React Three Fiber core setup, Canvas configuration, scene hierarchy, camera systems, lighting, render loop, and React integration patterns. Use when setting up a new R3F project, configuring the Canvas component, managing scene structure, or understanding the declarative…