Loading...
Loading...
Extract, reproduce, and locally replay a single WebGL / WebGPU / Canvas / shader / animated-3D visual effect from a web page — the GPU-rendered surface that DOM/CSS cloning is blind to. Use whenever a page has a WebGL/WebGPU/canvas shader background, animated 3D hero, generative gradient, particle field, or Unicorn Studio / Spline / Three.js effect that must be captured and rebuilt as a runnable local module. This is the GPU track of a site clone (driven by clone-site) but also stands alone. Trigger on "extract this shader", "clone the WebGL background", "port this canvas effect", "rebuild this animated hero", "reproduce this Three.js scene locally". NOT for ordinary DOM/CSS cloning (use dom-clone).
npx skill4agent add cth9191/site-clone shader-extractvendor/web-shader-extractor/ATTRIBUTION.mdreferences/capture-backends.mdoutput/<host>/effects/<surface-id>/vendor/web-shader-extractor/SKILL.mdreferences/replay-policy.mdreferences/capture-backends.mdCAPTURE_MINIMUM_TRUTHINTAKEvendor/web-shader-extractor/SKILL.mdclone-sitescripts/surface-map.jsTARGET_LOCKSOURCEPARTIALGUESSGUESSBEHAVIOR_REBUILDknown-gaps.mdoutput/export function mount(canvasEl, opts) { /* start renderer + rAF loop */ return handle }
export function unmount(handle) { /* cancel rAF, loseContext, free GPU */ }
export function resize(handle, w, h, dpr) { /* resize drawing buffer + viewport */ }references/capture-backends.mdvendor/web-shader-extractor/SKILL.mdATTRIBUTION.md