Files
hyperframes/docs/primitives/match-cut.mdx
T
Miguel Angel Simon Sierra bb912587b9 feat(primitives): add 25 video primitives, live docs pages, and the catalog retrieval eval
Adds the 25 video primitive compositions and their generated Mintlify pages.
Each page embeds a live <hyperframes-player> preview with editable composition
variables rather than a rendered MP4.

Adds the catalog-browsing eval under evals/catalog-retrieval: a 424-entry shelf
built from HEAD, nine retrieval conditions (no-catalog control, full read,
lexical, semantic, and hybrid across several values of k), a brief generator
that constructs each brief from a known target, a blind three-pass gold
validation committee, and a mechanical scorer that keeps mountable and fit as
two separate numbers.

The eval vendors its own shelf, primitive sources, and preview list instead of
reading them from an ignored working directory, so the shelf regenerates byte
for byte from a clean checkout. Derived artifacts stay out: the embedding cache
and the run checkpoints are regenerated rather than committed, so no run can
score against a stale copy of either.

Lint ignores now cover vendored minified player bundles by pattern instead of
one path at a time.
2026-07-31 12:27:41 +02:00

42 lines
1.1 KiB
Plaintext

---
title: "Match Cut"
description: "Scene A drives a circle into center-frame geometry, a hard single-frame swap reveals scene B with a matching circle, and that circle immediately shrinks as scene B settles."
---
import { PrimitivePlayer } from "/snippets/PrimitivePlayer.jsx";
<span className="hf-primitive-eyebrow">Transitions</span>
<PrimitivePlayer name="match-cut" width={1920} height={1080} />
## Variables
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `accent` | `enum` | `green` | Color shared by the matched circles. |
| `label_a` | `string` | `Start` | Text inside the outgoing button. |
| `label_b` | `string` | `Done` | Result text revealed after the cut. |
## When to use it
Two scenes share a circle that can carry motion continuously across a precise hard cut.
## When to avoid it
Avoid it when a crossfade is required, because scene A becomes invisible and scene B visible at the same timeline instant.
## Pairs with
- [grade-split-reveal](/primitives/grade-split-reveal)
- [z-punch-through](/primitives/z-punch-through)
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add match-cut
```
</CodeGroup>