# Coming Soon Animation

Motionboard shot name: Coming Soon Card

On black with a faint dot grid, a monospace teaser types NEW KESTREL and COMING 2027, each letter flickering through random glyphs before it settles. After a pause the text glitches once, the Kestrel mark appears above it and the line kestrel.app/waitlist types underneath.

- Position in a launch film: Ending
- Slug: coming-soon-animation
- Preview video: https://media.motionboard.app/coming-soon-card.mp4
- Recipe page: https://motionboard.app/recipes/coming-soon-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 `coming-soon-card`. 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. Grid fades in 0–0.7s; cursor starts blinking at 0.3s; NEW KESTREL types 0.9–2.3s; cursor hops to line 2 at 2.55s; COMING 2027 types 2.85–5.09s (the final 7 settles at 5.09s); cursor blinks until 5.8s; 3-frame glitch 5.8–5.9s; mark flickers on 6.1–6.37s and settles by 6.97s; kestrel.app/waitlist types 6.85–7.93s; the small cursor stops at 8.43s and the card holds still to 11s |
| Easing | Typing, flicker, glitch and cursor are frame steps (tl.set on 1/30s boundaries, no easing); the grid fade uses power2.out; the mark scale and the lower chevron drop use expo.out |
| Camera | Locked camera, no push-in or drift. The only movement in the frame is the text itself |
| Subject | Two lines in a monospace stack at 144px, weight 500, uppercase, in 96px cells (1056px wide, left 432px, tops 400px and 560px); a 70x110px block cursor; a 150px mark of two stacked chevrons centred at x 960, top 190px; the line kestrel.app/waitlist at 36px in 24px cells (480px wide, left 720px, top 790px) with an 18x36px cursor; dots of 1.6px radius on a 48px grid |
| Sync | The cursor steps one cell on every key and leads the glyph flicker; the glitch lands 0.7s after the last digit settles; the mark starts 0.2s after the glitch ends and the URL starts typing 0.48s after the mark appears, so each beat has its own moment |
| Style | Background `#050506`, ink `#f4f4f2`, grey `#6c6c78` and `#b4b4be`, one accent amber `#ffb020`; monospace stack JetBrains Mono, SF Mono, Menlo; a faint glow on the big letters and a vignette reaching 55% black at the edges; no grain |

## Why it works

A monospace teaser reads as a message typed live, so the two lines NEW KESTREL and COMING 2027 carry the film for about four seconds and the viewer reads them as they appear. Every key flashes a few wrong glyphs before the real letter settles, and the last digit cycles through seven glyphs before it lands on 7, which puts the weight of the announcement on the date. The block cursor leads the text by one cell and blinks while it waits, so the pauses read as the typist thinking. The glitch lasts only three frames, so it marks a change of state without becoming the subject: after it the mark and the URL arrive and the screen stops moving. Fixed-width cells keep every letter in place while glyphs swap, and a dim dot grid gives the black frame a surface without competing with the text. The picture is white and grey with one accent, amber #ffb020, used for the cursor, the last flicker glyph, the lower chevron and the word waitlist. The final card (mark, two lines, URL) holds still for 2.6s.

## Prompt

> Build an 11-second, 1920x1080, 30 fps dark teaser card called Coming Soon Animation for a fictional product, Kestrel (a desktop launcher). Background #050506, ink #f4f4f2, grey #6c6c78 and #b4b4be, one accent amber #ffb020, a monospace stack (JetBrains Mono, SF Mono, Menlo). Draw every character as its own span inside a fixed cell, 96px wide for the two big lines and 24px wide for the small line, glyph centred in the cell, so spacing never depends on font metrics. Use one paused GSAP timeline and tl.set for every step; no CSS animations, no Math.random (use a seeded mulberry32). Background: a dot grid with 48px spacing and 1.6px dots, masked by a radial gradient so it fades toward the edges, fading in to 26% opacity over 0–0.7s (power2.out); add a vignette reaching 55% black at the edges. Type-in: two uppercase lines at 144px, weight 500, in 96px cells (1056px wide, left 432px): NEW KESTREL at top 400px and COMING 2027 at top 560px. Each key flashes 2–3 seeded random glyphs (from #%&@$*+=/<>01XZ7?!), 2 frames each, grey with the last one amber, then the real letter settles in ink; about 30% of keys also flash a dim stray glyph in the next cell for 2 frames. Line 1 types from 0.9s to 2.3s with gaps of 0.08–0.14s and a 0.24s beat before K. A 70x110px amber block cursor leads the text by one cell and blinks 0.4s on, 0.4s off while idle; it appears at 0.3s and hops to line 2 at 2.55s. Line 2 starts at 2.85s and slows down: the last digits 2, 0, 2 flicker through 3, 3 and 4 glyphs, and the final 7 through 7 glyphs, settling at 5.09s. The cursor blinks until 5.8s and then turns off. Glitch: at 5.8s hide the text for 3 frames and show three copies of both lines, each clipped to a horizontal band (y 380–470, 470–600, 600–730) and shifted sideways: top band −48, +36, 0px, middle band +72, −88, +24px, bottom band −30, +20, −16px. Turn the middle band amber on the second frame and flash the grid to 80% opacity for one frame. Then return to the normal text. Mark: a 150px geometric mark made of two stacked chevrons, white above and amber below, centred at x 960 with its top at 190px. At 6.1s it flickers on in 2-frame steps (on, off, on, off, on, x offsets 10, 0, −6, 0px), then scales from 0.92 to 1 over 0.6s (expo.out) from 6.37s; the amber chevron drops 16px into place over 0.5s (expo.out) from 6.62s. Small line: from 6.85s type kestrel.app/waitlist at 36px, weight 400, in 24px cells (left 720px, top 790px), one decoy glyph per key, gaps of 0.04–0.07s, ink grey #b4b4be with /waitlist in amber. An 18x36px amber cursor blinks from 6.5s and switches off at 8.43s. After 8.43s nothing moves; the card (mark, two lines, URL) holds to 11s. Hide every glyph span in CSS (opacity 0) and reveal it with tl.set, so frame 0 shows only the background. Replace the product name, the year, the URL, the mark and the accent color with your own, and keep each line to 11 characters or fewer so it fits 96px cells. Render with HyperFrames.

## Often confused with

- [Typing Animation (Typewriter Effect)](https://motionboard.app/r/typing-animation.md): Rhythmic Typing types one terminal line with a typo, backspaces and a delete-and-retype; Coming Soon Animation types two large teaser lines with glyph flicker, glitches once and ends on a mark and a URL.
- [Logo Wordmark Reveal](https://motionboard.app/r/logo-wordmark-reveal.md): Logo Wordmark Reveal ends on a mark that grows into the product name; Coming Soon Animation ends on a teaser date with the mark above it and a waitlist URL below it.

## Source files

Runnable HyperFrames project, 3 files.

- https://motionboard.app/source/coming-soon-card/hyperframes.json (318 B)
- https://motionboard.app/source/coming-soon-card/index.html (12.7 KB)
- https://motionboard.app/source/coming-soon-card/package.json (305 B)

Download all of them:

```sh
curl -fsSL --create-dirs -o "coming-soon-card/hyperframes.json" "https://motionboard.app/source/coming-soon-card/hyperframes.json"
curl -fsSL --create-dirs -o "coming-soon-card/index.html" "https://motionboard.app/source/coming-soon-card/index.html"
curl -fsSL --create-dirs -o "coming-soon-card/package.json" "https://motionboard.app/source/coming-soon-card/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>
      :root {
        --bg: #050506;
        --ink: #f4f4f2;
        --muted: #6c6c78;
        --soft: #b4b4be;
        --accent: #ffb020;
        --font-mono: "JetBrains Mono", "SF Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", monospace;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--bg); }
      #root {
        position: relative;
        width: 1920px;
        height: 1080px;
        overflow: hidden;
        background: var(--bg);
        font-family: var(--font-mono);
        color: var(--ink);
        -webkit-font-smoothing: antialiased;
      }
      .full { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }

      /* ---------- dot grid ---------- */
      #grid {
        z-index: 0; opacity: 0;
        background-image: radial-gradient(circle, rgba(255, 255, 255, 0.6) 1.6px, rgba(255, 255, 255, 0) 2.3px);
        background-size: 48px 48px;
        background-position: 24px 24px;
        -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, rgba(0, 0, 0, 0) 82%);
        mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, rgba(0, 0, 0, 0) 82%);
      }

      /* ---------- character cells ---------- */
      .host { position: absolute; }
      .big { height: 150px; }
      .big .cell { width: 96px; height: 150px; line-height: 150px; font-size: 144px; font-weight: 500; }
      .small { height: 50px; }
      .small .cell { width: 24px; height: 50px; line-height: 50px; font-size: 36px; font-weight: 400; }
      .cell { position: absolute; top: 0; text-align: center; white-space: pre; }
      .g { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; white-space: pre; }
      .g.fin { color: var(--ink); text-shadow: 0 0 26px rgba(255, 255, 255, 0.1); }
      .g.soft { color: var(--soft); text-shadow: none; }
      .g.hot { color: var(--accent); text-shadow: none; }
      .g.dec { color: var(--muted); }
      .g.dec.hot { color: var(--accent); }
      .g.stray { color: var(--muted); }
      .static .g { opacity: 1; color: inherit; }

      /* ---------- typing ---------- */
      #txtwrap { z-index: 2; }
      #txt { opacity: 1; }
      #cur {
        position: absolute; left: 0; top: 0; width: 70px; height: 110px;
        background: var(--accent); opacity: 0;
      }

      /* ---------- glitch slices (clip-path stays in the layer's own space and moves with it) ---------- */
      #glwrap { z-index: 3; }
      .gl { opacity: 0; color: var(--ink); }
      #gA { clip-path: inset(380px 0 610px 0); }
      #gB { clip-path: inset(470px 0 480px 0); }
      #gC { clip-path: inset(600px 0 350px 0); }

      /* ---------- mark ---------- */
      #markwrap { z-index: 4; }
      #mark { position: absolute; left: 885px; top: 190px; width: 150px; height: 150px; opacity: 0; transform-origin: 75px 75px; }
      #mark svg { display: block; }
      #chev2 { opacity: 0; }

      /* ---------- small line ---------- */
      #smallwrap { z-index: 5; }
      #cur2 {
        position: absolute; left: 0; top: 0; width: 18px; height: 36px;
        background: var(--accent); opacity: 0;
      }

      #vig {
        z-index: 6; pointer-events: none;
        background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
      }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="11" data-width="1920" data-height="1080">
      <div id="gridwrap" class="clip full" data-start="0" data-duration="11" data-track-index="0">
        <div id="grid" class="full"></div>
      </div>

      <div id="txtwrap" class="clip full" data-start="0" data-duration="11" data-track-index="1" data-layout-allow-overlap>
        <div id="txt" class="full" data-layout-allow-overlap>
          <div id="l1" class="host big" data-layout-allow-overlap style="left: 432px; top: 400px; width: 1056px"></div>
          <div id="l2" class="host big" data-layout-allow-overlap style="left: 432px; top: 560px; width: 1056px"></div>
          <div id="cur"></div>
        </div>
      </div>

      <div id="glwrap" class="clip full" data-start="0" data-duration="11" data-track-index="2" data-layout-allow-overlap>
        <div id="gA" class="gl full" data-layout-allow-overlap></div>
        <div id="gB" class="gl full" data-layout-allow-overlap></div>
        <div id="gC" class="gl full" data-layout-allow-overlap></div>
      </div>

      <div id="markwrap" class="clip full" data-start="0" data-duration="11" data-track-index="3" data-layout-allow-overlap>
        <div id="mark">
          <svg width="150" height="150" viewBox="0 0 100 100" fill="none">
            <path d="M6 54 L50 10 L94 54 L74 54 L50 30 L26 54 Z" fill="#f4f4f2" />
            <path id="chev2" d="M24 90 L50 64 L76 90 L60 90 L50 80 L40 90 Z" fill="#ffb020" />
          </svg>
        </div>
      </div>

      <div id="smallwrap" class="clip full" data-start="0" data-duration="11" data-track-index="4" data-layout-allow-overlap>
        <div id="sm" class="host small" data-layout-allow-overlap style="left: 720px; top: 790px; width: 480px"></div>
        <div id="cur2"></div>
      </div>

      <div id="vig" class="clip full" data-start="0" data-duration="11" data-track-index="5"></div>
    </div>

    <script>
      const tl = gsap.timeline({ paused: true });
      const q = (t) => Math.round(t * 30) / 30;
      const F = 1 / 30;
      const F2 = 2 / 30;

      /* seeded PRNG: every flicker glyph is fixed, never random at render time */
      function mulberry32(a) {
        return function () {
          a |= 0; a = (a + 0x6d2b79f5) | 0;
          let t = Math.imul(a ^ (a >>> 15), 1 | a);
          t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
          return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
        };
      }
      const rnd = mulberry32(0x4b455354);
      const GL = "#%&@$*+=/<>01XZ7?!";
      const pick = () => GL[Math.floor(rnd() * GL.length)];

      function mkSpan(cell, txt, cls) {
        const s = document.createElement("span");
        s.className = "g " + cls;
        s.textContent = txt;
        cell.appendChild(s);
        return s;
      }
      function build(host, str, cw) {
        return [...str].map((ch, i) => {
          const c = document.createElement("div");
          c.className = "cell";
          c.style.left = i * cw + "px";
          host.appendChild(c);
          return { ch, c, i };
        });
      }

      /* type a line: per key, a few decoy glyphs (2 frames each) then the final glyph settles;
         the cursor leads one cell ahead; sometimes a dim stray glyph flashes in the next cell */
      function typeLine(cells, t0, gaps, nds, cls) {
        let t = t0;
        const keys = [];
        let tEnd = t0;
        cells.forEach((cl, i) => {
          t += gaps[i];
          const tk = q(t);
          keys.push({ t: tk, idx: i + 1 });
          const stray = rnd() < 0.3;
          if (stray && i + 1 < cells.length && cells[i + 1].ch !== " " && nds[i + 1] > 1) {
            const s = mkSpan(cells[i + 1].c, pick(), "stray");
            tl.set(s, { opacity: 0.32 }, tk);
            tl.set(s, { opacity: 0 }, q(tk + F2));
          }
          if (cl.ch === " ") return;
          const n = nds[i];
          for (let k = 0; k < n; k++) {
            const s = mkSpan(cl.c, pick(), "dec" + (k === n - 1 ? " hot" : ""));
            tl.set(s, { opacity: 1 }, q(tk + k * F2));
            tl.set(s, { opacity: 0 }, q(tk + (k + 1) * F2));
          }
          const f = mkSpan(cl.c, cl.ch, "fin " + cls(i));
          const tf = q(tk + n * F2);
          tl.set(f, { opacity: 1 }, tf);
          tEnd = Math.max(tEnd, tf);
        });
        return { keys, tEnd };
      }

      /* block cursor: solid on every step, then 0.4 s on / 0.4 s off until the next step */
      function cursor(el, steps, tEnd) {
        steps.forEach((s, i) => {
          const next = i + 1 < steps.length ? steps[i + 1].t : tEnd;
          tl.set(el, { opacity: 1, x: s.x, y: s.y }, s.t);
          let on = true;
          for (let b = s.t + 0.4; b < next - 0.05; b += 0.4) {
            on = !on;
            tl.set(el, { opacity: on ? 1 : 0 }, q(b));
          }
        });
        tl.set(el, { opacity: 0 }, q(tEnd));
      }

      /* ---------- layout constants ---------- */
      const L1 = { x: 432, y: 400 };
      const L2 = { x: 432, y: 560 };
      const SM = { x: 720, y: 790 };
      const CW = 96;
      const SCW = 24;
      const S1 = "NEW KESTREL";
      const S2 = "COMING 2027";
      const S3 = "kestrel.app/waitlist";

      /* ---------- grid in ---------- */
      tl.to("#grid", { opacity: 0.26, duration: 0.7, ease: "power2.out" }, 0);

      /* ---------- line 1 ---------- */
      const c1 = build(document.getElementById("l1"), S1, CW);
      const g1 = [0, 0.13, 0.09, 0.11, 0.24, 0.1, 0.08, 0.12, 0.09, 0.14, 0.1];
      const nd1 = [2, 2, 3, 0, 3, 2, 2, 3, 2, 2, 3];
      const r1 = typeLine(c1, 0.9, g1, nd1, () => "");

      /* ---------- line 2: the last digits flicker through many glyphs before settling ---------- */
      const c2 = build(document.getElementById("l2"), S2, CW);
      const g2 = [0, 0.11, 0.09, 0.13, 0.08, 0.12, 0.12, 0.26, 0.14, 0.3, 0.42];
      const nd2 = [2, 3, 2, 2, 3, 2, 0, 3, 3, 4, 7];
      const r2 = typeLine(c2, 2.85, g2, nd2, () => "");

      /* big cursor path: line 1, hop to line 2, line 2, off at the glitch */
      const tGlitch = 5.8;
      const bigSteps = [{ t: 0.3, x: L1.x + 13, y: L1.y + 20 }];
      r1.keys.forEach((k) => bigSteps.push({ t: k.t, x: L1.x + k.idx * CW + 13, y: L1.y + 20 }));
      bigSteps.push({ t: 2.55, x: L2.x + 13, y: L2.y + 20 });
      r2.keys.forEach((k) => bigSteps.push({ t: k.t, x: L2.x + k.idx * CW + 13, y: L2.y + 20 }));
      cursor(document.getElementById("cur"), bigSteps, tGlitch);

      /* ---------- glitch: three slices step sideways for three frames ---------- */
      ["gA", "gB", "gC"].forEach((id) => {
        const host = document.getElementById(id);
        [[S1, L1], [S2, L2]].forEach(([str, p]) => {
          const h = document.createElement("div");
          h.className = "host big static";
          h.style.left = p.x + "px";
          h.style.top = p.y + "px";
          h.style.width = "1056px";
          host.appendChild(h);
          build(h, str, CW).forEach((cl) => {
            if (cl.ch !== " ") mkSpan(cl.c, cl.ch, "fin");
          });
        });
      });
      const gl = [
        { A: -48, B: 72, C: -30 },
        { A: 36, B: -88, C: 20 },
        { A: 0, B: 24, C: -16 },
      ];
      gl.forEach((f, i) => {
        const t = q(tGlitch + i * F);
        tl.set("#gA", { opacity: 1, x: f.A }, t);
        tl.set("#gB", { opacity: 1, x: f.B }, t);
        tl.set("#gC", { opacity: 1, x: f.C }, t);
      });
      tl.set("#gB", { color: "#ffb020" }, q(tGlitch + F));
      const tGEnd = q(tGlitch + 3 * F);
      tl.set("#txt", { opacity: 0 }, tGlitch);
      tl.set("#txt", { opacity: 1 }, tGEnd);
      tl.set(["#gA", "#gB", "#gC"], { opacity: 0, x: 0 }, tGEnd);
      tl.set("#grid", { opacity: 0.8 }, tGlitch);
      tl.set("#grid", { opacity: 0.26 }, q(tGlitch + F));

      /* ---------- mark: stepped flicker on, then settles ---------- */
      const tM = 6.1;
      tl.set("#mark", { scale: 0.92 }, 0);
      tl.set("#chev2", { y: -16 }, 0);
      [[0, 10], [1, 0], [2, -6], [3, 0]].forEach(([i, dx]) => {
        const t = q(tM + i * F2);
        tl.set("#mark", { opacity: i % 2 === 0 ? 1 : 0, x: dx }, t);
      });
      const tMon = q(tM + 4 * F2);
      tl.set("#mark", { opacity: 1, x: 0 }, tMon);
      tl.to("#mark", { scale: 1, duration: 0.6, ease: "expo.out" }, tMon);
      tl.to("#chev2", { opacity: 1, y: 0, duration: 0.5, ease: "expo.out" }, q(tMon + 0.25));

      /* ---------- small line ---------- */
      const cs = build(document.getElementById("sm"), S3, SCW);
      const gs = [0, 0.05, 0.07, 0.04, 0.06, 0.05, 0.04, 0.07, 0.05, 0.06, 0.05, 0.04, 0.07, 0.05, 0.06, 0.05, 0.04, 0.07, 0.05, 0.06];
      const ndS = cs.map(() => 1);
      const tS = 6.85;
      const rS = typeLine(cs, tS, gs, ndS, (i) => (i >= 11 ? "hot" : "soft"));
      const smSteps = [{ t: q(tS - 0.35), x: SM.x + 3, y: SM.y + 7 }];
      rS.keys.forEach((k) => smSteps.push({ t: k.t, x: SM.x + k.idx * SCW + 3, y: SM.y + 7 }));
      const tCurOff = q(rS.keys[rS.keys.length - 1].t + 0.55);
      cursor(document.getElementById("cur2"), smSteps, tCurOff);

      console.log("times", { l1End: r1.tEnd, l2End: r2.tEnd, tGlitch, tMon, smallEnd: rS.tEnd, tCurOff });

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