AI Video Editing Flows

Effect #069 in our rendered series

Scribble transition

Hand-drawn scribble bands pile up to cover the frame, the scene cuts underneath, and the scribble clears.

Real footage

1920x1080 file, 4.1 MB

Rendered by us at 1920x1080 over shots 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, 5.0 MB

The same scribble from the neon lab to Thom on the canal. 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 overlay transition where hand-drawn scribble bands accumulate to cover the frame, the scene underneath cuts while it is covered, and then the scribble clears. Make the colour and the number of bands variables.

What changed since this prompt: the demo on this page is our second version, 5 seconds long, rebuilt on 2 shots 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 hw-scribble-transition, 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 (8 notes from the build log):

  • 6 Nov 2026, lint 1: 0 errors, 0 warnings.
  • Adapted from hw-scribble-transition: kept the thick zigzag SVG bands drawn on with stroke-dashoffset, the solid backstop that guarantees full coverage at the cut, and the clear-off pass. Changed: two passes in 5 s (A to B, then B back to A) so the loop restarts clean; band count and colour are variables; the registry seeded sine hash is kept (no random numbers).
  • Added: the bands accumulate from the outside in and clear from the centre out, so the centred scene text is covered last and uncovered first. The text of the outgoing scene fades out just before the first band that reaches it, and the incoming text fades in once the bands over it have cleared, so no text is ever visible under an opaque stroke.
  • Timing scales with the band count (stagger shrinks above 9 bands) so 14 bands still fit both passes inside 5 s.
  • Decided against: a thin-stroke "subtle" look. Stroke width follows the band height so coverage stays complete with few bands; subtle is fewer bands in a soft colour.
  • hyperframes check: "Check passed", 0 errors, 0 warnings, 18 info items (plate overflow notes). Render: flash check passed. Looked at the 1920 px frames at 0.8 s, 1.6 s, 2.4 s and 3.4 s by eye: bands cover the frame, the card text fades before a band reaches it, Scene B is clean at 2.4 s, and the frame is a solid band colour at 3.4 s (the solid backstop, by design).
  • v2 (7 Nov 2026): real footage from Tears of Steel, plates tr_canal, tr_oldman. Scribble covers then clears in about 0.9 s from 1.6 s (bands thinned and sped up). Poster time 2.0.
  • v2 (7 Nov 2026, lead): poster moved to 0.8 s: the earlier poster caught the transition mid-blur; a poster must show a clean, legible shot (consultant round 2).

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 hw-scribble-transition
npx hyperframes render . -o out.mp4 --fps 24

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

SettingNameTypeDefault
Scribble colourcolorcolor#ffb020
Band countbandsnumber7
Show backgroundplatebooleantrue
Our full composition (index.html, 6 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[{"id":"color","type":"color","label":"Scribble colour","default":"#ffb020"},{"id":"bands","type":"number","label":"Band count","default":7,"min":3,"max":16},{"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; }

      .scene { position: absolute; inset: 0; z-index: 5; overflow: hidden; }
      #sceneB { opacity: 0; }
.vid { position: absolute; left:0; top:0; width:1920px; height:1080px; object-fit: cover; }
            #scrib { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 20; }
      #scrib path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
      #solid { position: absolute; inset: 0; z-index: 19; opacity: 0; }

    </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 class="scene" id="sceneA"><video class="plate vid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="2.06"></video></div>
      <div class="scene" id="sceneB"><video class="plate vid" src="plate_b.mp4" muted playsinline data-start="2.06" data-duration="2.94"></video></div>
      <div id="solid"></div>
      <svg id="scrib" viewBox="0 0 1920 1080" data-layout-allow-overflow></svg>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        const tl = gsap.timeline({ paused: true });
        if (!v.plate) document.querySelectorAll(".plate").forEach((e) => (e.style.display = "none"));

        const W = 1920, H = 1080;
        const N = Math.max(3, Math.min(16, Math.round(v.bands)));
        const bandH = H / N;
        const st = Math.min(0.03, 0.2 / N);
        const DRAW = 0.22;
        const NS = "http://www.w3.org/2000/svg";
        const svg = document.getElementById("scrib");
        document.getElementById("solid").style.background = v.color;
        const hash = (n, seed) => { const x = Math.sin(n * 127.1 + seed * 311.7) * 43758.5453; return (x - Math.floor(x)) * 2 - 1; };
        // the scene text sits at y 430..650: remember which bands reach it
        const reach = [];
        for (let b = 0; b < N; b++) { const y0 = b * bandH + bandH / 2; reach.push(y0 - 0.8 * bandH < 650 && y0 + 0.8 * bandH > 430); }
        const center = (N - 1) / 2;
        const outsideIn = Array.from({ length: N }, (_, i) => i).sort((a, b) => Math.abs(b - center) - Math.abs(a - center) || a - b);
        const insideOut = outsideIn.slice().reverse();

        function pass(t0, seed, flip, outScene, inScene, outTxt, inTxt) {
          const paths = [], lens = [];
          for (let b = 0; b < N; b++) {
            const y0 = b * bandH + bandH / 2;
            const pts = [[-80, y0 + hash(b * 17, seed) * 20]];
            for (let i = 1; i <= 7; i++) {
              pts.push([(W + 160) * (i / 7) - 80, y0 + ((i + flip) % 2 ? -1 : 1) * bandH * 0.32 + hash(b * 17 + i, seed) * 16]);
            }
            let len = 0;
            for (let k = 1; k < pts.length; k++) len += Math.hypot(pts[k][0] - pts[k - 1][0], pts[k][1] - pts[k - 1][1]);
            len = Math.ceil(len) + 6;
            const p = document.createElementNS(NS, "path");
            p.setAttribute("d", "M " + pts.map((q) => q[0].toFixed(1) + " " + q[1].toFixed(1)).join(" L "));
            p.setAttribute("stroke", v.color);
            p.setAttribute("stroke-width", Math.ceil(bandH * 0.9));
            p.style.strokeDasharray = len;
            p.style.strokeDashoffset = flip ? -len : len;
            svg.appendChild(p);
            paths.push(p); lens.push(len);
          }
          // accumulate, outside in, so the centre text is covered last
          let firstReach = 99;
          outsideIn.forEach((b, r) => {
            tl.to(paths[b], { strokeDashoffset: 0, duration: DRAW, ease: "power1.inOut" }, t0 + r * st);
            if (reach[b]) firstReach = Math.min(firstReach, t0 + r * st);
          });
          const coverEnd = t0 + DRAW + st * (N - 1);
          const cs = coverEnd + 0.1;
          let lastClear = 0;
          insideOut.forEach((b, r) => { if (reach[b]) lastClear = Math.max(lastClear, cs + r * st + DRAW); });
          // solid backstop, the cut underneath, backstop lifts, bands clear inside out
          tl.to("#solid", { opacity: 1, duration: 0.08, ease: "none" }, coverEnd - 0.04);
          tl.set(outScene, { opacity: 0 }, coverEnd + 0.06);
          tl.set(inScene, { opacity: 1 }, coverEnd + 0.06);
          tl.to("#solid", { opacity: 0, duration: 0.08, ease: "none" }, coverEnd + 0.18);
          insideOut.forEach((b, r) => {
            tl.to(paths[b], { strokeDashoffset: flip ? lens[b] : -lens[b], duration: DRAW, ease: "power1.inOut" }, cs + r * st);
          });
          return coverEnd + 0.06;
        }

        const cut1 = pass(1.6, 3, 0, "#sceneA", "#sceneB", null, null);
        // slow push on scene A until the scribble takes it
        tl.fromTo("#sceneA", { scale: 1 }, { scale: 1.03, duration: cut1, ease: "none" }, 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: four bands, soft blue{"color":"#7aa2ff","bands":4}
Bold: eleven bands, hot pink{"color":"#ff2d6f","bands":11}
Long: fourteen bands, slower build{"bands":14}

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 (4190.3 KB), 1280x720 in the page (1552.5 KB), 640x360 in galleries (408.6 KB), no audio
Picture check
The 1080p file scores VMAF 97.48 against our render master and keeps 98% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
young Thom by the canal looking up, a robot to the right, daylight (Tears of Steel, 8:30); Old Thom close-up, warm, looking down (Tears of Steel, 9:13)
Tested in editors
None yet
Flash check
Passed: at most 1 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: 64 s (2 render workers, on the laptop above).
  • full.mp4: 4190.3 KB
  • hero.mp4: 1552.5 KB
  • hero.webp: 91.5 KB
  • tile.mp4: 408.6 KB
  • tile.webp: 35.4 KB
  • real-edit.mp4: 1533.4 KB
  • real-edit-full.mp4: 5118.1 KB
  • real-edit.webp: 17.3 KB
  • Variation "subtle": rendered in 52.9 s, 378.4 KB
  • Variation "bold": rendered in 47.9 s, 413.6 KB
  • Variation "long": rendered in 68.6 s, 428.6 KB

Credits

  • Built from the HyperFrames registry block hw-scribble-transition 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.