AI Video Editing Flows

Effect #074 in our rendered series

Confetti burst

A seeded confetti burst with gravity over a short congratulation card, falling clear before the loop restarts.

Real footage

1920x1080 file, 5.3 MB

Rendered by us at 1920x1080 over a shot from Tears of Steel (Blender Foundation, CC-BY 3.0). Expand plays the full 1080p file.

Edit in Premiere, Resolve or After Effects? Jump to editor templates. Making many versions of the same video? Use the code route.

Make this effect with

Built and tested by us

Other ways, not tested by us

Use it in a real edit

Second shot

1920x1080 file, 4.2 MB

The same title effect on another establishing shot from the film Nothing in the composition changed except the footage file.

The composition plays your clip as a muted <video> layer under the graphics (the file plate.mp4 in the code below), so you swap the footage by replacing that file and rendering again. To use the graphics in an editor instead, switch the background off and render a transparent MOV (an H.264 MP4 cannot carry transparency):

Render the graphics alone, with transparency
npx hyperframes render . -o overlay.mov --format mov --fps 24 --variables '{"plate":false}'

The routes in full

With Claude Code: the prompt we used

Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.

Write a HyperFrames confetti burst with seeded particles and gravity over a short congratulation card. Make the palette and the particle count variables.

What changed since this prompt: the demo on this page is our second version, 5 seconds long, rebuilt on a shot from Tears of Steel with the same animation idea. The full composition below is the one we rendered; its build log lists every change.

Built by a Claude Code subagent (Sonnet) from the HyperFrames registry block confetti, HyperFrames 0.8.10. Claude Code then checked the composition with hyperframes lint and hyperframes check before we rendered it.

What we had to correct (12 notes from the build log):

  • 6 Nov 2026, lint 1: 0 errors, 0 warnings.
  • Adapted from the registry block confetti (seeded particles launched on a burst, a card in the middle). The registry block's particle motion is a straight tween of CSS variables; here every piece follows a closed-form path (launch speed, drag towards a terminal fall speed, a small sideways sway, spin and a flip) driven by one clock tween, so any frame is a pure function of time.
  • Seeded with mulberry32 (fixed seed), no Math.random. The same seed gives the same pieces for a given count.
  • Three launches: a fan from behind the card at 0.4 s, two side cannons at 1.9 s. Parameter ranges were checked by hand so even the strongest upward launch is below the bottom edge before 5.0 s, so the loop restarts on a clean frame.
  • Pieces sit behind the card, so they never cover the "Goal reached" text. The card scales from 0 and back to 0, so frame 0 and the last frame are empty of the card and any confetti.
  • Flash budget: two soft expanding ring pulses (0.4 s and 1.9 s), nothing full frame, well under 3 per second.
  • Variables: palette (warm, cool, mono), particle count (10 to 300, clamped), plate.
  • Decided against: pieces in front of the card (they would cross the text), any numbers on the card (nothing was supplied).
  • hyperframes check: "Check passed", 0 errors, 0 warnings, 19 info items.
  • Render: flash check passed. Looked at 1920 px frames at 1.2 s (centre burst clear of the card text), 2.4 s (side cannons; one piece crosses the small wordmark for a moment, accepted) and 4.0 s (almost empty, ready to loop).
  • v2 (7 Nov 2026): plates tx_dome, real-edit second shot; copy is believable film/site copy, no dummy text. QA: 'Cut complete' check card with confetti over darkened dome (scrim 0.62); card covers the figure's head.
  • v2 fix pass (7 Nov 2026): plates tx_dome, real-edit second shot; copy is believable film/site copy, no dummy text. QA: card narrowed to 1000 px and pushed right (x 800 to 1800), confetti origin moved to match; head of the figure clear in hero; real-edit re-plated to house shot, figure head clear; both posters seen.

With HyperFrames code

Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.

Install the block and render
npx hyperframes add confetti
npx hyperframes render . -o out.mp4 --fps 24

Settings you can change without rebuilding (pass them with --variables):

SettingNameTypeDefault
Palettepaletteenumwarm
Particle countcountnumber110
Show backgroundplatebooleantrue
Our full composition (index.html, 10 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[{"id":"palette","type":"enum","label":"Palette","default":"warm","options":[{"value":"warm","label":"Warm"},{"value":"cool","label":"Cool"},{"value":"mono","label":"Mono"}]},{"id":"count","type":"number","label":"Particle count","default":110,"min":10,"max":300,"step":10},{"id":"plate","type":"boolean","label":"Show background","default":true}]'>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=block" rel="stylesheet" />
    <script src="gsap.min.js"></script>
    <style>
      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: transparent; }
      #root { position: relative; width: 100%; height: 100%; overflow: hidden; background: transparent; }
      #plate { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 40%, #1b2335 0%, #0b0d12 70%); overflow: hidden; }
      #world { position: absolute; left: -200px; top: -120px; width: 2400px; height: 1320px; }
      .blob { position: absolute; border-radius: 50%; filter: blur(60px); }
      .b1 { width: 760px; height: 760px; left: 180px; top: 260px; background: #ff5a1f; opacity: 0.35; }
      .b2 { width: 900px; height: 900px; left: 1200px; top: 80px; background: #2f6bff; opacity: 0.45; }
      .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 120px 120px; }
      #fall { position: absolute; inset: 0; z-index: 2; }
      .p { position: absolute; left: 0; top: 0; visibility: hidden; will-change: transform; }
      #cardwrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 110px; z-index: 5; }
      #card { position: relative; width: 1000px; height: 400px; border-radius: 40px; background: #141a2a; border: 4px solid #2b3550; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
      #badge { width: 96px; height: 96px; border-radius: 50%; position: relative; }
      #tick { position: absolute; left: 33px; top: 22px; width: 30px; height: 54px; border-right: 12px solid #0b0d12; border-bottom: 12px solid #0b0d12; transform: rotate(45deg); }
      #goal { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 112px; line-height: 1; color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
      #ring { position: absolute; left: 910px; top: 490px; width: 100px; height: 100px; border-radius: 50%; border: 10px solid #fff; opacity: 0; z-index: 4; }
      #mark { position: absolute; left: 0; width: 100%; bottom: 110px; text-align: center; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 0.32em; color: #c9d1e0; z-index: 6; }
    
      /* footage plate (v2): real footage, pinned, no generated blobs */
      #plate { background: #000 !important; }
      #world { left: 0 !important; top: 0 !important; width: 1920px !important; height: 1080px !important; transform: none !important; }
      #world .blob, #world .grid { display: none !important; }
      #pv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: cover; }
      #scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.62); }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="5" data-fps="24" data-width="1920" data-height="1080">
      <div id="plate"><div id="world"><video id="pv" src="plate.mp4" muted playsinline data-start="0" data-duration="5"></video><div id="scrim"></div><div class="blob b1" id="b1"></div><div class="blob b2" id="b2"></div><div class="grid"></div></div></div>
      <div id="fall"></div>
      <div id="ring"></div>
      <div id="cardwrap"><div id="card"><div id="badge"><div id="tick"></div></div><div id="goal">Cut complete</div></div></div>
      <div id="mark">AGENTIC VIDEO EDITING</div>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        if (!v.plate) document.getElementById("plate").style.display = "none";
        const tl = gsap.timeline({ paused: true });
        tl.fromTo("#world", { x: 0, y: 0 }, { x: -160, y: -50, duration: 5, ease: "none" }, 0);
        tl.fromTo("#b1", { x: 0, y: 0 }, { x: 140, y: -80, duration: 5, ease: "sine.inOut" }, 0);
        tl.fromTo("#b2", { x: 0, y: 0 }, { x: -120, y: 100, duration: 5, ease: "sine.inOut" }, 0);

        const PALS = {
          warm: ["#ff5a1f", "#ffb000", "#ff2d6f", "#ffd23f", "#ff8a5b"],
          cool: ["#2f6bff", "#19d3ff", "#7a5cff", "#33e0c4", "#9ad0ff"],
          mono: ["#ffffff", "#c9d1e0", "#8d97ad", "#e8ecf5"]
        };
        const palName = PALS[v.palette] ? v.palette : "warm";
        const pal = PALS[palName];
        let N = Math.round(Number(v.count));
        if (!isFinite(N)) N = 110;
        N = Math.max(10, Math.min(300, N));
        document.getElementById("badge").style.background = pal[0];
        document.getElementById("ring").style.borderColor = pal[0];

        // seeded generator, no Math.random
        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(20261106);
        const fall = document.getElementById("fall");
        // three bursts: a fan from behind the card at 0.4 s, two side cannons at 1.9 s
        const parts = [];
        for (let i = 0; i < N; i++) {
          const kind = i < N * 0.45 ? 0 : (i % 2 ? 1 : 2);
          const p = { kind: kind };
          let ang, spd;
          if (kind === 0) {
            p.t0 = 0.4 + rnd() * 0.06; p.x0 = 1310; p.y0 = 560;
            ang = (-170 + rnd() * 160) * Math.PI / 180; spd = 800 + rnd() * 1100;
          } else if (kind === 1) {
            p.t0 = 1.9 + rnd() * 0.08; p.x0 = 70; p.y0 = 1010;
            ang = (-82 + rnd() * 34) * Math.PI / 180; spd = 1200 + rnd() * 700;
          } else {
            p.t0 = 1.9 + rnd() * 0.08; p.x0 = 1850; p.y0 = 1010;
            ang = (-98 - rnd() * 34) * Math.PI / 180; spd = 1200 + rnd() * 700;
          }
          p.vx = Math.cos(ang) * spd; p.vy = Math.sin(ang) * spd;
          p.kx = 1.6 + rnd() * 0.5;      // horizontal drag
          p.ky = 1.4 + rnd() * 0.3;      // vertical drag towards terminal speed
          p.vt = 760 + rnd() * 200;      // terminal fall speed, px per second
          p.amp = 10 + rnd() * 26; p.fq = 4 + rnd() * 5; p.ph = rnd() * 6.283;
          p.r0 = rnd() * 360; p.spin = (rnd() - 0.5) * 900;
          p.flip = 3 + rnd() * 6; p.fph = rnd() * 6.283;
          const shape = rnd();
          const w = 12 + rnd() * 12, h = shape < 0.5 ? w * (1.5 + rnd()) : (shape < 0.8 ? w : 5 + rnd() * 3);
          const el = document.createElement("div");
          el.className = "p";
          el.style.width = w.toFixed(1) + "px"; el.style.height = h.toFixed(1) + "px";
          el.style.background = pal[Math.floor(rnd() * pal.length)];
          el.style.borderRadius = shape >= 0.5 && shape < 0.8 ? "50%" : "3px";
          fall.appendChild(el);
          p.el = el; p.w = w; p.h = h;
          parts.push(p);
        }
        const st = { t: 0 };
        function paint() {
          const t = st.t;
          for (let i = 0; i < parts.length; i++) {
            const p = parts[i], s = t - p.t0;
            if (s < 0) { p.el.style.visibility = "hidden"; continue; }
            const x = p.x0 + p.vx * (1 - Math.exp(-p.kx * s)) / p.kx + Math.sin(p.fq * s + p.ph) * p.amp * (1 - Math.exp(-3 * s));
            const y = p.y0 + p.vt * s + (p.vy - p.vt) * (1 - Math.exp(-p.ky * s)) / p.ky;
            if (y > 1160 && s > 0.5) { p.el.style.visibility = "hidden"; continue; }
            const rot = p.r0 + p.spin * s;
            const fl = Math.cos(p.flip * s + p.fph);
            p.el.style.visibility = "visible";
            p.el.style.transform = "translate(" + (x - p.w / 2).toFixed(1) + "px," + (y - p.h / 2).toFixed(1) + "px) rotate(" + rot.toFixed(1) + "deg) scale(1," + (Math.abs(fl) < 0.12 ? 0.12 : fl).toFixed(2) + ")";
          }
        }
        tl.to(st, { t: 5, duration: 5, ease: "none", onUpdate: paint }, 0);
        tl.eventCallback("onUpdate", paint);
        paint();

        // card: pops with the first burst, bounces with the second, scales away before the loop restarts
        tl.fromTo("#card", { scale: 0 }, { scale: 1, duration: 0.55, ease: "back.out(1.7)" }, 0.4);
        tl.fromTo("#card", { scale: 1 }, { scale: 1.06, duration: 0.16, ease: "power2.out", immediateRender: false }, 1.9);
        tl.to("#card", { scale: 1, duration: 0.3, ease: "power2.inOut" }, 2.06);
        tl.to("#card", { scale: 0, duration: 0.5, ease: "power3.in" }, 4.3);
        tl.fromTo("#badge", { scale: 0 }, { scale: 1, duration: 0.5, ease: "back.out(2)" }, 0.65);
        tl.to("#badge", { scale: 0, duration: 0.3, ease: "power2.in" }, 4.3);
        // soft ring pulses on the two bursts (no full-frame flash)
        tl.fromTo("#ring", { scale: 1, opacity: 0.85 }, { scale: 9, opacity: 0, duration: 0.7, ease: "power2.out", immediateRender: false }, 0.4);
        tl.fromTo("#ring", { scale: 1, opacity: 0.7 }, { scale: 9, opacity: 0, duration: 0.7, ease: "power2.out", immediateRender: false }, 1.9);
        tl.fromTo("#mark", { y: 0 }, { y: -10, duration: 2.5, ease: "sine.inOut" }, 0);
        tl.to("#mark", { y: 0, duration: 2.5, ease: "sine.inOut" }, 2.5);
        tl.to({}, { duration: 5 }, 0);
        window.__timelines["main"] = tl;
      })();
    </script>
  </body>
</html>

With Remotion

We have not built this effect in Remotion. If you use it, read its licence first: Individuals (personal or commercial use), organisations or teams with a total headcount of 3 or less, non-profits, and anyone evaluating Remotion before commercial use. A company does not qualify merely because it is unprofitable. Everyone not eligible for the Free License needs a Company License. Remotion licence FAQ, checked Nov 4, 2026.

In your editor: Premiere, Resolve, After Effects, CapCut

We have not reviewed an editor template for this effect yet.

Variations

The same composition rendered again with different settings. Nothing was rebuilt.

Subtle: few pieces, mono{"palette":"mono","count":30}
Bold: many pieces, warm{"palette":"warm","count":220}
Cool palette with a high count{"palette":"cool","count":290}

Spec and test details

Engine
HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
Length and frame rate
5 seconds at 24 fps, rendered at 1920x1080
Video files on this page
H.264: 1920x1080 for Expand (5419.5 KB), 1280x720 in the page (2034.1 KB), 640x360 in galleries (388.7 KB), no audio
Picture check
The 1080p file scores VMAF 98.96 against our render master and keeps 98% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
glowing dome of lights, a figure with arms spread, lens flares (Tears of Steel, 3:35)
Tested in editors
None yet
Flash check
Passed: at most 0 general and 0 red flashes in any second. automated approximation of WCAG 2.3.1 on a 96x54 grid, whole loop including the restart; not a certification.
Licence
Composition adapted by us from the HyperFrames registry (Apache-2.0); text fonts from Google Fonts under the SIL Open Font License.
Last tested
Nov 7, 2026
Machine
Laptop: AMD Ryzen 7 7735U (8 cores, 16 threads), 31 GB RAM, Windows 11 Home; CPU rendering
Technical details: render times and file sizes
  • Render of the 5-second master: 42.3 s (2 render workers, on the laptop above).
  • full.mp4: 5419.5 KB
  • hero.mp4: 2034.1 KB
  • hero.webp: 39.4 KB
  • tile.mp4: 388.7 KB
  • tile.webp: 12.5 KB
  • real-edit.mp4: 1506.7 KB
  • real-edit-full.mp4: 4305.5 KB
  • real-edit.webp: 55.2 KB
  • Variation "subtle": rendered in 34.2 s, 392.7 KB
  • Variation "bold": rendered in 50.7 s, 433.9 KB
  • Variation "cool-dense": rendered in 45.5 s, 403.6 KB

Credits

  • Built from the HyperFrames registry component confetti by HeyGen (Apache-2.0), adapted by us.
  • Fonts from Google Fonts, under the SIL Open Font License.
  • Footage: Tears of Steel, (c) Blender Foundation, mango.blender.org, licensed CC-BY 3.0. We cropped the shots to 16:9 and laid our graphics over them.
  • Editor templates and other routes on this page belong to their creators, who are credited on each card.

Related effects and jobs

Page checked on Nov 4, 2026.