Effect #079 in our rendered series
Clone wall transition
Scene A shrinks into one cell and multiplies into a grid that fills the frame, then the grid peels away to reveal scene B.
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
The same clone wall starting from Thom's close-up and resolving to 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):
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 transition where scene A multiplies into a wall of small clones that fills the frame, then the wall resolves into scene B. Make the grid size and the accent colour 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 mk-clone-wall-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 (12 notes from the build log):
- 6 Nov 2026, lint 1: 0 errors, 1 warning (overlapping_gsap_tweens on #btxt, scene B text fading out at 4.2 s while its fade-in was still running until 4.35 s). Fix: moved the fade-out to 4.35 s and the closing scene A fade-in to 4.5 s.
- 6 Nov 2026, lint 2: 0 errors, 0 warnings.
- Adapted from mk-clone-wall-transition: kept the idea of the outgoing frame shrinking into a rounded card on a wall that fills the frame, and the wall then resolving into the next scene. The registry block tiles a typed word; here the clones are small copies of scene A itself, spawned from the shrunken card, so the grid size is a real variable (3 to 8 columns, rows follow the 16:9 frame).
- Rebuilt as a standalone 1920x1080, 5 s, 24 fps composition. The clone cells are built in script from the grid variable; text sits in a flex-centred 1920x1080 inner that is scaled to cover its cell, so labels stay centred.
- Contrast: the accent colour is only used for edges and decoration. Clone surfaces use the accent darkened until white text reaches 4.8:1, so a light accent (the yellow variation) cannot break readability.
- Clone labels fade in only after each clone has landed, so no two labels overlap while the clones fly.
- Loop: the wall resolves into scene B at 3.0 s, scene B text leaves at 4.35 s and a copy of scene A fades in over it, so the last frame matches the first.
- With the background off, scene B background and the wall backdrop are hidden; the clones and scene A remain.
- Decided against: the colour-inversion sweep and the difference blend of the registry block (it produces full-frame bright flips), and a drifting wall (the clones breathe inside their cells instead).
- lint 0 errors, 0 warnings. hyperframes check: "Check passed" with two warnings, both by design and quoted here: "container_overflow div.sbg.bbg inside #B overflowed left 140px, right 140px, top 140px, bottom 140px" (scene backgrounds are oversized so scaled clones never show an edge) and "container_overflow div.cin inside #hero overflowed left 100.64px, right 100.64px" (the clone content layer is scaled inside its cell while the cell grows).
- Flash check: pass, 0 and 0. Frames at 0.6, 1.5, 2.4, 2.9, 3.2, 3.6, 4.1 and 4.8 s looked at by eye: clones overlap each other only for a moment while they fly in, the full grid and scene B are clean, scene A fades back in at the loop end with a faint second ring for a few frames. No fix needed.
- v2 (7 Nov 2026): real footage from Tears of Steel, plates tr_street, tr_skyline. Needs 18 pre-placed video elements for the wall (dynamic video elements are not extracted), so the grid size option is limited to 3 to 6. The whole move (shrink, clones, ripple, resolve) takes about 1.9 s, longer than the 0.4 to 0.8 s brief, because it is inherently a multi-step effect. Sharpness ratio is lower because each cell is a rescaled copy.
With HyperFrames code
Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.
npx hyperframes add mk-clone-wall-transition
npx hyperframes render . -o out.mp4 --fps 24Settings you can change without rebuilding (pass them with --variables):
| Setting | Name | Type | Default |
|---|---|---|---|
| Grid size (columns) | grid | number | 5 |
| Accent colour | accent | color | #0a84ff |
| Show background | plate | boolean | true |
Our full composition (index.html, 10 KB)
<!doctype html>
<html lang="en" data-composition-variables='[{"id": "grid", "type": "number", "label": "Grid size (columns)", "default": 5, "min": 3, "max": 6}, {"id": "accent", "type": "color", "label": "Accent colour", "default": "#0a84ff"}, {"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; }
#B { position: absolute; inset: 0; z-index: 1; font-family: "Montserrat", sans-serif; font-weight: 800; overflow: hidden; }
.vid { position: absolute; left:0; top:0; width:1920px; height:1080px; object-fit: cover; }
.cvid { position: absolute; left:0; top:0; width:1920px; height:1080px; object-fit: cover; }
#backdrop { position: absolute; inset: 0; z-index: 2; background: var(--wallbg); }
#clones { position: absolute; inset: 0; z-index: 3; }
.cwrap { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 22px; }
.cin { position: relative; flex: none; width: 1920px; height: 1080px; }
.rim { position: absolute; inset: 0; border-radius: inherit; border: 5px solid var(--acc); }
#hero { z-index: 4; border-radius: 0; }
.noplate .plate, .noplate #backdrop { display: none; }
</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="B"><video class="plate vid" src="plate_b.mp4" muted playsinline data-start="2.5" data-duration="2.5"></video></div>
<div id="backdrop"></div>
<div id="clones"></div>
<div id="vpool"><video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
<video class="plate cvid" src="plate_a.mp4" muted playsinline data-start="0" data-duration="3.2"></video>
</div>
</div>
<script>
window.__timelines = window.__timelines || {};
(function () {
const v = window.__hyperframes.getVariables();
const tl = gsap.timeline({ paused: true });
if (!v.plate) document.getElementById("root").classList.add("noplate");
const W = 1920, H = 1080;
function clamp(a, b, x) { return Math.max(a, Math.min(b, x)); }
function hexRgb(h) {
h = String(h == null ? "" : h).trim();
if (/^#[0-9a-f]{3}$/i.test(h)) h = "#" + h[1] + h[1] + h[2] + h[2] + h[3] + h[3];
if (!/^#[0-9a-f]{6}$/i.test(h)) return null;
return [parseInt(h.slice(1, 3), 16), parseInt(h.slice(3, 5), 16), parseInt(h.slice(5, 7), 16)];
}
function lin(c) { c /= 255; return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4); }
function lum(c) { return 0.2126 * lin(c[0]) + 0.7152 * lin(c[1]) + 0.0722 * lin(c[2]); }
function cr(a, b) { const x = lum(a), y = lum(b); return (Math.max(x, y) + 0.05) / (Math.min(x, y) + 0.05); }
function mixc(a, b, t) { return [Math.round(a[0] + (b[0] - a[0]) * t), Math.round(a[1] + (b[1] - a[1]) * t), Math.round(a[2] + (b[2] - a[2]) * t)]; }
function css(c) { return "rgb(" + c[0] + "," + c[1] + "," + c[2] + ")"; }
function okColor(h, def) { return hexRgb(h) || hexRgb(def); }
// darken a colour until white text on it reaches at least 4.8:1
function darkFor(c) { let t = 0, d = c; while (cr(d, [255, 255, 255]) < 4.8 && t < 1) { t += 0.04; d = mixc(c, [0, 0, 0], t); } return d; }
let cols = Math.round(Number(v.grid)); if (!isFinite(cols)) cols = 5; cols = clamp(3, 8, cols);
const rows = Math.max(2, Math.round(cols * 0.5625));
const PAD = 60, GAP = 20;
const cw = (W - 2 * PAD - GAP * (cols - 1)) / cols, ch = (H - 2 * PAD - GAP * (rows - 1)) / rows;
const k = Math.max(cw / W, ch / H);
const accRgb = okColor(v.accent, "#0a84ff"), darkA = darkFor(accRgb);
const root = document.getElementById("root");
root.style.setProperty("--acc", css(accRgb));
root.style.setProperty("--abg", "linear-gradient(135deg," + css(darkA) + " 0%," + css(mixc(darkA, [0, 0, 0], 0.55)) + " 100%)");
root.style.setProperty("--wallbg", css(mixc(darkA, [0, 0, 0], 0.78)));
const pool = Array.from(document.querySelectorAll(".cvid")); let pi = 0;
function mk(id) {
const d = document.createElement("div"); d.className = "cwrap"; if (id) d.id = id;
const cin = document.createElement("div"); cin.className = "cin"; cin.appendChild(pool[pi++]); d.appendChild(cin);
const rim = document.createElement("div"); rim.className = "rim"; d.appendChild(rim); return d;
}
const hero = mk("hero");
hero.style.width = W + "px"; hero.style.height = H + "px";
root.appendChild(hero);
gsap.set(hero.querySelector(".rim"), { opacity: 0 });
const hc = Math.floor(cols / 2), hr = Math.floor(rows / 2);
const cellX = (c) => PAD + c * (cw + GAP), cellY = (r) => PAD + r * (ch + GAP);
const hx = cellX(hc), hy = cellY(hr);
const cells = []; let maxD = 0;
const clonesBox = document.getElementById("clones");
for (let r = 0; r < rows; r++) for (let c = 0; c < cols; c++) {
const dist = Math.sqrt((c - hc) * (c - hc) + (r - hr) * (r - hr));
maxD = Math.max(maxD, dist);
if (c === hc && r === hr) { cells.push({ el: hero, cin: hero.querySelector(".cin"), x: hx, y: hy, dist: 0, hero: true }); continue; }
const el = mk(null);
el.style.width = cw + "px"; el.style.height = ch + "px";
clonesBox.appendChild(el);
gsap.set(el, { x: hx, y: hy, scale: 0.4, opacity: 0 });
gsap.set(el.querySelector(".cin"), { scale: k });
cells.push({ el: el, cin: el.querySelector(".cin"), x: cellX(c), y: cellY(r), dist: dist, hero: false });
}
pool.slice(pi).forEach((e) => (e.style.display = "none"));
// 1.2 s: shot A shrinks into one cell of the grid
const heroCin = hero.querySelector(".cin");
tl.to(hero, { x: hx, y: hy, width: cw, height: ch, borderRadius: 22, duration: 0.4, ease: "power3.inOut" }, 1.2);
tl.to(heroCin, { scale: k, duration: 0.4, ease: "power3.inOut" }, 1.2);
tl.fromTo(hero.querySelector(".rim"), { opacity: 0 }, { opacity: 1, duration: 0.25, ease: "power1.out", immediateRender: false }, 1.4);
// clones of the shot fly out of that cell, nearest first, and fill the frame
cells.forEach(function (cell) {
if (cell.hero) return;
const t0 = 1.55 + cell.dist * 0.05;
tl.fromTo(cell.el, { x: hx, y: hy, scale: 0.4, opacity: 0 }, { x: cell.x, y: cell.y, scale: 1, opacity: 1, duration: 0.4, ease: "power3.out", immediateRender: false }, t0);
});
// the wall breathes once as a ripple from the first cell
cells.forEach(function (cell) {
tl.to(cell.cin, { scale: k * 1.08, duration: 0.25, ease: "sine.inOut" }, 2.0 + cell.dist * 0.04);
tl.to(cell.cin, { scale: k, duration: 0.25, ease: "sine.inOut" }, 2.25 + cell.dist * 0.04);
});
// the wall resolves, outer clones first, into shot B underneath
cells.forEach(function (cell) {
tl.to(cell.el, { scale: 0, duration: 0.35, ease: "power3.in" }, 2.5 + (maxD - cell.dist) * 0.07);
});
tl.to("#backdrop", { opacity: 0, duration: 0.4, ease: "power2.inOut" }, 2.6);
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.
{"grid":3,"accent":"#1fa6a0"}{"grid":8,"accent":"#ff2d6f"}{"grid":6,"accent":"#ffe14d"}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 (5359.6 KB), 1280x720 in the page (2010.6 KB), 640x360 in galleries (422.2 KB), no audio
- Picture check
- The 1080p file scores VMAF 96.71 against our render master and keeps 83% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
- Footage
- young Thom walking on a canal bridge, Amsterdam street, daylight (Tears of Steel, 4:22); misty Amsterdam skyline with a ship in the air, wide establishing, cool blue (Tears of Steel, 1:10)
- 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: 109.5 s (2 render workers, on the laptop above).
- full.mp4: 5359.6 KB
- hero.mp4: 2010.6 KB
- hero.webp: 113.6 KB
- tile.mp4: 422.2 KB
- tile.webp: 39 KB
- real-edit.mp4: 1980.8 KB
- real-edit-full.mp4: 5155.7 KB
- real-edit.webp: 64.7 KB
- Variation "subtle": rendered in 113.2 s, 404.6 KB
- Variation "bold": rendered in 128.5 s, 412.1 KB
- Variation "light-accent": rendered in 109.4 s, 418.6 KB
Credits
- Built from the HyperFrames registry block mk-clone-wall-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.



