paper-shaders
БесплатноЗапускает вложенные скриптыНе проверенTurns Paper Shaders (30 WebGL shaders: mesh and grain gradients, god rays, liquid metal, smoke ring, dithering, halftone, paper texture and more) into…
от vargai131 установка в других каталогахОб этом скилле
Paper Shaders for video
Paper Shaders draws designer-tuned WebGL shaders into a canvas. Left alone it animates from the wall clock, which flickers and drifts in a video render. This skill mounts every shader at speed 0 and draws each frame from the timeline, so the same frame always gives the same picture.
Gates
- Pin
@paper-design/[email protected]. Use that exact version everywhere. Never use 0.0.47–0.0.76: they are PolyForm Shield, not open source. Bumping the version followsreferences/licensing.md. - Speed 0, time from the timeline. Mount shaders only through
templates/paper-preset.js. Never setspeedabove 0, and never let scene code readDate.now(),performance.now(),requestAnimationFrameor unseededMath.random(). - No credits here. Shader layers render locally for free. If the video also needs generated footage, voice or music, that is the varg-ai skill: call
estimate_costand wait for the user's approval before any generation. - Rights. Logos and stills fed to image presets must be the user's own or licensed. Do not apply a shader to another company's logo.
- Stills, not footage. Paper's image filters take images only. Grade and add grain to footage with HyperFrames media treatments instead.
Workflow
A person approves at each checkpoint (looks, stills, motion) before the next step. Commands run from the skill folder; HF stands for the pinned CLI, npx --yes [email protected].
- Pick the look. Match the request to a preset below or to a shader in
references/shaders.md. Say which one and why in one line; that is checkpoint 1. - Scaffold, or add to a project.
node scripts/new-project.mjs ./video # new HyperFrames project from the template node scripts/new-project.mjs ./existing --add # paper-preset.js and presets/ only - Brand it. Get the palette from the user or their brand kit. Never invent colors. Write the branded preset into the project, then import it in
index.html. Image presets take{ image: "assets/logo.png" }; serve images from the project.node scripts/apply-brand.mjs assets/presets/brand-mesh.json palette.json --out ./video/presets/brand-mesh.json node scripts/validate-presets.mjs ./video/presets/brand-mesh.json - Stills (checkpoint 2).
$HF snapshot ./video --at 0.5,2,4writes PNGs and a contact sheet. Show them; change one param at a time until approved. - Motion (checkpoint 3).
(cd ./video && $HF render --quality draft --output draft.mp4). Tunemotion.timeScalefor pace. - Final.
node scripts/check-determinism.mjs ./video # must print "deterministic" (cd ./video && $HF check && $HF render --output final.mp4) # or: npm run check, npm run render
A shader layer in HyperFrames
The host is a timed clip with its own composition id and no GSAP timeline. HyperFrames calls render(seconds) for every frame it captures, in any order.
<div id="bg" class="clip" data-composition-id="bg" data-start="0" data-duration="6"
data-track-index="0" data-no-timeline data-layout-allow-overflow></div>
<script type="module">
import * as PS from "https://cdn.jsdelivr.net/npm/@paper-design/[email protected]/dist/index.js";
import { paperFrameSource } from "./paper-preset.js";
import preset from "./presets/god-rays-reveal.json" with { type: "json" };
const ramp = (t) => 1 - Math.pow(1 - Math.min(t / 1.2, 1), 3);
window.__hyperframes.registerFrameSource(
paperFrameSource(PS, document.getElementById("bg"), preset, {
paramsAt: (t) => ({ intensity: 0.8 * ramp(t), bloom: 0.4 * ramp(t) }), // a reveal, as a pure function of time
}),
);
</script>
- Register at the top level of a module script, before any
await; HyperFrames boots onDOMContentLoaded. - Each shader scene needs its own host. Keep a composition under about 12 shader hosts; Chrome drops WebGL contexts past 16. For more looks in a row, use
paperSequenceSource: one host, one context, any number of presets (seeexamples/paper-gallery). - Text, logos and other DOM elements go on higher tracks and animate with the GSAP timeline as usual.
templates/hyperframes/shader-background.htmlis a complete composition to start from.
A shader layer in Remotion
npm i @paper-design/[email protected]
# copy templates/paper-preset.js, templates/paper-preset.d.ts, templates/remotion/ShaderBackground.tsx and the presets
<ShaderBackground preset={brandMesh}>
<h1>Headline</h1>
</ShaderBackground>
<ShaderBackground preset={liquidMetal} image={staticFile("logo.svg")} />
Render with npx remotion render <id> out.mp4 --gl=angle. Do not use Paper's React components for renders; see references/determinism.md.
Presets
Two sets ship. Nine varg presets in assets/presets/, in varg colors with brand roles. And all 124 of Paper's own presets in assets/presets/paper/ (`paper
Установить paper-shaders в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(node:*)Bash(bun:*)Bash(npx:*)Bash(ffmpeg:*)ReadWriteEditFAQ
Что делает скилл paper-shaders?
Turns Paper Shaders (30 WebGL shaders: mesh and grain gradients, god rays, liquid metal, smoke ring, dithering, halftone, paper texture and more) into frame-exact backgrounds, textures and logo stings for HyperFrames or Remotion videos, in brand colors, with nine tested presets. Every frame is drawn from timeline time, so renders are seekable, parallel and repeatable, and spend no varg credits. Use when a video needs an animated shader background, a grain, dither, halftone or paper look on graphics or stills, or a logo reveal or sting. NOT for generating footage (use varg-ai), grading or film grain on real footage (HyperFrames media treatments), warping existing layers (HyperFrames data-vfx-chain), 3D scenes (a Three.js skill) or shaders for websites.
Как установить скилл paper-shaders?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл paper-shaders запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic