hyperframes-animation

Generated source view for the actual executable engineering/hyperframes-animation skill. The durable routing article is Frontend and Design Skills. Source: skills/engineering/hyperframes-animation/SKILL.md

Runtime Source

Field Value
Category engineering
Origin unknown
Slug hyperframes-animation
Source slug hyperframes-animation
Family Frontend and Design Skills
Source skills/engineering/hyperframes-animation/SKILL.md

Bundled Resources

These files are part of the executable skill folder and must be preserved with the skill source.

File Role
adapters/animate-text.md Bundled resource
adapters/animejs.md Bundled resource
adapters/css-animations.md Bundled resource
adapters/gsap-easing-and-stagger.md Bundled resource
adapters/gsap-timeline-and-labels.md Bundled resource
adapters/gsap-transforms-and-perf.md Bundled resource
adapters/gsap.md Bundled resource
adapters/html-in-canvas-patterns.md Bundled resource
adapters/lottie.md Bundled resource
adapters/three.md Bundled resource
adapters/typegpu.md Bundled resource
adapters/waapi.md Bundled resource
blueprints-index.md Bundled resource
blueprints/agent-progress-theater.md Bundled resource
blueprints/camera-journey.md Bundled resource
blueprints/comparison-split.md Bundled resource
blueprints/constellation-hub.md Bundled resource
blueprints/cta-morph-press.md Bundled resource
blueprints/cursor-ui-demo.md Bundled resource
blueprints/dataviz-countup.md Bundled resource
blueprints/device-surface-showcase.md Bundled resource
blueprints/fixed-anchor-cycle.md Bundled resource
blueprints/grid-card-assemble.md Bundled resource
blueprints/kinetic-type-beats.md Bundled resource
blueprints/logo-assemble-lockup.md Bundled resource
blueprints/overwhelm-surround.md Bundled resource
blueprints/panel-edit-live-sync.md Bundled resource
blueprints/prompt-type-submit-generate.md Bundled resource
blueprints/spatial-pan-stations.md Bundled resource
blueprints/ticker-takeover.md Bundled resource
blueprints/titlecard-reveal.md Bundled resource
blueprints/transcript-scroll-artifact-reveal.md Bundled resource
blueprints/typewriter-reveal.md Bundled resource
blueprints/video-text-pivot.md Bundled resource
blueprints/zoom-out-workspace-reveal.md Bundled resource
examples/brand-reveal-assemble-zoom.html Example
examples/comparison-split-cards.html Example
examples/concept-demo-decode-pan.html Example
examples/cta-morph-press.html Example
examples/cta-orbit-collapse.html Example
examples/demo-page-scroll-spotlight.html Example
examples/hook-counter-burst.html Example
examples/messaging-multi-phrase.html Example
examples/metric-video-text-pivot.html Example
examples/problem-mockup-overwhelm.html Example
examples/proof-logo-chain.html Example
examples/takeover-ticker-displace.html Example
examples/workflow-approve-press.html Example
rules-index.md Bundled resource
rules/3d-camera-flight.md Bundled resource
rules/3d-page-scroll.md Bundled resource
rules/3d-text-depth-layers.md Bundled resource
rules/ai-tracking-box.md Bundled resource
rules/ambient-glow-bloom.md Bundled resource
rules/anchored-layout-expand.md Bundled resource
rules/asr-keyword-glow.md Bundled resource
rules/avatar-cloud-network.md Bundled resource
rules/camera-cursor-tracking.md Bundled resource
rules/card-morph-anchor.md Bundled resource
rules/center-outward-expansion.md Bundled resource
rules/chart-scrub-readout.md Bundled resource
rules/chromatic-glitch.md Bundled resource
rules/context-sensitive-cursor.md Bundled resource
rules/control-target-sync.md Bundled resource
rules/coordinate-target-zoom.md Bundled resource
rules/counting-dynamic-scale.md Bundled resource
rules/css-marker-patterns.md Bundled resource
rules/cursor-click-ripple.md Bundled resource
rules/cursor-drag.md Bundled resource
rules/depth-of-field-blur.md Bundled resource
rules/depth-scatter-assemble.md Bundled resource
rules/discrete-text-sequence.md Bundled resource
rules/dynamic-content-sequencing.md Bundled resource
rules/gradient-text-sweep.md Bundled resource
rules/gsap-effects.md Bundled resource
rules/hacker-flip-3d.md Bundled resource
rules/kinetic-beat-slam.md Bundled resource
rules/motion-blur-streak.md Bundled resource
rules/multi-cursor-choreography.md Bundled resource
rules/multi-phase-camera.md Bundled resource
rules/nudge-curve.md Bundled resource
rules/orbit-3d-entry.md Bundled resource
rules/particle-burst.md Bundled resource
rules/physics-press-reaction.md Bundled resource
rules/press-release-spring.md Bundled resource
rules/reactive-displacement.md Bundled resource
rules/scale-swap-transition.md Bundled resource
rules/sine-wave-loop.md Bundled resource
rules/split-tilt-cards.md Bundled resource
rules/spring-pop-entrance.md Bundled resource
rules/stat-bars-and-fills.md Bundled resource
rules/svg-icon-enrichment.md Bundled resource
rules/svg-path-draw.md Bundled resource
rules/theme-crossfade-morph.md Bundled resource
rules/vertical-spring-ticker.md Bundled resource
rules/viewport-change.md Bundled resource
rules/waterfall-entry.md Bundled resource
scripts/animation-map-sampling.mjs Executable helper
scripts/animation-map-sampling.test.mjs Executable helper
scripts/animation-map.mjs Executable helper
scripts/animation-map.test.mjs Executable helper
scripts/package-loader.mjs Executable helper
scripts/package-loader.test.mjs Executable helper
techniques.md Bundled resource
transitions/TRANSITION-REGISTRY.md Bundled resource
transitions/catalog.md Bundled resource
transitions/css-3d.md Bundled resource
transitions/css-blur.md Bundled resource
transitions/css-cover.md Bundled resource
transitions/css-destruction.md Bundled resource
transitions/css-dissolve.md Bundled resource
transitions/css-distortion.md Bundled resource
transitions/css-grid.md Bundled resource
transitions/css-light.md Bundled resource
transitions/css-mechanical.md Bundled resource
transitions/css-other.md Bundled resource
transitions/css-push.md Bundled resource
transitions/css-radial.md Bundled resource
transitions/css-scale.md Bundled resource
transitions/overview.md Bundled resource

Description

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.

Skill Source

---
name: hyperframes-animation
description: "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."
---

# HyperFrames Animation

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 / tag                                 | `rules-index.md`                                    |
| Read one rule's full HTML / CSS / GSAP recipe                                  | `rules/<name>.md`                                   |
| Pick a multi-phase scene template                                              | `blueprints-index.md`                               |
| Read one blueprint's full recipe                                               | `blueprints/<id>.md`                                |
| Author a scene transition (CSS-driven, between two clips)                      | `transitions/overview.md`, `transitions/catalog.md` |
| Look up a broader motion-design technique                                      | `techniques.md`                                     |
| Analyze an existing composition's animation map                                | `scripts/animation-map.mjs`                         |
| GSAP API — timeline / tweens / position parameters                             | `adapters/gsap.md`                                  |
| GSAP — drop-in effect recipes                                                  | `rules/gsap-effects.md`                             |
| GSAP — transforms / perf                                                       | `adapters/gsap-transforms-and-perf.md`              |
| GSAP — eases / stagger                                                         | `adapters/gsap-easing-and-stagger.md`               |
| GSAP — timeline / labels                                                       | `adapters/gsap-timeline-and-labels.md`              |
| Lottie / dotLottie (After Effects exports, `window.__hfLottie`)                | `adapters/lottie.md`                                |
| 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).
- **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` → Non-Negotiable Rules** (single paused timeline, `data-duration` governs length, no `Math.random` / `Date.now` / `performance.now`, no `repeat: -1`, no page-load `gsap.set` on later-scene clips, no `display` or raw `visibility` tweens, and no timeline construction inside `async` / `setTimeout` / `Promise`). 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

```bash
node skills/hyperframes-animation/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`

Timeline

1 page links here