Agent skill Web motion
Fire Smoke Skill Vfx
Make interface behavior and feedback feel clear and intentional.
Install the skill
Three.js r170 for the tested setup, WebGL2, a camera and renderer, a simple original stage, and the published fire-fx.mjs. The published YAML was skipped by the Skills CLI. Read the original SKILL.md directly and follow the publisher’s file-copy workflow for fire-fx.mjs.
Open the publisher’s downloadView operation manualWhat this skill helps with
- Make interface behavior and feedback feel clear and intentional.
Good for
- Interaction and feedback
- Task
- Render a small stylized flame in a local Three.js scene
- Inputs
- Three.js r170 for the tested setup, WebGL2, a camera and renderer, a simple original stage, and the published fire-fx.mjs.
- Deliverable
- A local effect that keeps the base, rising flame and background readable at a stable drawing-buffer size.
- Skill name
fire-smoke-skill-vfx- Repository
MengTo/Skills
Verify one effect before adding more layers
An underspecified request
Add all effects from the full demo to the new scene.
With several layers active, a shader, resource or size issue is harder to locate.
A verifiable workflow
- Use the real module and a reproducible local baseline.
- Exercise the documented interface on the actual scene.
- The browser result is reproducible and reviewable.
Fire and Smoke Skill VFX operation manual
A local effect that keeps the base, rising flame and background readable at a stable drawing-buffer size.
Three.js r170 for the tested setup, WebGL2, a camera and renderer, a simple original stage, and the published fire-fx.mjs.
Prepare a local stage and the published module
Use the real module and a reproducible local baseline.
Prompt · Step 1The published YAML was skipped by the Skills CLI. Read the original SKILL.md directly and follow the publisher’s file-copy workflow for fire-fx.mjs. Use [original local scene and fixed camera]. Mount one renderer and pass its existing THREE, scene and camera to createFireFX. Record the base stage before enabling the layer. Keep camera shake and fisheye off during this baseline.Implement one specific effect
Exercise the documented interface on the actual scene.
Prompt · Step 2Create the documented flame({ mode: "ball", ... }) at [stage position] and tune radius and height to the actual scene scale. Use the module’s update and render sequence and size it in drawing-buffer pixels. Start with the visible flame. Add wisps and light only if they improve the intended silhouette and readability.Check the render, resizing, and cleanup
The browser result is reproducible and reviewable.
Prompt · Step 3Open [local render] and compare a fixed camera with and without the layer. Check glow, base contrast, quiet smoke movement and reduced-motion behavior. Resize the viewport and confirm the pipeline updates the buffer dimensions. Stop animation on teardown and release app-owned resources.
Look up render settings
Read the original module and rendering instructions.
Why is the whole stage orange?WebGL2
- Command or reference
createFireFX · flame · update · render- Examples
- Isolate the flame first and check the effect intensity and light reach. Use the built-in debug controls or temporarily reduce the scene light before layering more effects.
Troubleshooting and FAQ
Why is the whole stage orange?
Isolate the flame first and check the effect intensity and light reach. Use the built-in debug controls or temporarily reduce the scene light before layering more effects.