Opus Motion ★ Star on GitHub

FX · theatre-gate

Theatre gate (framed film print)

Frames any picture or motion as a film being shown: a 4:3 print in a rounded aperture with a soft dark rim, flanked by deep red-brown velvet drapes lit by the screen spill and footlights, with curtains that part at the start and close at the end.

A free, MIT-licensed visual effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Theatre gate (framed film print): three frames of the visual effect, start, middle and end
Theatre gate (framed film print) — start, middle and end of the 6.0-second motion.

What Theatre gate (framed film print) is for

Frames any motion as "a film being shown": retro launches, the-story-so-far, nostalgia pieces; solves 4:3 content inside 16:9 frames; wraps other motions via `layers`.

  • frame
  • wrapper
  • overlay
  • theatre
  • curtains
  • drapes
  • cinema
  • film
  • retro
  • nostalgia
  • 4:3
  • aperture
  • footlights
  • stage
  • story so far

Details

Category
Visual effects & particles
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
drapeColor
Image props
src
Mood
photo, pixel, cinematic, night
Roles
subject

Use Theatre gate (framed film print) in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add theatre-gate --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render theatre-gate --props '{"drapeColor":"#3a1410","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export theatre-gate --as mp4 --props '{"drapeColor":"#3a1410","src":""}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="theatre-gate"
  props={{drapeColor: '#3a1410', src: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="theatre-gate"
  props='{"drapeColor":"#3a1410","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "theatre-gate",
      "props": {
        "drapeColor": "#3a1410",
        "src": ""
      }
    }
  ]
}

Theatre gate (framed film print) props

14 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
layers[]motions to show inside the aperture [{motion, props, from, duration, ...}] (rendered full-frame and clipped)
src""image for the print (public path or URL); empty + no layers = procedural plate
aspect1.3333aperture width/height (4/3)
openAt8frame the curtains start to part
openFrames46frames to part
closeAt132frame the curtains start to close (-1 = stay open)
closeFrames44frames to close
drapeColor"#3a1410"velvet colour
footlightstruewarm footlight glow along the bottom
spill1screen spill on the drapes (0..1.5)
radius22aperture corner radius in u
gradetruesepia print grade
damage1print damage 0..1 (scratches, dust, flicker)
seed3procedural plate seed

Notes & credits

Technique sources:

  • lemo-opuscar styles/silent-film demo/engine/cards.js (theatre), DEMO.md "Frame", poster.jpg (MIT, LemoLab)