Skill library

Agent skill Web motion

Water Crystal Skill Vfx

Make interface behavior and feedback feel clear and intentional.

  • Microinteractions
  • Interaction design

Install the skill

Three.js r170 for the tested setup, WebGL2, a camera, distinct objects behind the orb and the published tide-crystal.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 tide-crystal.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
Preview a clear water orb on an original stage
Inputs
Three.js r170 for the tested setup, WebGL2, a camera, distinct objects behind the orb and the published tide-crystal.mjs.
Deliverable
A local rendering that makes the orb volume readable through its background and keeps the preview consistent on resize.
Skill name
water-crystal-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.

Water and Crystal Skill VFX operation manual

A local rendering that makes the orb volume readable through its background and keeps the preview consistent on resize.

Three.js r170 for the tested setup, WebGL2, a camera, distinct objects behind the orb and the published tide-crystal.mjs.

  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 tide-crystal.mjs. Inspect [original stage and background fixture]. Use one WebGL renderer and the same THREE, scene and camera passed to createTideCrystal. Put contrasting background geometry behind the suggested orb position so refraction is observable. Record an orb-free baseline.
  2. Implement one specific effect

    Exercise the documented interface on the actual scene.

    Prompt · Step 2
    Create and place a water orb for [approved display scene]. Use the documented createOrb radius and glow values fitted to this scene. Advance the module’s clock with update and render. Preview the orb alone before adding crystals or an extra pass. Set size in drawing-buffer pixels and update it from actual viewport changes.
  3. Check the render, resizing, and cleanup

    The browser result is reproducible and reviewable.

    Prompt · Step 3
    On [local orb preview], compare background visibility and the highlight rim from the same camera. Verify a wide and narrow resize and no shader errors. Check an intentional still fallback under reduced motion and stop the frame callback when leaving the page. Verify any app-owned resources are cleaned up.

Look up render settings

Read the original module and rendering instructions.

What should I check if the orb looks opaque?WebGL2
Command or reference
createTideCrystal · createOrb · createCrystal
Examples
Use a visible object behind it to check the refraction and frame-copy setup. Review the material tint and path-length behavior before applying more color to compensate.

Troubleshooting and FAQ

What should I check if the orb looks opaque?

Use a visible object behind it to check the refraction and frame-copy setup. Review the material tint and path-length behavior before applying more color to compensate.