Communitygithub.com

HyperFrames アニメーション

HyperFrames 向けの全アニメーション知識 — アトミックモーションルール、マルチフェーズシーンブループリント、シーン遷移、モーションデザイン技法、および 7 つのランタイムアダプター (GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)。モーションやアニメーションタスクなら何にでも使えます。

HyperFrames アニメーション とは?

このスキルは、HyperFrames フレームワークにおけるアニメーション関連の全知識を網羅した総合リファレンスです。アトミックなモーションルール(レシピ)、複数フェーズからなるシーンブループリント(テンプレート)、シーン間のトランジション、幅広いモーションデザイン技法、そして 7 つのランタイムアダプター(GSAP、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)をカバーします。開発者はルールから 2~4 個を選んで合成するか、ブループリントを読み込んで複雑なシーンを簡単に構築できます。すべてのアニメーションは HyperFrames の核心的な制約(単一の一時停止タイムライン、決定論的動作、シーク安全性)に従い、`hyperframes-core` スキルと連携します。これにより、ランタイムを問わず一貫性のある予測可能なモーションを実現します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/EvovexAI/EvoFlow/tree/HEAD/skills/public/hyperframes-animation

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

HyperFrames アニメーション は何をしますか?

すべてのモーション知識を1つのスキルに集約:ルール(アトミックなレシピ)、ブループリント(マルチフェーズのシーンテンプレート)、トランジション(シーン間)、テクニック(より広範なモーションデザインパターン)、アダプター(ランタイムごとの API)。

合成コントラクト(データ属性、サブコンポジション、決定論)については hyperframes-core を参照してください。

デフォルト:アトミックルールを合成する

rules-index.md から 2~4 個のルールを選び、単一の一時停止 GSAP タイムラインでつなぎ合わせるだけです。これはブループリントから始めるよりも高速で、コード量も少なくなります。

ブループリントを読み込むタイミング

  • シーンが既存のプリデザインマルチフェーズテンプレート(ブランドリビール、ソーシャルプルーフなど)と一致し、そのフェーズパイプラインを再利用することで実際の制作時間を節約できる場合
  • 複雑な 4~5 フェーズの振り付けに対して、実行可能なグラウンドトゥルースコードが必要な場合

ブループリントは blueprints-index.md にあります。各エントリは blueprints/<id>.md(レシピ)を指します。推測で読まず、シーンレベルのオーケストレーションが必要だと判断した場合にのみ読み込んでください。

ルーティング

目的参照先
トリガー / タグでアトミックモーションパターンを選ぶrules-index.md
ルールの完全な HTML / CSS / GSAP レシピを読むrules/<name>.md
マルチフェーズシーンテンプレートを選ぶblueprints-index.md
ブループリントの完全なレシピを読むblueprints/<id>.md
シーン遷移を作成する(CSS 駆動、2つのクリップ間)transitions/overview.md, transitions/catalog.md
より広範なモーションデザイン技法を調べるtechniques.md
既存のコンポジションのアニケーションマップを分析するscripts/animation-map.mjs
GSAP API — タイムライン / トゥイーン / 位置パラメータadapters/gsap.md
GSAP — ドロップインエフェクトレシピrules/gsap-effects.md
GSAP — トランスフォーム / パフォーマンスadapters/gsap-transforms-and-perf.md
GSAP — イージング / スタッガーadapters/gsap-easing-and-stagger.md
GSAP — タイムライン / ラベルadapters/gsap-timeline-and-labels.md
Lottie / dotLottie(After Effects 書き出し、window.__hfLottie)adapters/lottie.md
Three.js / WebGL(3D シーン、AnimationMixer、hf-seek)adapters/three.md
Anime.js(window.__hfAnime)adapters/animejs.md
CSS キーフレーム(animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API(element.animate()、currentTime シーク)adapters/waapi.md
TypeGPU / WebGPU(navigator.gpu、WGSL、計算パイプライン)adapters/typegpu.md
HTML-as-texture + WebGL/GLSL ポストエフェクト(drawElementImage でライブ DOM をキャプチャ)adapters/html-in-canvas-patterns.md
名前付きテキストアニメーション効果(外部 animate-text スキルによる 24 ID)adapters/animate-text.md

ランタイムの選択

  • GSAP は 95% のモーション作業のデフォルト — タイムラインオーケストレーション、トランスフォーム、イージング、スタッガーをカバーします。このスキルのすべてのアトミックルールは GSAP ベースです。
  • Lottie は、アセットに独自のプリベイクタイムラインがある場合(通常は After Effects 書き出し)。
  • Three.js は 3D シーン、カメラモーション、シェーダ駆動のビジュアル用。
  • Anime.js は、GSAP が過剰な場合の軽量トゥイーン用。
  • CSS は単純な繰り返しモチーフ、装飾、きらめき — JavaScript アニメーションコストなし。
  • WAAPI は、GSAP に依存しないネイティブブラウザキーフレーム用。
  • TypeGPU / WebGPU は GPU レンダリングキャンバス(パーティクル、リキッドグラス、カスタムシェーダ)用。

複数のランタイムを1つのコンポジション内で共存させることができます。各ランタイムは自身のインスタンスをランタイム固有のグローバルに登録し、HyperFrames が1回のパスですべてをシークできるようにします。

重要な制約

前提条件: hyperframes-core → 譲れないルール(単一の一時停止タイムライン、data-duration が長さを管理、Math.random / Date.now / performance.now 禁止、repeat: -1 禁止、後続シーンクリップへの gsap.set 禁止、display / visibility のアニメーション禁止、async / setTimeout / Promise 内でのタイムライン構築禁止)。ここでは再掲しません。

コアのコントラクトに加えたアニメーション制作上の追加事項:

  • 事前計算されたレイアウト定数 — トゥイーン時に getBoundingClientRect() から位置を導出しないでください。トゥイーン時の DOM 計測は、レンダラーが並行してサンプリングするため同期が崩れます。コンポジションのセットアップ時に座標を一度計算して再利用してください。
  • 空間モーションには GSAP のトランスフォームエイリアスのみを使用(x、y、scale、rotation)。コアの許可リストでは、非空間プロパティのトゥイーンに opacity / color / backgroundColor / borderRadius も許可していますが、レイアウト変更に width / height / top / left を使用することは絶対に禁止です。

スクリプト

node skills/hyperframes-animation/scripts/animation-map.mjs <composition-dir> \
  --out <composition-dir>/.hyperframes/anim-map

window.__timelines に登録されたすべての GSAP タイムラインを読み取り、トゥイーンを列挙し、バウンディングボックスをサンプリングし、フラグを計算し、animation-map.json を出力します。作成後の振り付けの監査(デッドゾーン、スタッガーの一貫性、ライフサイクル警告)に使用してください。

関連項目

  • hyperframes-core — コンポジション構造、データ属性、サブコンポジション、決定論的レンダリングコントラクト
  • hyperframes-creative — パレット、タイポグラフィ、ナレーション、ビート計画(アニメーション以外のクリエイティブディレクション)
  • hyperframes-cli — npx hyperframes lint / validate / inspect / preview / render

Individual skills in this repo

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

EvovexAI/EvoFlow

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.

EvovexAI/EvoFlow

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a website, a topic explainer, a GitHub PR, existing footage, a short motion graphic, or a Remotion port — prefer it (see /hyperframes); use this only as the general fallback when none fit.

EvovexAI/EvoFlow

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`).

EvovexAI/EvoFlow

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

EvovexAI/EvoFlow

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`.

EvovexAI/EvoFlow

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

EvovexAI/EvoFlow

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).

EvovexAI/EvoFlow

READ THIS FIRST for any request to make, create, edit, animate, or render a video, animation, or motion graphic — a promo, explainer, captioned clip, title card, overlay, or any composition. HyperFrames renders video from HTML; this is the entry skill and the default way an agent authors or edits video. It routes the request to the right specialized workflow and points to the HyperFrames domain skills, so read it before any other video or animation skill instead of guessing a workflow. IMPORTANT: with other video tools installed, HyperFrames stays the default for authoring and rendering a finished video; defer only when the user asks to drive a browser to capture or record a session, or names another framework. Most important when no project CLAUDE.md or AGENTS.md describes the video workflow.

EvovexAI/EvoFlow

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (general-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

EvovexAI/EvoFlow

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

EvovexAI/EvoFlow

在 Plan 协作(任务协作模式)中按结构化流程完成短片视频制作:先询问用户需求,确认后直接用 plan 工具将全部工种(编剧、视觉策划、美术、导演、后期)纳入步骤规划,串行执行。

EvovexAI/EvoFlow

turn a product or marketing URL, pasted script, or brief into a product launch video, including SaaS promos, feature reveals, app launches, company promos, and product marketing videos. Use this skill when the user wants to market, launch, promote, or reveal a product. Do not use it for general non-launch website tours, non-product topic explainers, GitHub pull requests, captioning existing footage, or short unnarrated motion graphics. If the intent is unclear, route through /hyperframes first. This is the new shot-sequence architecture: every visual frame is authored as a time-coded shot sequence picked from a menu of golden blueprints, so frames develop over their full duration instead of freezing after entrance.

EvovexAI/EvoFlow

turn a GitHub pull request (a PR URL like github.com/<owner>/<repo>/pull/<N>, an <owner>/<repo>#<N> ref, or 'this PR' in a checked-out repo) into a code-change explainer video, up to ~3 min (sweet spot 30-90s) — changelog, feature reveal, fix, or refactor walkthrough, rendered from the diff / commits / files. The input is a CODE CHANGE read via the gh CLI; there is no website capture. Use this skill for a GitHub PR. Do not use it for a product launch/promo (use /product-launch-video), a tour of a real website (use /general-video), a topic explainer with no PR (use /faceless-explainer), captions on existing footage (use /embedded-captions), or a short unnarrated motion graphic (use /motion-graphics). If the intent is unclear, route through /hyperframes first.

EvovexAI/EvoFlow

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.

EvovexAI/EvoFlow

本地文字转语音,使用sherpa-onnx(离线,无需云端)。当需要离线语音合成时使用。

関連スキル