Agent Skills
› nexu-io/motion-anything
› light-rays
light-rays
GitHub提供依赖-free的WebGL GPU着色器背景,用于营销级Hero区域。支持在减少运动偏好下渲染静态帧,需将指定JS文件复制并添加绝对定位容器置于内容后方。
Trigger Scenarios
需要高性能无依赖的GPU加速背景效果
构建营销着陆页或Hero区域视觉层
Install
npx skills add nexu-io/motion-anything --skill light-rays -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "light-rays",
"triggers": [
"light-rays",
"shader background",
"webgl background",
"着色器背景",
"动态背景"
],
"description": "A distinctive GPU shader background rendered in dependency-free WebGL — a marketing-grade hero\nbackdrop. One per view; scrim behind text. Renders a static frame under prefers-reduced-motion.\n"
}
light-rays
A GPU fragment-shader background (dependency-free WebGL).
How to apply
Copy _fx/shaderbg.js + light-rays.js; add <div class="light-rays" style="position:absolute;inset:0"></div> behind content.
Version History
- b016900 Current 2026-07-11 17:09


