build-interactive-particle-trail
Skill by MengTo
Guides an assistant to build a cursor or touch particle trail that emits by pointer distance into a recycled GPU point pool. Useful for developers making pollen, dust, or hover burst effects with keyboard-triggered bursts.
Install build-interactive-particle-trail
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MengTo/Skills /tmp/Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Skills/agent-skills/web-design/build-interactive-particle-trail ~/.claude/skills/build-interactive-particle-trailRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install build-interactive-particle-trail in Claude Code
git clone --depth 1 https://github.com/MengTo/Skills /tmp/Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Skills/agent-skills/web-design/build-interactive-particle-trail ~/.gemini/antigravity-cli/skills/build-interactive-particle-trailAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install build-interactive-particle-trail in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill walks an assistant through building an interactive particle trail for cursor or touch input. Particles are emitted by distance along the traveled pointer path, so fast flicks and slow crawls keep similar spacing. A resting pointer trickles particles at a slow interval instead of piling them into a clump. Emitted points go into a fixed recycled pool of 620 GPU points, and the vertex shader animates each one from its birth time.
The skill also covers keyboard-triggered bursts that reuse the same pool, reduced motion handling, pausing when the page is hidden or the section is offscreen, and teardown of Three.js resources. It points to demo/index.html as a working proof. It is for developers building hover trails, pollen or dust effects, and pointer or pen interactions on Three.js pages.
Written from the project's SKILL.md and checked against it.
What it can do
- Distance-based emissionSpawns particles at equal spacing along the pointer path, regardless of gesture speed.
- Recycled GPU poolUses a fixed ring of typed-array points that the vertex shader animates from birth time.
- Idle trickleEmits a slow trickle of particles when the pointer rests instead of building a clump.
- Keyboard burstMaps a real button or focused control to a 40 to 60 particle burst using the same pool.
- Reduced motion handlingShows a composed still trail under prefers-reduced-motion instead of animating particles.
- Lifecycle and teardownPauses when hidden or offscreen, resizes with ResizeObserver, and disposes Three.js resources.
What you need
- Three.js
Try asking
- Build a pointer particle trail that emits by distance into a 620 point pool
- Add a keyboard-triggered pollen burst that reuses my existing particle pool
- Make my particle trail respect prefers-reduced-motion with a still composition
Good to know
- Under prefers-reduced-motion the particle age does not advance, so the trail is a still composition.
- Per-frame emission is capped at 14 motes to protect the pool from teleports.
- The source states that additive point overdraw and attribute uploads are the main cost, not per-particle math.
- Performance claims about the shader path should be measured on a dense display before being made.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent-skills/web-design/build-interactive-particle-trail/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml246 B -
demo/PROMPT.md2 KB -
demo/assets/card-ethos.jpg309 KB -
demo/assets/lexend-latin.woff239 KB
Show all 8 files
-
demo/assets/three.min.js594 KB -
demo/index.html16 KB -
demo/preview.jpg102 KB
Alternatives to build-interactive-particle-trail
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
build-interactive-particle-trail: common questions
When should I use this instead of a shader cursor trail?
The source says to use this skill when individual grains must react to the gesture. For a continuous fluid or shader ribbon, it recommends the add-shader-cursor-trail skill instead.
Why does the trail not leave a long diagonal line when the pointer re-enters?
The skill says to reset the previous hit when the pointer leaves or the ray misses. Otherwise re-entry draws a long diagonal from the stale exit point.
How many particles can exist at once?
The default pool size is 620 points with a 1.6 second lifetime. The pool is fixed, and the skill says to reduce lifetime before raising the pool size.
How do I install build-interactive-particle-trail?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is build-interactive-particle-trail free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is build-interactive-particle-trail safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to build-interactive-particle-trail?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
