AI Video Editing Flows

Effect #089 in our rendered series

Iris reveal transition

A circle opens from a chosen origin to reveal scene B over scene A, then a second iris returns to A.

Real footage

1920x1080 file, 5.5 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, 4.4 MB

The same iris from the skyline to Old Thom's face. 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 clip with an iris transition: a circle clip-path opens from a chosen origin to reveal scene B over scene A, then a second iris returns to A. Make the circle origin, the edge softness and the speed 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 iris-reveal, 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 (6 notes from the build log):

  • lint 0 errors, 0 warnings.
  • hyperframes check: failed with content_overlap and text_occluded flags for the scene text ("Scene A", "The first scene", "Scene B", "The second scene") for the whole clip, "Text is hidden beneath an opaque element". By design: both scenes are stacked full-frame layers and the iris is a clip-path on the top one, so the text of the hidden scene sits under the other for most of the clip, as in the other transitions here (directional wipe, clone wall). Not changed.
  • Flash check (WCAG 2.3.1 approximation, whole loop): pass, 0 general and 0 red flashes per second; the three variations and the real-edit composite pass too.
  • Four 1920 px frames saved in renders/review_083plus/iris-reveal-transition/ and looked at by eye. Frames show scene A, the iris with its gold rim over scene B at a corner and at the centre, and A again at 4.4 s. No fault found.
  • Status: QA_HOLD in tools/build_pack.py. Not published until the review pass releases it.
  • v2 (7 Nov 2026): real footage from Tears of Steel, plates tr_room, tr_barley. Iris opens once, 0.7 s at 2.0 s.

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 iris-reveal
npx hyperframes render . -o out.mp4 --fps 24

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

SettingNameTypeDefault
Iris originoriginenumcenter
Edge softness (px)softnessnumber24
Speedspeednumber1
Show backgroundplatebooleantrue
Our full composition (index.html, 4 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[{"id":"origin","type":"enum","label":"Iris origin","default":"center","options":[{"value":"center","label":"Centre"},{"value":"tl","label":"Top left"},{"value":"tr","label":"Top right"},{"value":"bl","label":"Bottom left"},{"value":"br","label":"Bottom right"}]},{"id":"softness","type":"number","label":"Edge softness (px)","default":24,"min":0,"max":200},{"id":"speed","type":"number","label":"Speed","default":1,"min":0.6,"max":2},{"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; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; font-family: "Montserrat", sans-serif; font-weight: 800; }
.vid { position: absolute; left:0; top:0; width:1920px; height:1080px; object-fit: cover; }
            #stage { position: absolute; inset: 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 id="stage"><div class="scene" id="A"><video class="plate vid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.0"></video></div><div class="scene" id="B"><video class="plate vid" src="plate_b.mp4" muted playsinline data-start="2.0" data-duration="3.0"></video></div></div>
      <svg id="rimsvg" width="1920" height="1080" viewBox="0 0 1920 1080" style="position:absolute; left:0; top:0; pointer-events:none"><circle id="rim" cx="0" cy="0" r="0" fill="none" stroke="#ffd166" stroke-width="6" opacity="0"></circle></svg>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        const tl = gsap.timeline({ paused: true });

        const num = (x, d, lo, hi) => { x = Number(x); if (!isFinite(x)) x = d; return Math.max(lo, Math.min(hi, x)); };
        const speed = num(v.speed, 1, 0.6, 2);
        const soft = Math.max(1.5, num(v.softness, 24, 0, 200));
        const ORIG = { center: [50, 50], tl: [18, 22], tr: [82, 22], bl: [18, 78], br: [82, 78] };
        const o = ORIG[v.origin] || ORIG.center;
        const W = 1920, H = 1080;
        const cx = o[0] / 100 * W, cy = o[1] / 100 * H;
        const full = Math.hypot(Math.max(cx, W - cx), Math.max(cy, H - cy)) * 1.02 + soft + 4;
        const B = document.getElementById("B");
        if (!v.plate) document.querySelectorAll(".plate").forEach((e) => (e.style.display = "none"));
        const rim = document.getElementById("rim");
        rim.setAttribute("cx", cx); rim.setAttribute("cy", cy);
        const P = { r: 0 };
        function paint() {
          const r = P.r;
          const inner = Math.max(0, r - soft);
          const m = "radial-gradient(circle at " + cx + "px " + cy + "px, #000 " + inner + "px, rgba(0,0,0,0) " + r + "px)";
          B.style.webkitMaskImage = m; B.style.maskImage = m;
          const rr = Math.max(0, r - soft * 0.5);
          rim.setAttribute("r", rr);
          const a = Math.max(0, Math.min(1, r / 70)) * Math.max(0, Math.min(1, (full - soft - r) / 160));
          rim.setAttribute("opacity", (0.9 * a).toFixed(3));
        }
        const D = 0.7 / speed;
        tl.fromTo(P, { r: 0 }, { r: full, duration: D, ease: "power2.inOut" }, 2.0);
        tl.to({}, { duration: 5 }, 0);
        tl.eventCallback("onUpdate", paint);
        paint();
        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: centre origin, very soft edge, slower{"origin":"center","softness":90,"speed":0.8}
Bold: bottom left origin, hard edge, fast{"origin":"bl","softness":0,"speed":1.7}
Far corner origin with a wide soft edge{"origin":"tr","softness":150,"speed":1}

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 (5590.6 KB), 1280x720 in the page (1821.1 KB), 640x360 in galleries (377 KB), no audio
Picture check
The 1080p file scores VMAF 99.58 against our render master and keeps 97% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
Old Thom and a woman in a warm cluttered room, medium (Tears of Steel, 2:55); Barley close-up with a cyborg eye, warm (Tears of Steel, 5:41)
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: 64.3 s (2 render workers, on the laptop above).
  • full.mp4: 5590.6 KB
  • hero.mp4: 1821.1 KB
  • hero.webp: 55.5 KB
  • tile.mp4: 377 KB
  • tile.webp: 18.5 KB
  • real-edit.mp4: 1174.2 KB
  • real-edit-full.mp4: 4549.2 KB
  • real-edit.webp: 49.3 KB
  • Variation "subtle": rendered in 55.2 s, 379.6 KB
  • Variation "bold": rendered in 56.1 s, 372.3 KB
  • Variation "corner": rendered in 58.3 s, 377.8 KB

Credits

  • Built from the HyperFrames registry component iris-reveal 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.