Dissolve reveal

A noise threshold sweeps across the frame, so content arrives as a torn edge.

0:00 / 0:01

Customize

0.4
9
0.22

Installation

pnpm odori add component dissolve-reveal

Edit the source in videos/components/dissolve-reveal/. 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
Motion
Recommended duration
90 frames · 3s
Minimum duration
24 frames · 0.8s
Entrance
0 frames
Exit
0 frames
Reduced motion
set hold to a small value so content is present almost at once
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
childrenReactNode—Yes
holdHow much of the scene the arrival takes. 0.4 is the first two fifths.number0.4—
grainSize of the torn edge. Small is grainy, large is cloudy.number9—
softnessWidth of the soft edge between arrived and not.number0.22—
directionDirection the sweep travels."up" | "down" | "left" | "right""up"—

Related components

All components