Skill library

Agent skill Web motion

Lightning Energy Skill Vfx

Make interface behavior and feedback feel clear and intentional.

  • Microinteractions
  • Interaction design

Install the skill

Three.js r170 for the tested setup, a WebGL2 scene, a fixed camera, and the storm-energy.mjs renderer module. The published YAML was skipped by the Skills CLI. Read the original SKILL.md directly and follow the publisher’s file-copy workflow for storm-energy.mjs.

Open the publisher’s downloadView operation manual

What this skill helps with

  • Make interface behavior and feedback feel clear and intentional.

Good for

  • Interaction and feedback
Task
Build an ambient energy orb as an original Three.js visual effect
Inputs
Three.js r170 for the tested setup, a WebGL2 scene, a fixed camera, and the storm-energy.mjs renderer module.
Deliverable
A local energy orb that stays inside the scene, with a clearly readable still fallback and a verified removal path.
Skill name
lightning-energy-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

  1. Use the real module and a reproducible local baseline.
  2. Exercise the documented interface on the actual scene.
  3. The browser result is reproducible and reviewable.

Lightning Energy Skill VFX operation manual

A local energy orb that stays inside the scene, with a clearly readable still fallback and a verified removal path.

Three.js r170 for the tested setup, a WebGL2 scene, a fixed camera, and the storm-energy.mjs renderer module.

  1. Prepare a local stage and the published module

    Use the real module and a reproducible local baseline.

    Prompt · Step 1
    The published YAML was skipped by the Skills CLI. Read the original SKILL.md directly and follow the publisher’s file-copy workflow for storm-energy.mjs. Open [original display scene]. With one renderer, pass scene, camera and THREE into createStormEnergy. Prepare a quiet fixed camera, use obvious stage bounds and record a baseline. Disable shake and rapid flashes for the ambient brief.
  2. Implement one specific effect

    Exercise the documented interface on the actual scene.

    Prompt · Step 2
    Use createOrb for [approved display position] and set the actual transform and radius. Keep strikes disabled for this ambient case. Use the module’s update and render sequence. Expose one meaningful pause or still-state control and size the drawing buffer with the renderer.
  3. Check the render, resizing, and cleanup

    The browser result is reproducible and reviewable.

    Prompt · Step 3
    Open [local orb route], confirm the orb reads against its backdrop and does not obscure foreground UI. Resize and verify the same effect state. Show a still for reduced motion. Stop the frame loop on exit and use the verified fx.dispose method when this owned effect is removed.

Look up render settings

Read the original module and rendering instructions.

Why use a single effect clock?WebGL2
Command or reference
createStormEnergy · createOrb · dispose
Examples
Update returns simulation time that can differ from elapsed wall time during a hold or ramp. Using it in related effects keeps their visuals aligned.

Troubleshooting and FAQ

Why use a single effect clock?

Update returns simulation time that can differ from elapsed wall time during a hold or ramp. Using it in related effects keeps their visuals aligned.