AI Video Editing Flows

Effect #077 in our rendered series

Marquee select cursor

A cursor drags a selection rectangle over a tile grid and each covered tile gets an outline, a check and a counter step.

Real footage

1920x1080 file, 3.0 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

The demo above already plays the composition over real footage: the clip is a muted <video> layer under the graphics (the file plate.mp4 in the code below). Replace that file with your own clip and render 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 14, 2026.

Write a HyperFrames clip where a cursor drags a marquee rectangle over a grid of tiles and the tiles it covers become selected with an outline and a check. Make the accent colour and the tile 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 cursor-marquee-select, 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 (7 notes from the build log):

  • Run 1 (2026-11-06): 0 errors, 0 warnings. No corrections needed by lint.
  • Each tile selects on the frame the growing rectangle first fully covers it: the time is found by inverting the drag ease (bisection), so selection stays in step with the cursor. The pill counter is a stack of spans switched by zero-length sets at those same times.
  • Decided against: a mock-app logo or any real brand text; only template words are used.
  • lint 0 errors, 0 warnings. hyperframes check: "Check passed" (the only layout items are info lines about the shared background plate drifting past its frame, by design).
  • Flash check (WCAG 2.3.1 approximation, whole loop): pass, 0 general and 0 red flashes per second.
  • Four 1920 px frames looked at by eye across the loop: no clipped object, no text overlap, no stray mark, contrast fine at settled frames. No fault found, nothing changed.
  • v2 (14 Nov 2026): rendered again from the current source. Every number on screen comes from our own measured test results (labelled Measured by us, 2026); frames and the poster were checked by eye.

With HyperFrames code

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

Install the block and render
npx hyperframes add cursor-marquee-select
npx hyperframes render . -o out.mp4 --fps 24

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

SettingNameTypeDefault
Accent colouraccentcolor#0a84ff
Tile countcountnumber12
Show backgroundplatebooleantrue
Our full composition (index.html, 12 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[{"id": "accent", "type": "color", "label": "Accent colour", "default": "#0a84ff"}, {"id": "count", "type": "number", "label": "Tile count", "default": 12, "min": 6, "max": 24}, {"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=Inter:wght@600;700&family=JetBrains+Mono:wght@500&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; }
      #cursor { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 30; opacity: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.45)); }
      #cursor svg { position: absolute; }

      #win { position: absolute; left: 200px; top: 100px; width: 1520px; height: 880px; background: #f1f3f9; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); overflow: hidden; }
      #hdr { position: absolute; left: 0; top: 0; right: 0; height: 100px; background: #e3e7f2; }
      .dt { position: absolute; top: 42px; width: 16px; height: 16px; border-radius: 50%; background: #aab2c8; }
      #hdr .ttl { position: absolute; left: 130px; top: 0; font-family: "Inter", sans-serif; font-weight: 700; font-size: 28px; line-height: 100px; color: #2a3045; }
      #pill { position: absolute; right: 260px; top: 125px; height: 50px; padding: 0 22px; display: flex; align-items: center; gap: 8px; border-radius: 25px; background: #12151f; color: #ffffff; font-family: "Inter", sans-serif; font-weight: 700; font-size: 26px; line-height: 50px; z-index: 6; }
      #pill .nums { display: grid; min-width: 34px; text-align: right; }
      #pill .nums span { grid-area: 1 / 1; opacity: 0; }
      #pill .nums span:first-child { opacity: 1; }
      .tile { position: absolute; border-radius: 18px; z-index: 3; overflow: visible; }
      .tile { background-size: cover; background-position: center; box-shadow: 0 4px 14px rgba(20,24,40,0.25); }
      .tile .ic, .tile .ln { display: none; }
      .tile .icx { position: absolute; left: 14%; top: 16%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.75); }
      .tile .ln { position: absolute; left: 14%; bottom: 16%; width: 50%; height: 10%; border-radius: 6px; background: rgba(255,255,255,0.8); }
      .sel { position: absolute; inset: -6px; border-radius: 24px; border: 6px solid var(--acc); opacity: 0; }
      .chk { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--acc); opacity: 0; display: grid; place-items: center; }
      #rect { position: absolute; border: 3px solid var(--acc); border-radius: 6px; opacity: 0; z-index: 8; }
      #rect i { position: absolute; inset: 0; background: var(--acc); opacity: 0.16; }

    
      /* 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.35); }
    
      /* data family v2: dashboard window over dimmed footage */
      #scrim { background: rgba(4,6,12,0.58) !important; }
      .win { position: absolute; border-radius: 26px; background: rgba(11,15,25,0.94); border: 2px solid rgba(255,255,255,0.16); box-shadow: 0 30px 80px rgba(0,0,0,0.55); overflow: hidden; font-family: "Inter", "Montserrat", sans-serif; }
      .win .bar { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: rgba(255,255,255,0.06); border-bottom: 2px solid rgba(255,255,255,0.10); display: flex; align-items: center; padding-left: 28px; gap: 12px; color: #aab3c5; font-size: 24px; font-weight: 500; }
      .win .bar i { width: 16px; height: 16px; border-radius: 50%; background: #ff5f57; display: block; }
      .win .bar i:nth-child(2) { background: #febc2e; } .win .bar i:nth-child(3) { background: #28c840; }
      .win .bar b { margin-left: 18px; font-weight: 500; }
      .chip { position: absolute; font-family: "Inter", "Montserrat", sans-serif; font-weight: 700; font-size: 26px; padding: 8px 20px; border-radius: 999px; background: rgba(255,210,63,0.14); border: 2px solid #ffd23f; color: #ffd23f; white-space: nowrap; }
    </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="win"><div id="hdr"><i class="dt" style="left:36px"></i><i class="dt" style="left:64px"></i><i class="dt" style="left:92px"></i><div class="ttl">Agentic Video Editing / media library</div></div></div>
      <div id="pill"><span class="nums" id="nums"></span><span>clips selected</span></div>
      <div id="tiles"></div>
      <div id="rect"><i></i></div>
      <div id="cursor"><svg width="44" height="52" viewBox="0 0 44 52" style="left:-3px;top:-3px"><path d="M3 3 L3 37 L12 29 L18.5 44 L25 41 L18.5 27 L30 27 Z" fill="#ffffff" stroke="#111111" stroke-width="3" stroke-linejoin="round"/></svg></div>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        const tl = gsap.timeline({ paused: true });
        if (!v.plate) document.getElementById("plate").style.display = "none";

        const E = (n) => gsap.parseEase(n);
        const rgba = (hex, a) => {
          let h = String(hex).replace("#", "");
          if (h.length === 3) h = h.split("").map((c) => c + c).join("");
          const n = parseInt(h, 16);
          return "rgba(" + ((n >> 16) & 255) + "," + ((n >> 8) & 255) + "," + (n & 255) + "," + a + ")";
        };
        const invEase = (fn, s) => { let lo = 0, hi = 1; for (let i = 0; i < 30; i++) { const m = (lo + hi) / 2; if (fn(m) < s) lo = m; else hi = m; } return (lo + hi) / 2; };
        const mk = (tag, cls, parent, html) => { const e = document.createElement(tag); if (cls) e.className = cls; if (html != null) e.innerHTML = html; parent.appendChild(e); return e; };

        const root = document.getElementById("root");
        root.style.setProperty("--acc", v.accent);
        const count = Math.max(6, Math.min(24, Math.round(Number(v.count) || 12)));
        const GAP = 28, GX = 260, GY = 240, GW = 1400, GH = 660;
        const cols = Math.ceil(Math.sqrt(count * 1.9)), rows = Math.ceil(count / cols);
        const tw = (GW - GAP * (cols - 1)) / cols;
        const th = Math.min((GH - GAP * (rows - 1)) / rows, tw * 0.85);
        const gx0 = GX + (GW - (cols * tw + GAP * (cols - 1))) / 2;
        const gy0 = GY + (GH - (rows * th + GAP * (rows - 1))) / 2;
        const pal = ["#d6e0f7", "#f2ddd0", "#d3ecdf", "#e6d5f2"];
        const CHECK = '<svg width="26" height="26" viewBox="0 0 26 26"><path d="M5 13.5 L10.5 19 L21 7.5" fill="none" stroke="#ffffff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>';
        const host = document.getElementById("tiles");
        const tiles = [];
        for (let i = 0; i < count; i++) {
          const r = Math.floor(i / cols), c = i % cols;
          const el = mk("div", "tile", host); el.style.left = gx0 + c * (tw + GAP) + "px"; el.style.top = gy0 + r * (th + GAP) + "px";
          el.style.width = tw + "px"; el.style.height = th + "px"; el.style.background = "#d6e0f7 url(stills/s" + String(i).padStart(2, "0") + ".jpg) center / cover no-repeat";
          mk("i", "ic", el); mk("i", "ln", el);
          const sel = mk("div", "sel", el); const chk = mk("div", "chk", el, CHECK);
          tiles.push({ r, c, sel, chk, x: gx0 + c * (tw + GAP), y: gy0 + r * (th + GAP) });
        }
        // the block the marquee covers
        const cs = cols >= 3 ? 1 : 0, ce = Math.max(cs, cols - 2), rs = 0, re = Math.max(0, rows - 2);
        const x0 = gx0 + cs * (tw + GAP) - GAP / 2, y0 = gy0 + rs * (th + GAP) - GAP / 2;
        const x1 = gx0 + ce * (tw + GAP) + tw + GAP / 2, y1 = gy0 + re * (th + GAP) + th + GAP / 2;
        const picked = tiles.filter((t) => t.r >= rs && t.r <= re && t.c >= cs && t.c <= ce);
        const n = picked.length;
        // pill counter: one span per value, switched on the frame each tile is hit
        const nums = document.getElementById("nums");
        const numEls = []; for (let i = 0; i <= n; i++) numEls.push(mk("span", "", nums, String(i)));

        const R = document.getElementById("rect");
        R.style.left = x0 + "px"; R.style.top = y0 + "px";
        const DUR = 1.6, T0 = 0.85, EASE = "power2.inOut", fn = E(EASE);

        tl.set("#cursor", { x: 1300, y: 150, transformOrigin: "3px 3px" }, 0);
        tl.to("#cursor", { opacity: 1, duration: 0.2, ease: "power1.out" }, 0.05);
        tl.to("#cursor", { x: x0, duration: 0.6, ease: "power2.inOut" }, 0.05);
        tl.to("#cursor", { y: y0, duration: 0.6, ease: "power3.inOut" }, 0.05);
        // press and drag
        tl.to("#cursor", { scale: 0.86, duration: 0.08, ease: "power2.out" }, 0.72);
        tl.set(R, { opacity: 1 }, T0);
        tl.fromTo(R, { width: 0, height: 0 }, { width: x1 - x0, height: y1 - y0, duration: DUR, ease: EASE }, T0);
        tl.to("#cursor", { x: x1, y: y1, duration: DUR, ease: EASE }, T0);
        // each tile selects on the frame the rectangle first covers it
        const order = picked.map((t) => ({ t, s: Math.max((t.x + tw - x0) / (x1 - x0), (t.y + th - y0) / (y1 - y0)) })).sort((a, b) => a.s - b.s);
        order.forEach((o, i) => {
          const ts = T0 + DUR * invEase(fn, Math.min(1, o.s));
          tl.fromTo(o.t.sel, { opacity: 0 }, { opacity: 1, duration: 0.14, ease: "power2.out" }, ts);
          tl.fromTo(o.t.chk, { opacity: 0, scale: 0.3 }, { opacity: 1, scale: 1, duration: 0.26, ease: "back.out(2.5)" }, ts);
          tl.set(numEls[i], { opacity: 0 }, ts);
          tl.set(numEls[i + 1], { opacity: 1 }, ts);
        });
        // release
        const tr = T0 + DUR;
        tl.to("#cursor", { scale: 1, duration: 0.1, ease: "power2.out" }, tr);
        tl.to(R, { opacity: 0, duration: 0.25, ease: "power1.in" }, tr + 0.05);
        tl.to("#cursor", { x: 1100, y: 150, duration: 0.6, ease: "power2.inOut" }, tr + 0.2);
        // clear so the loop restarts clean
        tl.to("#cursor", { opacity: 0, duration: 0.3, ease: "power1.in" }, 4.4);
        picked.forEach((t) => {
          tl.to(t.sel, { opacity: 0, duration: 0.3, ease: "power1.in" }, 4.5);
          tl.to(t.chk, { opacity: 0, scale: 0.3, duration: 0.3, ease: "power1.in" }, 4.5);
        });
        tl.set(numEls[n], { opacity: 0 }, 4.55);
        tl.set(numEls[0], { opacity: 1 }, 4.55);


        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 tiles, calm green{"accent":"#12a594","count":8}
Bold: hot pink accent{"accent":"#ff2d6f","count":15}
Dense grid of 24 tiles{"count":24}

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 (3041 KB), 1280x720 in the page (1024.3 KB), 640x360 in galleries (257 KB), no audio
Picture check
The 1080p file scores VMAF 97.56 against our render master and keeps 99% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
overgrown brick house with a lit room, a small figure standing, wide establishing (Tears of Steel, 3:03)
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 14, 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: 82 s (2 render workers, on the laptop above).
  • full.mp4: 3041 KB
  • hero.mp4: 1024.3 KB
  • hero.webp: 87.3 KB
  • tile.mp4: 257 KB
  • tile.webp: 27.4 KB
  • Variation "subtle": rendered in 64.5 s, 248.1 KB
  • Variation "bold": rendered in 71.2 s, 256.2 KB
  • Variation "dense": rendered in 66.3 s, 291.8 KB

Credits

  • Built from the HyperFrames registry component cursor-marquee-select 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.