跳到正文
cccskills
免费在 GitHub 公开

web-shader-extractor

Extract a real WebGL / WebGPU / Canvas / shader effect from a live webpage (e.g. an animated gradient mesh, fluid/metaball, gaussian-splat scene, image distortion) and port it to a standalone, dependency-light JS project you can run locally or drop into an HTML artifact. Use when the user points at a site's visual effect and wants to reproduce/port/replay it, especially complex GPU effects our vanilla recipes don't cover.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

web-shader-extractor (install-on-demand companion)

This is a thin wrapper. The upstream skill has no open license, so motion-anything cannot redistribute its code — it is fetched on demand instead. Everything below is motion-anything's own description; the implementation lives upstream.

What it does

Locks onto a page's rendering surface (WebGL/WebGPU/Canvas), records shader / resource / render-graph / timing / input evidence, builds an evidence-matched local baseline, then projectizes it into a standalone runnable. This is the right tool for the "复杂网页效果 (WebGL / 高斯泼溅)" need that our 2D compositor deliberately does not draw — see WEBGL.md.

How to invoke

  1. If not already installed, fetch it (one-time, needs network):
    npx skills add https://github.com/lixiaolin94/skills --skill web-shader-extractor
    
  2. Then follow that skill's flow against the target URL / effect.
  3. Bring the extracted effect back as a background layer in an HTML artifact; motion-anything adds the surrounding tasteful motion.

Note for maintainers

If lixiaolin94/skills adds a permissive license, vendor it here properly (like skills/web-clone) so it ships offline with the product. Until then, keep this wrapper. Upstream: https://github.com/lixiaolin94/skills

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Back In Down — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

中文简介正在准备中。当前显示原文说明。

nexu-io/motion-anything8962026年7月7日 更新

Back In Left — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

中文简介正在准备中。当前显示原文说明。

nexu-io/motion-anything8962026年7月7日 更新

Back In Right — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

中文简介正在准备中。当前显示原文说明。

nexu-io/motion-anything8962026年7月7日 更新

Back In Up — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

中文简介正在准备中。当前显示原文说明。

nexu-io/motion-anything8962026年7月7日 更新

Back Out Down — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

中文简介正在准备中。当前显示原文说明。

nexu-io/motion-anything8962026年7月7日 更新

Back Out Left — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

中文简介正在准备中。当前显示原文说明。

nexu-io/motion-anything8962026年7月7日 更新

查看 nexu-io 的全部技能

报告此技能的问题