# Glow Logo Animation

Motionboard shot name: Glow Lockup

On pure black, the sub-line Series 3 blooms up alone in a soft red to violet glow. It slides down to its place, the Pulse mark and wordmark rise above it, then the kicker Introducing and the tagline Know your heart. arrive and the lockup holds still.

- Position in a launch film: Ending
- Slug: glow-logo-animation
- Preview video: https://media.motionboard.app/glow-lockup.mp4
- Recipe page: https://motionboard.app/recipes/glow-logo-animation/
- License: MIT. Free to use in your own projects, including commercial launch films. https://github.com/krisyangdev/motionboard/blob/main/LICENSE

## How to use this recipe

You are a coding agent. The user wants this shot for their own product. Follow these steps.

1. **Know the product.** If the product is clear from the user's repo or conversation, ask nothing and start. Otherwise ask once for: product name, logo file, brand colors.
2. **Pick the output.** If the user's message says a video or their website, do that. Otherwise ask once which one they want.
   - **Video (HyperFrames).** Create a folder named `glow-lockup`. Download every file under "Source files" below with the curl commands, keeping relative paths. Adapt `index.html` (see "What to adapt"). Run `npx --yes hyperframes@0.8.209 check` on the untouched copy first and note its result. Preview with `npx --yes hyperframes@0.8.209 preview`, render an MP4 with `npx --yes hyperframes@0.8.209 render` (into `renders/`, named with a timestamp). The same commands are in `package.json` as `dev`, `check`, `render`; pass flags after `--`, as in `npm run render -- --quality draft`. Rendering needs network access for web fonts and GSAP.
   - **Website motion.** Port the GSAP timeline in `index.html` into the user's site, using their stack (React, Vue, Svelte, plain HTML). Build the same DOM structure, keep the timeline's durations, delays and easings exactly, and start it when the element scrolls into view (IntersectionObserver or ScrollTrigger). Respect `prefers-reduced-motion: reduce`: show the final frame as a static state and skip the movement.
3. **What to adapt.**
   - **Brand layer** (product name, logo, colors, fonts, copy): replace directly with the user's.
   - **UI layer** (the product screens, cards, windows, controls shown in the shot): rebuild the user's real UI as clean DOM, from their codebase (components, design tokens) or from a screenshot used as reference only. Never paste a screenshot into the shot.
   - **Motion** (timing, easing, camera moves, layering, stagger, order of events): keep exactly as in the source. This is what the recipe is.
   - The timeline targets UI elements by id and class, and camera moves land on fixed coordinates. Keep the ids the timeline uses, keep row counts and text lengths close to the source, and when the layout moves, update the target coordinates without changing the times.
4. **Fonts.** HyperFrames fetches Google Fonts such as Inter on its own. Some sources use macOS local fonts (PingFang, Songti via `local()`). Use the user's brand font when it can be bundled; for a system font such as SF Pro, use Inter. Check that text still fits its boxes.
5. **Verify.** Compare the render with the preview video above at the beat times in the Timing row. The beats, timing and camera should match; only brand and UI content differ.

## Spec

| Item | Value |
| --- | --- |
| Timing | Film 11s. Bloom rises 0.5–2.6s; crisp letters resolve 1.3–3.4s; bloom swells around 3.7s; sub-line scales 1.3→1 and slides down 4.1–4.8s; bloom settles 4.4–7.4s; mark ring draws 4.8–5.6s and the pulse line 5.1–5.7s; Pulse rises 4.8–5.6s; kicker fades in 5.4–6.3s; tagline 6.2–7.2s; breathing and hue drift fade out 5.8–8.5s; lockup holds still from 8.5s to the end |
| Easing | Bloom and letter resolve power2.out; the sub-line move power3.inOut; bloom settle power2.inOut; mark and Pulse rise power2.out, ring draw power2.inOut; kicker and tagline power2.out; breathing and hue drift are sine curves damped by a half cosine over 5.8–8.5s |
| Camera | Locked frame on pure black `#000`. The only scale change is the sub-line, which starts at 1.3x centred 70px above its final spot and ends at 1x |
| Subject | Sub-line Series 3 at 130px, weight 700, letter-spacing 0.01em, filled with a 90° gradient `#ff4a3a` → `#ff2d8c` at 48% → `#b04dff`, background size 125% so the window slides 50% ±30% with the drift. Two blurred copies behind it: 58px blur at 66% opacity and 17px blur at 78%, with saturate 1.35 and 1.25 and a hue rotation of up to ±26deg; blur is 2.4x larger while the cloud forms. Pulse at 200px, weight 800, letter-spacing −0.035em, white, beside a 150px mark (ring r44, stroke 8, with a pulse line, stroke 7). Kicker Introducing 36px, weight 500, letter-spacing 0.14em, `#85858c`. Tagline Know your heart. 46px, weight 500, `#a2a2a8` |
| Sync | The cloud forms before the letters so the glow leads; the sub-line lands at 4.8s, the same moment the ring starts to draw and Pulse starts to rise; Pulse starts 20px below its final spot and stays clear of the sub-line; the kicker and tagline follow after the wordmark has landed |
| Style | Pure black, white type, grey secondary text, one glow in red, magenta and violet; Inter throughout; no grain, no vignette, no fade-out |

## Why it works

The sub-line is the only element on screen for the first four seconds, so the viewer sees one thing change: a soft colour cloud rises first, the crisp letters resolve inside it, and the cloud swells once before it settles. Because the cloud comes first, the glow reads as light given off by the letters. The text keeps a sharp gradient fill and the glow sits behind it in two blurred copies, one wide and one tight, so the letters stay legible and the colour never turns white. The sub-line then slides down to its place before anything else appears, so nothing crosses it; the mark, the wordmark, the kicker and the tagline arrive above and below it one after another, each fading in from a short rise. The breathing and the hue drift fade out by 8.5s, so the lockup holds completely still for the last 2.5s and the glow is the only warm colour on a pure black frame. White type and a grey kicker and tagline keep the three-colour glow as the one accent.

## Prompt

> Build an 11-second, 1920x1080, 30 fps pure-black end card called Glow Logo Animation for a fictional product, Pulse (a smartwatch line). Background #000, font Inter, one glow in red, magenta and violet. Use one paused GSAP 3.14.2 timeline and compute the glow in a single render(t) function driven by one linear proxy tween from 0 to 11s, with no CSS animations and no randomness. Hide every element in CSS with opacity 0 and tween to explicit end values.
>
> Layout, all centred on x=960: kicker Introducing (top 276px, 36px, weight 500, letter-spacing 0.14em, #85858c); a row with a 150px mark (white ring r44 stroke 8 and a pulse line stroke 7 in a 100-unit viewBox) and the wordmark Pulse (200px, weight 800, letter-spacing -0.035em, white, 36px gap), top 344px; the sub-line Series 3 (130px, weight 700, top 545px); tagline Know your heart. (top 720px, 46px, weight 500, #a2a2a8).
>
> The glow is three stacked copies of Series 3 in one inline-block. Each copy is filled with linear-gradient(90deg, #ff4a3a 0%, #ff2d8c 48%, #b04dff 100%) at background-size 125% using background-clip text. The front copy is crisp. Two copies behind it carry the bloom: a wide one with blur 58px at 66% opacity and saturate 1.35, and a tight one with blur 17px at 78% opacity and saturate 1.25, both with hue-rotate. Cap every opacity at 1 and never use additive blending, so the glow never turns white.
>
> Beat 1 (0.5–4s): only the sub-line is on screen, scaled 1.3 and centred 70px above its final spot. The bloom rises 0.5–2.6s (power2.out), with its blur 2.4x larger at the start and shrinking to its final value. The crisp letters resolve inside it 1.3–3.4s (power2.out, from blur 16px to sharp). The bloom swells about 28% around 3.7s (a gaussian bump 0.85s wide).
>
> Beat 2: the sub-line scales to 1 and slides to its final position 4.1–4.8s (power3.inOut) and nothing else moves until it lands. Then, from 4.8s, the mark fades in and rises from 20px below its spot, the ring draws with stroke-dashoffset 4.8–5.6s (power2.inOut) and the pulse line 5.1–5.7s (hide both paths with opacity 0 until they start); Pulse fades in and rises 20px 4.8–5.6s (power2.out); the kicker fades in with a 14px rise 5.4–6.3s; the tagline with a 16px rise 6.2–7.2s. The bloom settles down by 22% over 4.4–7.4s (power2.inOut).
>
> Motion in the glow: breathing is 10% of the glow level on a 2.8s sine, hue drift is a sine of up to 26deg with a 5.6s period, and the gradient window slides 50% ±30%. Multiply both by a damping that is 1 until 5.8s and eases to 0 by 8.5s with a half cosine, so everything is perfectly still from 8.5s to the end at 11s. No fade-out at the end, no grain, no vignette. Replace Pulse, Series 3, the kicker and the tagline with your own product's copy and mark.

## Often confused with

- [Gradient Text Animation](https://motionboard.app/r/gradient-text-animation.md): Gradient Text Animation sweeps a colour gradient across a big headline on a light screen; Glow Logo Animation keeps a still gradient in one sub-line and adds a blurred bloom behind it on pure black.
- [Logo Wordmark Reveal](https://motionboard.app/r/logo-wordmark-reveal.md): Logo Wordmark Reveal moves a mark into a wordmark; in Glow Logo Animation the lockup is built around a glowing sub-line that arrives first.

## Source files

Runnable HyperFrames project, 3 files.

- https://motionboard.app/source/glow-lockup/hyperframes.json (353 B)
- https://motionboard.app/source/glow-lockup/index.html (7.4 KB)
- https://motionboard.app/source/glow-lockup/package.json (300 B)

Download all of them:

```sh
curl -fsSL --create-dirs -o "glow-lockup/hyperframes.json" "https://motionboard.app/source/glow-lockup/hyperframes.json"
curl -fsSL --create-dirs -o "glow-lockup/index.html" "https://motionboard.app/source/glow-lockup/index.html"
curl -fsSL --create-dirs -o "glow-lockup/package.json" "https://motionboard.app/source/glow-lockup/package.json"
```

## index.html

```html
<!doctype html>
<html lang="en" data-resolution="landscape">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
    <style>
      * { margin: 0; padding: 0; box-sizing: border-box; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: #000; }
      #root {
        position: relative; width: 1920px; height: 1080px; background: #000; overflow: hidden;
        font-family: "Inter", sans-serif; -webkit-font-smoothing: antialiased;
      }
      .full { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
      .row { position: absolute; left: 0; width: 1920px; text-align: center; white-space: nowrap; }

      /* kicker */
      #kicker {
        top: 276px; height: 44px; line-height: 44px;
        font-size: 36px; font-weight: 500; letter-spacing: 0.14em; color: #85858c;
        opacity: 0;
      }

      /* wordmark row: mark + Pulse */
      #wm {
        top: 344px; height: 200px;
        display: flex; align-items: center; justify-content: center; gap: 36px;
      }
      #mk { width: 150px; height: 150px; opacity: 0; }
      #mk svg { display: block; width: 150px; height: 150px; overflow: visible; }
      #mk .dr {
        fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round;
        stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0;
      }
      #pt {
        font-size: 200px; line-height: 200px; font-weight: 800; letter-spacing: -0.035em;
        color: #fff; opacity: 0;
      }

      /* glowing sub-line */
      #gb { top: 545px; height: 130px; }
      #gbi { position: relative; display: inline-block; height: 130px; }
      .gt {
        display: block; font-size: 130px; line-height: 130px; font-weight: 700; letter-spacing: 0.01em;
        white-space: nowrap;
        background-image: linear-gradient(90deg, #ff4a3a 0%, #ff2d8c 48%, #b04dff 100%);
        background-size: 125% 100%; background-position: 50% 0;
        -webkit-background-clip: text; background-clip: text;
        color: transparent; -webkit-text-fill-color: transparent;
      }
      .bl { position: absolute; left: 0; top: 0; opacity: 0; }
      #core { position: relative; opacity: 0; }

      /* tagline */
      #tag {
        top: 720px; height: 56px; line-height: 56px;
        font-size: 46px; font-weight: 500; letter-spacing: 0.01em; color: #a2a2a8;
        opacity: 0;
      }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="11" data-width="1920" data-height="1080">
      <div id="lock" class="clip full" data-start="0" data-duration="11" data-track-index="0" data-layout-allow-overlap data-layout-ignore>
        <div id="kicker" class="row">Introducing</div>

        <div id="wm" class="row">
          <div id="mk">
            <svg viewBox="0 0 100 100" aria-hidden="true">
              <circle id="mRing" class="dr" cx="50" cy="50" r="44" pathLength="1" stroke-width="8" transform="rotate(-90 50 50)" />
              <path id="mBeat" class="dr" pathLength="1" stroke-width="7"
                d="M 17 53 L 35 53 L 44 33 L 55 71 L 63 47 L 68 53 L 83 53" />
            </svg>
          </div>
          <div id="pt">Pulse</div>
        </div>

        <div id="gb" class="row">
          <div id="gbi">
            <span id="blA" class="gt bl">Series 3</span>
            <span id="blB" class="gt bl">Series 3</span>
            <span id="core" class="gt">Series 3</span>
          </div>
        </div>

        <div id="tag" class="row">Know your heart.</div>
      </div>
    </div>

    <script>
      const DUR = 11;
      const clamp01 = (x) => Math.min(1, Math.max(0, x));
      const seg = (t, a, b) => clamp01((t - a) / (b - a));
      const pow2Out = (k) => 1 - Math.pow(1 - k, 2);
      const pow3Out = (k) => 1 - Math.pow(1 - k, 3);
      const pow2InOut = (k) => (k < 0.5 ? 2 * k * k : 1 - Math.pow(-2 * k + 2, 2) / 2);

      const $ = (s) => document.querySelector(s);
      const blA = $("#blA"), blB = $("#blB"), core = $("#core");

      /* Beat 1 stage: the sub-line starts large and centred in the frame, then moves to its place. */
      gsap.set("#gbi", { transformOrigin: "50% 50%", scale: 1.3, y: -70 });
      gsap.set("#mk", { y: 20, scale: 0.9, transformOrigin: "50% 50%" });
      gsap.set("#pt", { y: 20 });
      gsap.set("#kicker", { y: 14 });
      gsap.set("#tag", { y: 16 });

      /* ---------- glow state computed from timeline time ---------- */
      function render(t) {
        // bloom cloud rises first (0.5 - 2.6 s), the crisp letters resolve inside it (1.3 - 3.4 s)
        const bloomIn = pow2Out(seg(t, 0.5, 2.6));
        const coreIn = pow2Out(seg(t, 1.3, 3.4));
        // swell at the end of beat 1, then settle down in beat 2
        const bump = Math.exp(-Math.pow((t - 3.7) / 0.85, 2)) * 0.28;
        const settle = pow2InOut(seg(t, 4.4, 7.4));
        // slow motion (breathing, hue drift) fades out so the hold is completely still by 8.5 s
        const damp = t < 5.8 ? 1 : t > 8.5 ? 0 : 0.5 * (1 + Math.cos(Math.PI * (t - 5.8) / 2.7));
        const breath = Math.sin((2 * Math.PI * (t - 0.5)) / 2.8) * damp;
        const drift = Math.sin((2 * Math.PI * t) / 5.6 + 0.8) * damp;

        const level = bloomIn * (1 + bump - 0.22 * settle + 0.1 * breath);
        const hue = 26 * drift;
        const grow = 1 + 1.4 * (1 - bloomIn);               // blur is larger while the cloud is forming
        const bp = 50 + 30 * drift;                          // gradient window slides through the text

        const oA = Math.min(1, 0.66 * level);
        const oB = Math.min(1, 0.78 * level);
        blA.style.opacity = oA.toFixed(4);
        blB.style.opacity = oB.toFixed(4);
        blA.style.filter = "blur(" + (58 * grow).toFixed(2) + "px) saturate(1.35) hue-rotate(" + hue.toFixed(2) + "deg)";
        blB.style.filter = "blur(" + (17 * grow).toFixed(2) + "px) saturate(1.25) hue-rotate(" + (hue * 0.8).toFixed(2) + "deg)";
        blA.style.backgroundPosition = bp.toFixed(2) + "% 0";
        blB.style.backgroundPosition = bp.toFixed(2) + "% 0";

        core.style.opacity = coreIn.toFixed(4);
        core.style.backgroundPosition = bp.toFixed(2) + "% 0";
        const cb = 16 * (1 - coreIn);
        core.style.filter = cb > 0.05 ? "blur(" + cb.toFixed(2) + "px)" : "none";
      }

      const tl = gsap.timeline({ paused: true });
      const P = { t: 0 };
      tl.to(P, { t: DUR, duration: DUR, ease: "none", onUpdate: () => render(P.t) }, 0);

      /* Beat 2: the sub-line settles into its place first (4.1 - 4.8 s), then the rest of the lockup joins above it */
      tl.to("#gbi", { scale: 1, y: 0, duration: 0.7, ease: "power3.inOut" }, 4.1);

      tl.to("#mk", { opacity: 1, y: 0, scale: 1, duration: 0.8, ease: "power2.out" }, 4.8);
      tl.to("#mRing", { opacity: 1, duration: 0.01 }, 4.8);
      tl.to("#mRing", { strokeDashoffset: 0, duration: 0.8, ease: "power2.inOut" }, 4.8);
      tl.to("#mBeat", { opacity: 1, duration: 0.01 }, 5.1);
      tl.to("#mBeat", { strokeDashoffset: 0, duration: 0.6, ease: "power2.out" }, 5.1);
      tl.to("#pt", { opacity: 1, y: 0, duration: 0.8, ease: "power2.out" }, 4.8);

      tl.to("#kicker", { opacity: 1, y: 0, duration: 0.9, ease: "power2.out" }, 5.4);
      tl.to("#tag", { opacity: 1, y: 0, duration: 1.0, ease: "power2.out" }, 6.2);

      tl.set({}, {}, DUR);
      window.__timelines = window.__timelines || {};
      window.__timelines["main"] = tl;
    </script>
  </body>
</html>
```
