跳到正文
cccskills
免费在 GitHub 公开

hyperframes-animation

Build and review HyperFrames animations using motion recipes, scene templates, and transitions. Find guidance for seven animation runtimes, including GSAP and Three.js, and inspect existing scenes for timing gaps and inconsistent motion.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

查看安装方法

适用场景

  • Combine motion recipes for text and shapes
  • Build scenes with several animation phases
  • Choose an animation runtime
  • Audit timing and choreography in existing scenes

包含的文件(122)

  • SKILL.md20.2 KB
  • adapters/animate-text.md4.5 KB
  • adapters/animejs.md6.4 KB
  • adapters/css-animations.md5.6 KB
  • adapters/gsap-easing-and-stagger.md13.3 KB
  • adapters/gsap-timeline-and-labels.md3.7 KB
  • adapters/gsap-transforms-and-perf.md8.6 KB
  • adapters/gsap.md7.9 KB
  • adapters/html-in-canvas-patterns.md17.1 KB
  • adapters/lottie.md6.4 KB
  • adapters/three.md9.8 KB
  • adapters/typegpu.md8.7 KB
  • adapters/waapi.md4.4 KB
  • blueprints-index.md26.1 KB
  • blueprints/agent-progress-theater.md15.7 KB
  • blueprints/camera-journey.md13.3 KB
  • blueprints/comparison-split.md3.2 KB
  • blueprints/constellation-hub.md7.0 KB
  • blueprints/cta-morph-press.md6.3 KB
  • blueprints/cursor-ui-demo.md19.8 KB
  • blueprints/dataviz-countup.md14.3 KB
  • blueprints/device-surface-showcase.md16.7 KB
  • blueprints/fixed-anchor-cycle.md8.9 KB
  • blueprints/grid-card-assemble.md15.2 KB
  • blueprints/kinetic-type-beats.md28.5 KB
  • blueprints/logo-assemble-lockup.md26.0 KB
  • blueprints/overwhelm-surround.md6.0 KB
  • blueprints/panel-edit-live-sync.md13.1 KB
  • blueprints/prompt-type-submit-generate.md18.2 KB
  • blueprints/spatial-pan-stations.md4.8 KB
  • blueprints/ticker-takeover.md3.0 KB
  • blueprints/titlecard-reveal.md7.3 KB
  • blueprints/transcript-scroll-artifact-reveal.md11.4 KB
  • blueprints/typewriter-reveal.md6.1 KB
  • blueprints/video-text-pivot.md3.2 KB
  • blueprints/zoom-out-workspace-reveal.md14.4 KB
  • examples/brand-reveal-assemble-zoom.html12.0 KB
  • examples/comparison-split-cards.html21.2 KB
  • examples/concept-demo-decode-pan.html18.0 KB
  • examples/cta-morph-press.html14.8 KB
  • examples/cta-orbit-collapse.html49.5 KB
  • examples/demo-page-scroll-spotlight.html24.4 KB
  • examples/hook-counter-burst.html22.5 KB
  • examples/messaging-multi-phrase.html11.9 KB
  • examples/metric-video-text-pivot.html25.0 KB
  • examples/problem-mockup-overwhelm.html43.4 KB
  • examples/proof-logo-chain.html28.2 KB
  • examples/takeover-ticker-displace.html10.7 KB
  • examples/workflow-approve-press.html20.2 KB
  • references/motion-blur.md14.2 KB
  • rules-index.md21.5 KB
  • rules/3d-camera-flight.md17.9 KB
  • rules/3d-page-scroll.md7.4 KB
  • rules/3d-text-depth-layers.md6.7 KB
  • rules/ai-tracking-box.md6.6 KB
  • rules/ambient-glow-bloom.md9.8 KB
  • rules/anchored-layout-expand.md10.3 KB
  • rules/asr-keyword-glow.md6.8 KB
  • rules/avatar-cloud-network.md6.6 KB
  • rules/camera-cursor-tracking.md7.9 KB
  • rules/card-morph-anchor.md7.5 KB
  • rules/center-outward-expansion.md4.2 KB
  • rules/chart-scrub-readout.md10.3 KB
  • rules/chromatic-glitch.md10.3 KB
  • rules/context-sensitive-cursor.md7.0 KB
  • rules/control-target-sync.md10.2 KB
  • rules/coordinate-target-zoom.md7.7 KB
  • rules/counting-dynamic-scale.md6.0 KB
  • rules/css-marker-patterns.md5.8 KB
  • rules/cursor-click-ripple.md6.4 KB
  • rules/cursor-drag.md10.2 KB
  • rules/depth-of-field-blur.md8.8 KB
  • rules/depth-scatter-assemble.md7.1 KB
  • rules/discrete-text-sequence.md6.5 KB
  • rules/dynamic-content-sequencing.md8.5 KB
  • rules/gradient-text-sweep.md8.7 KB
  • rules/gsap-effects.md6.8 KB
  • rules/hacker-flip-3d.md5.6 KB
  • rules/kinetic-beat-slam.md6.5 KB
  • rules/motion-blur-streak.md16.1 KB
  • rules/multi-cursor-choreography.md10.5 KB
  • rules/multi-phase-camera.md7.8 KB
  • rules/nudge-curve.md2.6 KB
  • rules/orbit-3d-entry.md6.7 KB
  • rules/particle-burst.md9.9 KB
  • rules/physics-press-reaction.md6.7 KB
  • rules/press-release-spring.md7.0 KB
  • rules/reactive-displacement.md6.4 KB
  • rules/scale-swap-transition.md5.4 KB
  • rules/sine-wave-loop.md6.0 KB
  • rules/split-tilt-cards.md5.7 KB
  • rules/spring-pop-entrance.md6.6 KB
  • rules/stat-bars-and-fills.md5.5 KB
  • rules/svg-icon-enrichment.md7.7 KB
  • rules/svg-path-draw.md5.7 KB
  • rules/theme-crossfade-morph.md9.4 KB
  • rules/vertical-spring-ticker.md5.5 KB
  • rules/viewport-change.md9.0 KB
  • rules/waterfall-entry.md4.5 KB
  • scripts/animation-map-sampling.mjs1.4 KB
  • scripts/animation-map-sampling.test.mjs1.6 KB
  • scripts/animation-map.mjs22.8 KB
  • scripts/animation-map.test.mjs18.9 KB
  • scripts/package-loader.mjs14.1 KB
  • scripts/package-loader.test.mjs4.2 KB
  • techniques.md17.0 KB
  • transitions/catalog.md6.5 KB
  • transitions/css-3d.md421 B
  • transitions/css-blur.md1.7 KB
  • transitions/css-cover.md1.4 KB
  • transitions/css-destruction.md4.4 KB
  • transitions/css-dissolve.md2.4 KB
  • transitions/css-distortion.md1.8 KB
  • transitions/css-grid.md370 B
  • transitions/css-light.md2.3 KB
  • transitions/css-mechanical.md1.6 KB
  • transitions/css-other.md838 B
  • transitions/css-push.md1.2 KB
  • transitions/css-radial.md1.0 KB
  • transitions/css-scale.md715 B
  • transitions/overview.md13.5 KB
  • transitions/TRANSITION-REGISTRY.md8.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin. Standalone installs keep the update instructions below.

HyperFrames Animation

Contents

All motion knowledge in one skill: rules (atomic recipes), blueprints (multi-phase scene templates), transitions (scene-to-scene), techniques (broader motion-design patterns), and adapters (per-runtime APIs).

For the composition contract (data attributes, sub-compositions, determinism) see hyperframes-core.

Default: compose atomic rules

Pick 2-4 rules from rules-index.md, glue them together with a single paused GSAP timeline, done. This is faster and produces less code than starting from a blueprint.

Load a blueprint when

  • The scene matches an existing pre-designed multi-phase template (brand-reveal, social-proof, etc.) and reusing its phase pipeline saves real authoring time
  • You want runnable ground-truth code for a complex 4-5 phase choreography

Blueprints live in blueprints-index.md. Each entry points to blueprints/<id>.md (recipe). Do not read it speculatively; load it when you've already decided you need scene-level orchestration.

Routing

Want to…Read
Pick an atomic motion pattern by trigger / tagrules-index.md
Read one rule's full HTML / CSS / GSAP reciperules/<name>.md
Pick a multi-phase scene templateblueprints-index.md
Read one blueprint's full recipeblueprints/<id>.md
Author a scene transition (CSS-driven, between two clips)transitions/overview.md, transitions/catalog.md
Look up a broader motion-design techniquetechniques.md
Motion blur — shutter smear on an element, and when not to use itreferences/motion-blur.md
Analyze an existing composition's animation mapscripts/animation-map.mjs
GSAP API — timeline / tweens / position parametersadapters/gsap.md
GSAP — drop-in effect recipesrules/gsap-effects.md
GSAP — transforms / perfadapters/gsap-transforms-and-perf.md
GSAP — eases / staggeradapters/gsap-easing-and-stagger.md
GSAP — timeline / labelsadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (After Effects exports, window.__hfLottie)adapters/lottie.md
Character animation (walk cycle, mascot, jointed puppet, gestures)adapters/lottie.md → Characters
Three.js / WebGL (3D scenes, 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, compute pipelines)adapters/typegpu.md
HTML-as-texture + WebGL/GLSL post-fx (capture live DOM via drawElementImage)adapters/html-in-canvas-patterns.md
Named text-animation effects (24 IDs via external animate-text skill)adapters/animate-text.md

Picking a runtime

  • GSAP is the default for 95% of motion work — covers timeline orchestration, transforms, easing, stagger. All atomic rules in this skill are GSAP-based.
  • Lottie when an asset has its own pre-baked timeline (typically After Effects exports), including characters that walk, gesture or react.
  • Three.js for 3D scenes, camera motion, shader-driven visuals.
  • Anime.js for lightweight tweening when GSAP is overkill.
  • CSS for simple repeated motifs, decoration, shimmer — no JavaScript animation cost.
  • WAAPI for native browser keyframes without a GSAP dependency.
  • TypeGPU / WebGPU for GPU-rendered canvases (particles, liquid glass, custom shaders).

Multiple runtimes can coexist in one composition. Each registers its instances on the runtime-specific global so HyperFrames can seek all of them in one pass.

Critical Constraints

Prerequisite: hyperframes-core → One paused timeline + Non-negotiable rules (single paused timeline, data-duration governs length, no Math.random / Date.now / performance.now, no repeat: -1 without a finite root data-duration, no page-load gsap.set on later-scene clips, no display or raw visibility tweens, and register the timeline only after it is fully built, including when the build runs inside an async callback such as document.fonts.ready). GSAP autoAlpha and zero-duration visibility sets at explicit timeline boundaries remain allowed by core. Use those exceptions only on non-clip elements or wrappers inside a clip; the framework owns .clip lifecycle. Don't restate the full contract here.

Animation-craft additions on top of core's contract:

  • Pre-calculated layout constants — never derive positions from getBoundingClientRect() at tween time. Tween-time DOM measurements desync because the renderer samples in parallel; compute coordinates once at composition setup and reuse.
  • Spatial motion uses GSAP transform aliases only (x, y, scale, rotation). Core's allowlist also permits opacity / color / backgroundColor / borderRadius for non-spatial property tweens — but never width / height / top / left for layout changes.

Scripts

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

Reads every GSAP timeline registered on window.__timelines, enumerates tweens, samples bboxes, computes flags, outputs animation-map.json. Use it to audit choreography (dead zones, stagger consistency, lifecycle warnings) after authoring.

animation-map.mjs resolves helper packages from the current project first, then can bootstrap the bundled HyperFrames package version. Set HYPERFRAMES_SKILL_PKG_VERSION=<version> only when running the skill outside the bundled CLI/skill install and you need to pin that bootstrap version explicitly.

See Also

  • hyperframes-core — composition structure, data attributes, sub-compositions, deterministic render contract
  • hyperframes-creative — palettes, typography, narration, beat planning (non-animation creative direction)
  • hyperframes-cli — npx hyperframes lint / check / snapshot / preview / render

Reference files

Read the matching file directly when its topic applies; the indexes remain available for choosing among recipes.

Adapters

Blueprints

Guides

References

Rules

Transitions

  • Transition Registry — machine source of truth — Read when choosing or implementing this scene transition.
  • Transition Catalog — Read when choosing or implementing this scene transition.
  • 3D — Read when choosing or implementing this scene transition.
  • Blur — Read when choosing or implementing this scene transition.
  • Cover — Read when choosing or implementing this scene transition.
  • Destruction — Read when choosing or implementing this scene transition.
  • Dissolve — Read when choosing or implementing this scene transition.
  • Distortion — Read when choosing or implementing this scene transition.
  • Grid — Read when choosing or implementing this scene transition.
  • Light — Read when choosing or implementing this scene transition.
  • Mechanical — Read when choosing or implementing this scene transition.
  • Other — Read when choosing or implementing this scene transition.
  • Linear / Push — Read when choosing or implementing this scene transition.
  • Radial / Shape — Read when choosing or implementing this scene transition.
  • Scale / Zoom — Read when choosing or implementing this scene transition.
  • Scene Transitions — Read when choosing or implementing this scene transition.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create a 12-second title animation in HyperFrames, where sweeping leaves reveal two headlines. Customize typography, leaf counts, sweep speed, background color, and the breeze moving the leaves that remain on the text.

中文简介正在准备中。当前显示英语简介。

  • Create a nature-themed video opening
  • Reveal two headlines in sequence
  • Adjust leaf movement to suit a title
heygen-com/hyperframes6.8万2026年10月19日 更新

Plan subtitles as layers over a video, deciding which spoken phrases to omit, show normally, or emphasize behind the subject. The guidance preserves full-frame composition and limits large embedded words to occasional key moments.

中文简介正在准备中。当前显示英语简介。

  • Planning subtitles for a talking-head video
  • Choosing words to emphasize behind the subject
  • Centering a scene that carries subtitles
heygen-com/hyperframes6.8万2026年10月19日 更新

Turn a weekly Markdown changelog into a branded video project with animated interface examples, Annie narration, captions, and background music. The workflow selects key updates and builds a 45–60 second square video, with rendering performed on request.

中文简介正在准备中。当前显示英语简介。

  • Turn weekly release notes into a short video
  • Demonstrate product updates with animated interface examples
  • Prepare a branded update video with narration and captions
heygen-com/hyperframes6.8万2026年10月19日 更新

Add an eight-second HyperFrames headline animation where square tiles lift, tilt, and flip to reveal a second message. Customize both headlines and 18 settings covering tile size, sweep direction, timing, depth, bounce, and shadows.

中文简介正在准备中。当前显示英语简介。

  • Reveal a second headline through flipping tiles
  • Create an animated opening for a promotional video
  • Adjust tile depth and shadows to suit a design
heygen-com/hyperframes6.8万2026年10月19日 更新

Add a 3D card carousel to a HyperFrames video. Rounded cuboids enter from the right, rotate in sequence, pause on a featured card, and exit left, with 40 variables for content, geometry, lighting, and camera settings.

中文简介正在准备中。当前显示英语简介。

  • Presenting multiple cards in a 3D carousel
  • Pausing on a featured card
  • Replacing card content with JSON
heygen-com/hyperframes6.8万2026年10月19日 更新

Design scene transitions and animated text using matched movement direction and speed across cuts. The catalog provides concrete settings for zooms, blur, word-by-word transitions, staggered entrances, and repositioning groups of elements.

中文简介正在准备中。当前显示英语简介。

  • Connect scenes with matching motion
  • Transition between headlines word by word
  • Bring title elements in with staggered timing
heygen-com/hyperframes6.8万2026年10月19日 更新

查看 heygen-com 的全部技能

报告此技能的问题