CG Advice #1: The Infinity Room Reel

The Infinity Room Reel: How to Make a Mirror That Shows the Room Again

What the effect is
The camera pushes into a mirror on the wall, the mirror shows the same room again, and the last frame matches the first, so the Reel replays with no visible cut.
The whole trick is one number: k = image width ÷ mirror width. The camera zooms into the center of the mirror by exactly k.

Infinity reel

Way 1: make it yourself

You need a render, Photoshop, and an editor with keyframes: After Effects, DaVinci Resolve (free)

or Edits / CapCut

STEP 1: RENDER THE ROOM

Put the camera facing the wall with the mirror. Render in 9:16 and as large as you can, ideally 2 to 3

times the size you will deliver, because the zoom enlarges the room around the mirror. If the mirror

is at an angle, as ours is, step 4 uses Perspective.

STEP 2: MEASURE K

Divide the image width by the mirror's width in the image. Here the mirror is about 145 px wide in a

1080 px image, so k is about 7.

Formula

STEP 3: CUT THE MIRROR OUT

In Photoshop, make the mirror glass transparent with a mask or by deleting it, so another picture

can show through.

Cut for Mirror

STEP 4: NEST THE ROOM INSIDE THE MIRROR

Put the full render inside the mirror, scaled to fit the mirror. Then put another copy inside that one.

Four to six levels is enough. Use Distort or Perspective so each copy fits the four corners of the

mirror.

Nest theroom inside the mirror

STEP P 5: ZOOM INTO THE MIRROR

In the editor, anchor all layers on the center of the mirror. Keyframe the scale from 100% to k times

100% over 8 to 10 seconds. For a steady-looking speed, use scale = k^(t/T), or a gentle ease in and out.

End to start

STEP 6: CHECK THE LOOP

The last frame must match the first frame. Play the video on repeat and watch for a jump at the end.

If you see one, measure k again.

STEP 7: FINISH IN EDITS

We always make the final Reel in Edits, Instagram's own editor. Export the video at 1080x1920,

H.264, 30 fps, then finish it there:

• Music: add one track in Edits and mute the original sound.

• Fade in at the very start.

• Fade out at the very end.

• A fade at the mirror: add one more fade at the moment the camera gets very close to the mirror. It

makes a soft moment where the end of the zoom merges into the start of the loop, so the restart

doesn't show.

Way 2: let Claude build it

Attach your render to a Claude chat that can run code, then paste this prompt. The render needs a

flat mirror on the wall, with the camera facing it.

I'm attaching a 3D interior render (9:16) with a framed mirror on the wall.
Make a seamless looping Instagram Reel from it: 1080x1920, 30 fps, 10 seconds,
H.264, no audio. Effect: the camera slowly pushes into the mirror, and the
mirror shows the same room again, repeating inside itself.

Steps:
1. Find the four corners of the mirror glass. Show me a preview with the
   corners marked, and let me correct them before you continue.
2. Calculate k = image width / mirror width.
3. Build nested layers: each layer is the full image warped into the mirror
   quad of the layer above (perspective warp), 6 levels deep.
4. Animate a zoom from 1x to kx around the mirror center, with
   scale = k^(t/T) and a gentle ease in and out.
5. The last frame must equal the first frame, so the video loops with no cut.
6. Use the original full-resolution image for the level that fills the
   screen, so it stays sharp.
7. Export MP4 (libx264, crf 15, yuv420p). Then show me frames at 0%, 25%,
   50%, 75% and 100% to check, and fix any seam, blur or glowing edge.

Use Python, OpenCV, numpy and ffmpeg. Keep the room colors untouched.
No text on the video unless I ask.

To add hook text, add this line at the end: "Add the on-screen text '<your hook>' in the top part of

the frame, in a serif italic font, cream color, and keep the last frame free of text so the loop stays

seamless."

Common mistakes

  • The loop jumps at the end. Cause: k is not exact. Fix: measure the mirror again and zoom by exactly k, then soften the join with a short fade in Edits.

  • The picture goes soft near the end. Cause: the render is too small. Fix: render at 3 times the delivery size.

  • The inner room looks tilted. Cause: the mirror is not square to the camera. Fix: warp each copy into the four corners of the mirror.

  • A hard edge shows around the mirror. Cause: the copy is cut sharply. Fix: feather the mirror edge by 1 pixel.

  • People don't notice the effect. Cause: the zoom is too fast. Fix: use 8 to 10 seconds, with a slow start.

Next
Next

Design Advice #1: The 7 Senses of a Room