跳到正文
Skillpedia
部署与云(DevOps)101k · #1074

od-web-effect-extractor

它能做什么

这个工具可以复制网站上的视觉特效和动画,方便你在自己的项目中使用。它会分析画面中的元素如何移动、互动和呈现。

适用场景

  • ✓当你在某个网站上看到很酷的特效,想要复刻它时。
  • ✓想了解网站上的复杂动画或三维图形(WebGL)是如何实现的。
  • ✓想借鉴某个网站的特效用于自己的设计,但不知道从何入手时。

技能链接

https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-web-effect-extractor/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-web-effect-extractor/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“复制这个网站上的动画特效:[网站 URL]”

每周 5 个新技能,1 分钟读完。

工作原理

工具会访问该网站,通过代码和参数分析视觉特效是如何制作的,然后以可编辑的格式重新制作这些特效。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Web Effect Extractor

Use this plugin when the user gives a website URL and asks OpenDesign to recreate, remix, or learn from its visual effects. It is especially useful for hero backgrounds, WebGL scenes, Canvas animations, shader effects, cursor trails, scroll-driven motion, animated typography, and interaction patterns that are hard to understand from screenshots alone.

This workflow is inspired by the MIT-licensed web-shader-extractor skill from lixiaolin94/skills, adapted for OpenDesign's website recreation and editable artifact workflow.

Scope

The goal is to produce a faithful, editable OpenDesign artifact that preserves the reference site's visual effect and interaction logic while replacing private content, trademarks, tracking code, and nonessential app logic.

Extract only what is needed to understand and recreate the visual behavior:

  • Layout structure, viewport behavior, breakpoints, and composition rhythm
  • Color, typography, blend modes, gradients, texture, lighting, and post-processing
  • Motion timing, easing, scroll triggers, pointer response, and idle animation loops
  • Canvas, WebGL, Three.js, shader, particle, and framebuffer pipeline details
  • Public static assets needed for visual parity, with provenance noted

Do not copy private product copy, hidden application state, user data, analytics, auth flows, or unrelated business logic.

Workflow

1. Prepare The Capture

Start from the supplied URL and define the exact effect to recreate. If the user is vague, inspect the first viewport first and infer the likely target effect.

Before extracting runtime details, prefer a browser context that can evaluate page scripts and inspect canvas/WebGL state. If Chrome DevTools MCP is available, use it for runtime interception. If it is not available, continue with the strongest available browser automation and clearly state that shader/runtime capture may be incomplete.

Record:

  • URL and capture timestamp
  • Viewport sizes to test, usually desktop and mobile
  • Main effect target and fallback effect targets
  • Framework clues from HTML, network requests, globals, and package signatures

2. Runtime Inspection

Capture runtime evidence before simplifying anything.

Inspect:

  • DOM tree, computed styles, fonts, CSS variables, custom properties, and animation names
  • Canvas elements, WebGL contexts, renderer attributes, supported extensions, and resolution scaling
  • Global framework markers such as THREE, BABYLON, __NEXT_DATA__, __NUXT__, vite, GSAP, Lenis, Framer Motion, or custom scene globals
  • Networked JS bundles, images, videos, fonts, LUTs, textures, HDRIs, and data files

When WebGL is present and tooling allows pre-page-load injection, intercept:

  • gl.shaderSource() for vertex and fragment source
  • gl.uniform*() calls for names and observed values
  • gl.bindFramebuffer() to understand multipass render order
  • gl.drawArrays() and gl.drawElements() to understand draw-call order
  • texture and buffer setup when it affects the final look

When 2D Canvas is present, inspect the render loop, draw primitives, image sources, compositing operations, and device-pixel-ratio handling.

3. Extract The Visual Model

Turn the raw capture into a compact visual model:

  • Scene graph or layer stack
  • Asset list with source, dimensions, and role
  • Shader/material list with uniforms and dependencies
  • Motion map with trigger, duration, easing, repeat behavior, and responsive differences
  • Interaction map for pointer, keyboard, scroll, resize, and reduced-motion handling
  • Known uncertainties, such as minified bundle branches or runtime values that could not be observed

Prefer evidence over guesses. If an effect cannot be observed directly, mark it as an inference.

4. Rebuild In OpenDesign

Create a standalone web artifact that can be inspected and edited.

Choose the simplest implementation that preserves the effect:

  • Static DOM/CSS for layout-only references
  • CSS animation or WAAPI for simple motion
  • GSAP for sequenced or scroll-linked motion
  • Canvas 2D for 2D procedural effects
  • Native WebGL2 for compact full-screen shader effects
  • Three.js when the reference uses 3D, cameras, materials, textures, post-processing, or GPGPU patterns

Keep the rebuild self-contained unless a dependency materially reduces complexity. If dependencies are used, load them in a transparent, reviewable way.

Important reconstruction rules:

…

常见问题

什么是“OpenDesign 产物”?

它是一个文件,里面包含重建后的视觉特效,可以直接编辑并用于你的项目。

它会复制网站的所有内容吗?

不会。它只关注视觉特效和动画,会忽略私人信息、具体文字以及非视觉功能。

如果特效非常复杂(比如 WebGL)怎么办?

工具会尽量从代码和参数中提取更多细节来还原特效,即使是复杂的效果也一样。

详情

作者的原始描述

Extract visual effects, animation systems, Canvas/WebGL/Shader behavior, and interaction details from a reference website, then rebuild them as an editable OpenDesign web artifact.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1074
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能