Agent Skills
› nexu-io/motion-anything
› grainient
grainient
GitHub提供基于 WebGL 的 GPU 着色器背景效果,用于打造营销级 Hero 区域视觉体验。支持响应式运动偏好设置,无需依赖库即可实现高性能静态帧渲染与纹理叠加。
Trigger Scenarios
需要为页面 Hero 区域添加动态或静态 GPU 加速背景
要求无第三方依赖的前端视觉效果实现
Install
npx skills add nexu-io/motion-anything --skill grainient -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "grainient",
"triggers": [
"grainient",
"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"
}
grainient
A GPU fragment-shader background (dependency-free WebGL).
How to apply
Copy _fx/shaderbg.js + grainient.js; add <div class="grainient" style="position:absolute;inset:0"></div> behind content.
Version History
- b016900 Current 2026-07-11 17:08


