Iris
The next shot opens out of a growing circle.
tsx
import { Clip, Composition, Transition } from "@uberscene/kit";
// An iris: the next shot opens from a circle, for a chapter or a reveal.
const PAPER = "#f2eee6";
const INK = "#151515";
const ACCENT = "#d6336c";
export default function Video() {
return (
<Composition
fps={30}
width={640}
height={360}
background={{ type: "color", color: PAPER }}
theme={{
extends: "paper",
motion: "none",
fonts: { heading: "Inter", body: "Inter" },
palette: { primary: ACCENT, accent: ACCENT, background: PAPER, text: INK },
}}
>
<Clip id="a" src="asset:redCup" in={18} out={19.8} fit="cover" />
<Transition id="open" type="iris" duration={0.8} />
<Clip id="b" src="asset:redCup" in={32} out={33.8} fit="cover" />
</Composition>
);
}What it conveys: A new chapter, or a playful jump to the next scene.
Use it when
- Chapter breaks and openers.
- A light, cartoon-like tone.
Values
| Value | ||
|---|---|---|
| transition | "iris", 0.8 s | the next shot opens from a circle |
Ask your agent
Open the second shot from a circle with an 0.8 s iris transition.
Goes with: Dip to black