Scan glow

Fine scanlines with one soft refresh band sweeping down on a slow cycle, under a faint vignette.

0:00 / 0:01

Customize

4
5
0.6

Installation

pnpm odori add component scan-glow

Edit the source in videos/components/scan-glow/. 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
Backgrounds
Recommended duration
180 frames · 6s
Minimum duration
30 frames · 1s
Entrance
0 frames
Exit
0 frames
Reduced motion
set sweepSeconds to 0 and only the still line texture and vignette remain
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
colorGlow colour. Defaults to the brand accent.string——
linesDistance between scanlines, in design pixels.number4—
sweepSecondsSeconds per full sweep. 0 removes the sweep and holds the texture still.number5—
intensityHow bright the lines and sweep sit over the ground.number0.6—

Related components

All components