Terminal zoom

A typed command with a camera zoom.

0:00 / 0:01

Customize

2.4
14

Installation

pnpm odori add component terminal-zoom

Edit the source in videos/components/terminal-zoom/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Developer proof
Recommended duration
240 frames · 8s
Minimum duration
120 frames · 4s
Entrance
14 frames
Exit
26 frames
Reduced motion
camera held at 1x, no push
Requires
mono font
Content limits
command ≤ 72, title ≤ 40, output ≤ 72

Props

PropTypeDefaultRequired
commandThe command typed at the prompt.string—Yes
titleThe window title, the way a shell titles its tab.string"~/code/odori"—
zoomHow close the camera pushes while it tracks the caret.number2.4—
promptWhat the shell prints before the command.string"$"—
outputLine printed under the command once it finishes.string——
charactersPerSecondnumber14—

Related components

All components