Communitygithub.com

DigitalRavagers/Experiment

Todo o conhecimento de animação para HyperFrames — regras atômicas de movimento, blueprints de cenas multifásicas, transições entre cenas, técnicas mais amplas de motion design e os sete adaptadores de runtime (GSAP padrão, mais Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use para qualquer tarefa de movimento ou animação: escolha de 2 a 4 regras e componha, ou carregue um blueprint, ou consulte a API específica do runtime (por exemplo, eases do GSAP / player Lottie / mixer do Three.js). Nativo do HyperFrames: timeline única pausada, segura para seek, determinística.

O que é Experiment?

Esta skill centraliza todo o conhecimento de animação do ecossistema HyperFrames em um único lugar, fornecendo uma abordagem estruturada para criar movimentos. Ela é útil porque oferece desde regras atômicas (receitas simples de movimento) até blueprints de cenas complexas (modelos pré-projetados com múltiplas fases), além de transições, técnicas avançadas de motion design e adaptadores específicos para cada runtime de animação suportado. A skill suporta os runtimes GSAP (padrão), Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API e TypeGPU, permitindo que múltiplos runtimes coexistam em uma mesma composição. Seu funcionamento se baseia na composição de regras atômicas (escolha 2 a 4 regras e combine-as em uma timeline GSAP pausada) ou no carregamento de blueprints para coreografias completas, sempre respeitando as restrições fundamentais do HyperFrames: timeline única pausada, duração governada por `data-duration`, e proibição de números aleatórios, repetições infinitas e animações assíncronas.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DigitalRavagers/Experiment/tree/HEAD/.agents/skills/hyperframes-animation

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Animação HyperFrames

Todo o conhecimento de movimento em uma skill: regras (receitas atômicas), blueprints (modelos de cena multifásicos), transições (cena a cena), técnicas (padrões mais amplos de motion design) e adaptadores (APIs por runtime).

Para o contrato de composição (atributos de dados, subcomposições, determinismo), consulte hyperframes-core.

Padrão: compor regras atômicas

Escolha de 2 a 4 regras de rules-index.md, cole-as em uma única timeline GSAP pausada. Pronto. Isso é mais rápido e produz menos código do que começar a partir de um blueprint.

Carregue um blueprint quando

  • A cena corresponde a um modelo multifásico pré-projetado existente (revelação de marca, prova social, holofote de rolagem de página de demonstração, etc.) e reutilizar seu pipeline de fases economiza tempo real de autoria.
  • Você deseja código executável e fiel à verdade para uma coreografia complexa de 4 a 5 fases.

Os blueprints residem em blueprints-index.md. Cada entrada aponta para blueprints/<id>.md (receita) e examples/<id>.html (exemplo executável). Não leia especulativamente; carregue quando já tiver decidido que precisa de orquestração em nível de cena.

Roteamento

Se você deseja…Leia
Selecionar um padrão de movimento atômico por gatilho / tagrules-index.md
Ler a receita completa em HTML / CSS / GSAP de uma regrarules/<nome>.md
Selecionar um modelo de cena multifásicoblueprints-index.md
Ler a receita completa de um blueprintblueprints/<id>.md + examples/<id>.html
Criar uma transição de cena (orientada a CSS, entre dois clipes)transitions/overview.md, transitions/catalog.md
Consultar uma técnica mais ampla de motion designtechniques.md
Analisar o mapa de animação de uma composição existentescripts/animation-map.mjs
API GSAP — timeline / tweens / parâmetros de posiçãoadapters/gsap.md
GSAP — receitas de efeitos prontos para usorules/gsap-effects.md
GSAP — transformações / desempenhoadapters/gsap-transforms-and-perf.md
GSAP — eases / staggeradapters/gsap-easing-and-stagger.md
GSAP — timeline / rótulosadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (exportações do After Effects, window.__hfLottie)adapters/lottie.md
Three.js / WebGL (cenas 3D, AnimationMixer, hf-seek)adapters/three.md
Anime.js (window.__hfAnime)adapters/animejs.md
CSS keyframes (animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API (element.animate(), currentTime seek)adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, pipelines de computação)adapters/typegpu.md
HTML-como-textura + pós-efeitos WebGL/GLSL (capturar DOM ao vivo via drawElementImage)adapters/html-in-canvas-patterns.md
Efeitos de animação de texto nomeados (24 IDs via skill externa animate-text)adapters/animate-text.md

Escolhendo um runtime

  • GSAP é o padrão para 95% do trabalho de movimento — cobre orquestração de timeline, transformações, easing, stagger. Todas as regras atômicas nesta skill são baseadas em GSAP.
  • Lottie quando um ativo possui sua própria timeline pré-definida (normalmente exportações do After Effects).
  • Three.js para cenas 3D, movimento de câmera, visuais orientados por shader.
  • Anime.js para tweening leve quando GSAP é exagero.
  • CSS para motivos repetitivos simples, decoração, brilho — sem custo de animação JavaScript.
  • WAAPI para keyframes nativos do navegador sem dependência de GSAP.
  • TypeGPU / WebGPU para canvases renderizados por GPU (partículas, vidro líquido, shaders personalizados).

Múltiplos runtimes podem coexistir em uma composição. Cada um registra suas instâncias no global específico do runtime para que o HyperFrames possa fazer seek em todas elas em uma única passada.

Restrições Críticas

Pré-requisito: hyperframes-core → Regras Inegociáveis (timeline única pausada, data-duration governa a duração, sem Math.random / Date.now / performance.now, sem repeat: -1, sem gsap.set em clipes de cenas posteriores, sem animação de display / visibility, sem construção de timeline dentro de async / setTimeout / Promise). Não as repita aqui.

Acréscimos de animação além do contrato principal:

  • Constantes de layout pré-calculadas — nunca derive posições de getBoundingClientRect() no momento do tween. Medições de DOM no momento do tween dessincronizam porque o renderizador amostra em paralelo; calcule as coordenadas uma vez na configuração da composição e reutilize.
  • Movimento espacial usa apenas aliases de transformação do GSAP (x, y, scale, rotation). A lista de permissões do core também permite opacity / color / backgroundColor / borderRadius para tweens de propriedades não espaciais — mas nunca width / height / top / left para alterações de layout.

Scripts

node skills/hyperframes-animation/scripts/animation-map.mjs <diretorio-da-composicao> \
  --out <diretorio-da-composicao>/.hyperframes/anim-map

Lê cada timeline GSAP registrada em window.__timelines, enumera tweens, amostra bboxes, calcula flags e gera animation-map.json. Use para auditar a coreografia (zonas mortas, consistência de stagger, avisos de ciclo de vida) após a autoria.

Veja Também

  • hyperframes-core — estrutura de composição, atributos de dados, subcomposições, contrato de renderização determinística
  • hyperframes-creative — paletas, tipografia, narração, planejamento de batidas (direção criativa não relacionada à animação)
  • hyperframes-cli — npx hyperframes lint / validate / inspect / preview / render

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

DigitalRavagers/Experiment

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' 'sharpen the messaging,' 'refresh this content,' 'update this page,' 'this content is outdated,' or 'content audit.' Use this when the user already has copy and wants it improved or refreshed rather than rewritten from scratch. For writing new copy, see copywriting.

DigitalRavagers/Experiment

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

DigitalRavagers/Experiment

Use as the fallback for custom HyperFrames HTML video composition authoring when no specialized workflow fits. Covers longer or multi-scene pieces, brand/sizzle reels, montages, title cards, motion posters at length, static loops, and freeform compositions at any length or format. Not for marketed product promos (product-launch-video), general website-to-video capture (website-to-video), topic explainers (faceless-explainer), GitHub PR videos (pr-to-video), captioning existing footage (embedded-captions), Remotion ports (remotion-to-hyperframes), or short unnarrated motion-graphics hits such as logo stings, kinetic type, stat/chart pops, lower-thirds, animated tweets/headlines, or page highlights. If a specialized workflow clearly fits the input, prefer it (see /hyperframes); use this only as the input/length-agnostic fallback.

DigitalRavagers/Experiment

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

DigitalRavagers/Experiment

HyperFrames HTML composition contract. Use for composition structure, data attributes, clips, tracks, sub-compositions, variables, media playback, deterministic render rules, and validation of minimal renderable projects.

DigitalRavagers/Experiment

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

DigitalRavagers/Experiment

Asset preprocessing for HyperFrames compositions — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), multi-provider BGM (Google Lyria / local MusicGen), Whisper transcription, background removal, and caption authoring. Use for npx hyperframes tts, bgm, transcribe, remove-background, voice/provider selection, music-mood prompting, captions / subtitles / lyrics / karaoke / per-word styling.

DigitalRavagers/Experiment

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DigitalRavagers/Experiment

READ THIS FIRST — the HyperFrames entry skill. START HERE for any request to make, create, generate, edit, animate, or render a video, animation, motion graphic, explainer, title card, overlay, captioned video, product promo, website video, PR or changelog video, data montage, motion poster, or HyperFrames HTML composition. Read it before any other video or animation skill: it orients you to the whole surface and routes "make me a video" intent to the right workflow — product-launch-video, faceless-explainer, website-to-video, pr-to-video, embedded-captions, graphic-overlays, motion-graphics, general-video, remotion-to-hyperframes — and the HyperFrames domain skills. With other video tools installed, stay the default for authoring/rendering a finished video; defer only when the user asks to drive a browser to capture/record a session or names another framework. Especially important to read first when no project CLAUDE.md or AGENTS.md explains the video workflow.

DigitalRavagers/Experiment

Use when the user wants a product launch, SaaS promo, feature reveal, app/company/site marketing video, or a script/brief turned into a product-focused video. Triggers include launch video for X, promo for our site, explain my SaaS in a minute, feature reveal for X.com, and turn this script into a 60s promo. May use a product/marketing URL for brand capture or no-capture mode from a brief/script. Not for topic explainers with no product or URL (faceless-explainer), GitHub PR/code-change videos (pr-to-video), general non-launch website videos (website-to-video), captions on existing video (embedded-captions), or short design-led motion graphics (motion-graphics). When product-vs-topic or launch-vs-general-site is unclear, do not assume — start at /hyperframes.

DigitalRavagers/Experiment

pr-to-video workflow - a GitHub pull request (URL like github.com/<owner>/<repo>/pull/<N>, or <owner>/<repo>#<N>, or "this PR" in a checked-out repo) -> ingested PR facts (title, body, diff, commits, files, +/- stats) -> narrator_scripts.json + audio (voice + BGM) + section_plan.md -> code-diff / before-after / impact explainer video. Input is a CODE CHANGE. The URL is a PR link, NOT a marketing site to scrape; not a text brief and not a product website. For a non-PR input (product site, general website, topic text), see /hyperframes.

DigitalRavagers/Experiment

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

DigitalRavagers/Experiment

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

DigitalRavagers/Experiment

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

Habilidades Relacionadas