跳到正文
FunCoding

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.

Star
1,143
许可证
Apache-2.0
最近提交
2026年11月17日

skills/web-shader-extractor/SKILL.md

在 GitHub 上查看

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

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,333 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,663 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 895 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 636 个 star