Skip to content

Diogenesoftoronto/keating / video/keating-surface-tour/.agents/skills/hyperframes-animation

hyperframes-animation

Verified

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.

FileKindSize
SKILL.mdskill md7.6 KB
adapters/animate-text.mdmarkdown4.0 KB
adapters/animejs.mdmarkdown6.1 KB
adapters/css-animations.mdmarkdown5.3 KB
adapters/gsap-easing-and-stagger.mdmarkdown13.0 KB
adapters/gsap-timeline-and-labels.mdmarkdown3.6 KB
adapters/gsap-transforms-and-perf.mdmarkdown8.4 KB
adapters/gsap.mdmarkdown6.9 KB
adapters/html-in-canvas-patterns.mdmarkdown16.8 KB
adapters/lottie.mdmarkdown4.0 KB
adapters/three.mdmarkdown5.1 KB
adapters/typegpu.mdmarkdown7.9 KB
adapters/waapi.mdmarkdown4.1 KB
blueprints-index.mdmarkdown25.9 KB
blueprints/agent-progress-theater.mdmarkdown15.7 KB
blueprints/camera-journey.mdmarkdown13.3 KB
blueprints/comparison-split.mdmarkdown3.2 KB
blueprints/constellation-hub.mdmarkdown7.0 KB
blueprints/cta-morph-press.mdmarkdown6.3 KB
blueprints/cursor-ui-demo.mdmarkdown19.8 KB
blueprints/dataviz-countup.mdmarkdown14.3 KB
blueprints/device-surface-showcase.mdmarkdown16.7 KB
blueprints/fixed-anchor-cycle.mdmarkdown8.9 KB
blueprints/grid-card-assemble.mdmarkdown15.2 KB
blueprints/kinetic-type-beats.mdmarkdown28.5 KB
blueprints/logo-assemble-lockup.mdmarkdown26.0 KB
blueprints/overwhelm-surround.mdmarkdown6.0 KB
blueprints/panel-edit-live-sync.mdmarkdown13.1 KB
blueprints/prompt-type-submit-generate.mdmarkdown18.2 KB
blueprints/spatial-pan-stations.mdmarkdown4.8 KB
blueprints/ticker-takeover.mdmarkdown3.0 KB
blueprints/titlecard-reveal.mdmarkdown7.3 KB
blueprints/transcript-scroll-artifact-reveal.mdmarkdown11.4 KB
blueprints/typewriter-reveal.mdmarkdown6.1 KB
blueprints/video-text-pivot.mdmarkdown3.2 KB
blueprints/zoom-out-workspace-reveal.mdmarkdown14.4 KB
examples/brand-reveal-assemble-zoom.htmlother12.0 KB
examples/comparison-split-cards.htmlother21.2 KB
examples/concept-demo-decode-pan.htmlother18.0 KB
examples/cta-morph-press.htmlother14.8 KB
examples/cta-orbit-collapse.htmlother49.5 KB
examples/demo-page-scroll-spotlight.htmlother24.4 KB
examples/hook-counter-burst.htmlother22.5 KB
examples/messaging-multi-phrase.htmlother11.9 KB
examples/metric-video-text-pivot.htmlother25.0 KB
examples/problem-mockup-overwhelm.htmlother43.4 KB
examples/proof-logo-chain.htmlother28.2 KB
examples/takeover-ticker-displace.htmlother10.7 KB
examples/workflow-approve-press.htmlother20.2 KB
rules-index.mdmarkdown20.7 KB
rules/3d-camera-flight.mdmarkdown17.7 KB
rules/3d-page-scroll.mdmarkdown7.2 KB
rules/3d-text-depth-layers.mdmarkdown6.6 KB
rules/ai-tracking-box.mdmarkdown6.4 KB
rules/ambient-glow-bloom.mdmarkdown9.6 KB
rules/anchored-layout-expand.mdmarkdown10.1 KB
rules/asr-keyword-glow.mdmarkdown6.6 KB
rules/avatar-cloud-network.mdmarkdown6.4 KB
rules/camera-cursor-tracking.mdmarkdown7.7 KB
rules/card-morph-anchor.mdmarkdown7.2 KB
rules/center-outward-expansion.mdmarkdown4.2 KB
rules/chart-scrub-readout.mdmarkdown10.1 KB
rules/chromatic-glitch.mdmarkdown10.1 KB
rules/context-sensitive-cursor.mdmarkdown6.8 KB
rules/control-target-sync.mdmarkdown10.0 KB
rules/coordinate-target-zoom.mdmarkdown7.4 KB
rules/counting-dynamic-scale.mdmarkdown5.8 KB
rules/css-marker-patterns.mdmarkdown5.6 KB
rules/cursor-click-ripple.mdmarkdown6.3 KB
rules/cursor-drag.mdmarkdown10.0 KB
rules/depth-of-field-blur.mdmarkdown8.7 KB
rules/depth-scatter-assemble.mdmarkdown6.9 KB
rules/discrete-text-sequence.mdmarkdown6.3 KB
rules/dynamic-content-sequencing.mdmarkdown8.4 KB
rules/gradient-text-sweep.mdmarkdown8.5 KB
rules/gsap-effects.mdmarkdown6.8 KB
rules/hacker-flip-3d.mdmarkdown5.5 KB
rules/kinetic-beat-slam.mdmarkdown6.3 KB
rules/motion-blur-streak.mdmarkdown10.4 KB
rules/multi-cursor-choreography.mdmarkdown10.3 KB
rules/multi-phase-camera.mdmarkdown7.6 KB
rules/nudge-curve.mdmarkdown2.6 KB
rules/orbit-3d-entry.mdmarkdown6.5 KB
rules/particle-burst.mdmarkdown9.7 KB
rules/physics-press-reaction.mdmarkdown6.5 KB
rules/press-release-spring.mdmarkdown6.9 KB
rules/reactive-displacement.mdmarkdown6.4 KB
rules/scale-swap-transition.mdmarkdown5.4 KB
rules/sine-wave-loop.mdmarkdown6.0 KB
rules/split-tilt-cards.mdmarkdown5.5 KB
rules/spring-pop-entrance.mdmarkdown6.4 KB
rules/stat-bars-and-fills.mdmarkdown5.4 KB
rules/svg-icon-enrichment.mdmarkdown7.4 KB
rules/svg-path-draw.mdmarkdown5.2 KB
rules/theme-crossfade-morph.mdmarkdown9.2 KB
rules/vertical-spring-ticker.mdmarkdown5.4 KB
rules/viewport-change.mdmarkdown8.8 KB
rules/waterfall-entry.mdmarkdown4.5 KB
scripts/animation-map-sampling.mjsscript1.4 KB
scripts/animation-map-sampling.test.mjsscript1.6 KB
scripts/animation-map.mjsscript19.8 KB
scripts/animation-map.test.mjsscript12.1 KB
scripts/package-loader.mjsscript13.2 KB
scripts/package-loader.test.mjsscript2.5 KB
techniques.mdmarkdown15.4 KB
transitions/TRANSITION-REGISTRY.mdmarkdown7.9 KB
transitions/catalog.mdmarkdown6.5 KB
transitions/css-3d.mdmarkdown421 B
transitions/css-blur.mdmarkdown1.7 KB
transitions/css-cover.mdmarkdown1.4 KB
transitions/css-destruction.mdmarkdown4.4 KB
transitions/css-dissolve.mdmarkdown2.4 KB
transitions/css-distortion.mdmarkdown1.8 KB
transitions/css-grid.mdmarkdown370 B
transitions/css-light.mdmarkdown2.3 KB
transitions/css-mechanical.mdmarkdown1.6 KB
transitions/css-other.mdmarkdown838 B
transitions/css-push.mdmarkdown1.2 KB
transitions/css-radial.mdmarkdown1.0 KB
transitions/css-scale.mdmarkdown715 B
transitions/overview.mdmarkdown13.5 KB

examples/takeover-ticker-displace.html

View on GitHub
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <title>Scene 5 — HyperFrames Displace Reveal</title>

    <!--
      HyperFrames composition.tsx.

      Choreography (4 phases, 7.5 seconds total):
        0.00 – 0.67s   Typewriter reveals "HyperFrames turns" (3 → 17 chars)
        1.67 – 2.22s   Ticker scrolls: HTML → motion
        3.33 – 3.88s   Ticker scrolls: motion → video
        4.60 – 5.45s   Logo enters from offscreen-right with rotation + scale impact
                       Text group pushed left + fades (40-50% of hero duration)
        6.60 – 7.50s   Logo breathes (dual-frequency sine onUpdate, multiplicative on 1.3 scale)
          tuned to 40-50% of hero duration so the impact reads as causal
        - Breathing uses Form 2 (onUpdate) so it multiplies onto the 1.3 final scale,
          not overwrites it (Form 1 yoyo would undo the impact)
        - Two breathing periods (1.0s scale, 1.33s rotation) for organic feel
        - Logo uses a local static image asset referenced with a plain URL
    -->

    <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>

    <style>
      :root {
        --bg: linear-gradient(
          135deg,
          #3a3a3a 0%,
          #17211f 30%,
          #0b2328 48%,
          #1f3518 70%,
          #343434 100%
        );
        --text: #f8fafc;
        --accent: #18d9e8;
        --accent-2: #7bea5a;
      }
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html,
      body {
        margin: 0;
        width: 1920px;
        height: 1080px;
        overflow: hidden;
        background: var(--bg);
        font-family:
          "Inter",
          system-ui,
          -apple-system,
          sans-serif;
        color: var(--text);
      }

      .stage {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
      }

      /* Text group — typewriter + ticker side by side, displaced as a unit */
      .text-group {
        position: absolute;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
      }

      .typewriter {
        height: 168px; /* = ITEM_HEIGHT (FONT_SIZE × 1.2) */
        display: flex;
        align-items: center;
        color: var(--text);
        font-weight: 400;
        font-size: 140px;
        line-height: 1;
        white-space: pre;
        text-shadow: 0 0 36px rgba(24, 217, 232, 0.18);
      }

      /* Vertical ticker */
      .ticker-window {
        height: 168px;
        overflow: hidden;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
      }
      .ticker-stack {
        display: flex;
        flex-direction: column;
        will-change: transform;
      }
      .ticker-item {
        height: 168px;
        display: flex;
        align-items: center;
        color: var(--accent);
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
        font-size: 140px;
        padding-left: 20px;
        line-height: 1;
        white-space: pre;
      }

      /* Hero logo — enters from offscreen right */
      .hero {
        position: absolute;
        width: 440px;
        height: 440px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 20; /* above text during overlap */
        opacity: 0; /* fromTo will animate */
      }
      .hero .logo-mark {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 52px;
        box-shadow:
          0 0 70px rgba(24, 217, 232, 0.28),
          0 0 120px rgba(123, 234, 90, 0.18);
      }
    </style>
  </head>
  <body>
    <div
      id="root"
      data-composition-id="main"
      data-start="0"
      data-duration="7.5"
      data-width="1920"
      data-height="1080"
    >
      <div
        class="stage clip"
        data-start="0"
        data-duration="7.5"
        data-track-index="1"
        id="displace-stage"
      >
        <!-- Text group: typewriter + ticker -->
        <div class="text-group" id="text-group">
          <div class="typewriter">
            <span class="typewriter-text">Hyp</span>
          </div>
          <div class="ticker-window">
            <div class="ticker-stack">
              <div class="ticker-item">HTML</div>
              <div class="ticker-item">motion</div>
              <div class="ticker-item">video</div>
            </div>
          </div>
        </div>

        <!-- Hero logo asset -->
        <div class="hero" id="hero-logo">
          <!-- Inline-SVG placeholder mark — swap for your logo image -->
          <svg class="logo-mark" viewBox="0 0 100 100" role="img" aria-label="HyperFrames">
            <defs>
              <linearGradient id="hfMark" x1="0" y1="0" x2="1" y2="1">
                <stop offset="0" stop-color="#8b7bff" />
                <stop offset="1" stop-color="#3ddc97" />
              </linearGradient>
            </defs>
            <rect x="4" y="4" width="92" height="92" rx="22" fill="url(#hfMark)" />
            <text
              x="50"
              y="63"
              text-anchor="middle"
              font-family="Inter, system-ui, sans-serif"
              font-size="40"
              font-weight="800"
              fill="#fff"
            >
              HF
            </text>
          </svg>
        </div>
      </div>
    </div>

    <script>
      /* ================================================================
         CONSTANTS
         ================================================================ */
      const TOTAL_DURATION = 7.5;
      const FONT_SIZE = 140;
      const ITEM_HEIGHT = FONT_SIZE * 1.2; // = 168 px

      const TIMING = {
        // Phase 1: typewriter
        typeStart: 0.0,
        typeDur: 0.67,
        typeStartLen: 3, // pre-render the first 3 chars

        // Phase 2: ticker steps
        ticker1At: 1.67, // HTML → motion
        ticker2At: 3.33, // motion → video
        stepDur: 0.55,

        // Phase 3: reactive displacement
        displaceAt: 4.6,
        heroDur: 0.85, // matches spring(mass:1.5) settle
        offscreenX: 800, // hero starts here
        pushDist: -150, // text pushed THIS direction

        // Phase 4: breathing
        idleStart: 6.6, // displaceAt + heroDur + ~1.15s buffer
      };

      const FULL_TEXT = "HyperFrames turns";

      /* ================================================================
         TIMELINE
         ================================================================ */
      window.__timelines = window.__timelines || {};
      const tl = gsap.timeline({ paused: true });
      window.__timelines["main"] = tl;

      /* ----------------------------------------------------------------
         PHASE 1: Typewriter (smooth slice)
         ---------------------------------------------------------------- */
      const typewriterEl = document.querySelector(".typewriter-text");
      const typeProxy = { progress: TIMING.typeStartLen };

      tl.to(
        typeProxy,
        {
          progress: FULL_TEXT.length,
          duration: TIMING.typeDur,
          ease: "none",
          onUpdate: () => {
            const len = Math.floor(typeProxy.progress);
            const next = FULL_TEXT.slice(0, len);
            if (typewriterEl.textContent !== next) typewriterEl.textContent = next;
          },
        },
        TIMING.typeStart,
      );

      /* ----------------------------------------------------------------
         PHASE 2: Vertical ticker (2 steps: HTML → motion → video)
         ---------------------------------------------------------------- */
      tl.to(
        ".ticker-stack",
        {
          y: `-=${ITEM_HEIGHT}`,
          duration: TIMING.stepDur,
          ease: "back.out(1.4)", // spring(stiffness:120, damping:14)
        },
        TIMING.ticker1At,
      );

      tl.to(
        ".ticker-stack",
        {
          y: `-=${ITEM_HEIGHT}`,
          duration: TIMING.stepDur,
          ease: "back.out(1.4)",
        },
        TIMING.ticker2At,
      );

      /* ----------------------------------------------------------------
         PHASE 3: Reactive displacement — three concurrent tweens.
         ---------------------------------------------------------------- */
      // (1) Hero enters with rotation + scale impact, lands at scale 1.3.
      tl.fromTo(
        ".hero",
        { x: TIMING.offscreenX, scale: 0.5, rotation: -45, opacity: 0 },
        {
          x: 0,
          scale: 1.3,
          rotation: 0,
          opacity: 1,
          duration: TIMING.heroDur,
          ease: "power2.out", // spring(stiffness:100, damping:20, mass:1.5)
        },
        TIMING.displaceAt,
      );

      // (2) Text pushed left. Completes at 50% of hero duration → immediate impact.
      tl.to(
        ".text-group",
        { x: TIMING.pushDist, duration: TIMING.heroDur * 0.5, ease: "power2.out" },
        TIMING.displaceAt,
      );

      // (3) Text fades. Completes at 40% → fades slightly before push lands.
      tl.to(
        ".text-group",
        { opacity: 0, duration: TIMING.heroDur * 0.4, ease: "power2.out" },
        TIMING.displaceAt,
      );

      /* ----------------------------------------------------------------
         PHASE 4: Breathing — onUpdate so it MULTIPLIES onto the 1.3 scale.
         Dual frequencies (1.0s scale, 1.33s rotation) for organic motion.
         ---------------------------------------------------------------- */
      const heroEl = document.querySelector(".hero");
      const HERO_FINAL_SCALE = 1.3;
      const HERO_FINAL_ROTATION = 0;
      const SCALE_PERIOD = 1.0; // seconds per scale cycle
      const ROTATE_PERIOD = 1.333; // seconds per rotation cycle — not a simple ratio of SCALE_PERIOD
      const SCALE_AMP = 0.05;
      const ROTATE_AMP = 3;

      const breathDur = TOTAL_DURATION - TIMING.idleStart;

      tl.to(
        { tick: 0 },
        {
          tick: 1,
          duration: breathDur,
          ease: "none",
          onUpdate: function () {
            const idleTime = Math.max(0, tl.time() - TIMING.idleStart);
            const omegaS = (idleTime / SCALE_PERIOD) * Math.PI * 2;
            const omegaR = (idleTime / ROTATE_PERIOD) * Math.PI * 2;
            gsap.set(heroEl, {
              scale: HERO_FINAL_SCALE * (1 + Math.sin(omegaS) * SCALE_AMP),
              rotation: HERO_FINAL_ROTATION + Math.sin(omegaR) * ROTATE_AMP,
            });
          },
        },
        TIMING.idleStart,
      );
    </script>
  </body>
</html>
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall