Skip to content

Wipe reveal ​

The shot is uncovered from one edge to the other.

tsx
import { Clip, Composition } from "@uberscene/kit";

// A crop reveal: the shot opens from a sliver to the full frame, as a clean wipe without a transition.
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="shot"
        src="asset:redCup"
        in={18}
        out={21}
        fit="cover"
        transform={{
          crop: {
            width: [
              { at: 0.3, value: 0, easing: "easeInOutQuart" },
              { at: 1.3, value: 1 },
            ],
          },
        }}
      />
    </Composition>
  );
}

What it conveys: Arrival: here it is, revealed in one sweep.

Use it when ​

  • Bringing in a shot or a product image.
  • A cleaner entrance than a fade.

Values ​

Value
crop.width0 to 1 over 1 skeys, easeInOutQuart: opens from the left

Ask your agent ​

Reveal the shot from the left with keys on its crop.width from 0 to 1.

Goes with: Before and after split

All techniques · Motion across cuts

MIT licensed.