Files
hyperframes/docs/primitives/focus-rack.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: "Focus Rack"
description: "Focus moves exactly once from a sharp near card to a blurred, dim far card as blur, scale, and parallax change together."
---
import { PrimitivePlayer } from "/snippets/PrimitivePlayer.jsx";
<span className="hf-primitive-eyebrow">Camera moves</span>
<PrimitivePlayer name="focus-rack" width={1920} height={1080} />
## Variables
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `label_a` | `string` | `Draft` | Label on the card that begins in focus. |
| `label_b` | `string` | `Published` | Label on the card that receives focus. |
| `accent` | `enum` | `blue` | Highlight color shared by both cards. |
## When to use it
Two cards at different apparent depths need one clear handoff from the foreground state to the background state.
## When to avoid it
Avoid it when focus must alternate repeatedly, because the rack occurs exactly once over 0.7 seconds.
## Pairs with
- [depth-rack-focus](/primitives/depth-rack-focus)
- [match-cut](/primitives/match-cut)
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add focus-rack
```
</CodeGroup>