Mesh gradient

A shifting blend of colored gradients.

0:00 / 0:01

Customize

1
1.6
0.03

Installation

pnpm odori add component mesh-gradient

Edit the source in videos/components/mesh-gradient/. 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 drift to 0 and the field holds still
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
colorsTwo to four colours. Beyond four the extra ones are ignored.string[]——
driftHow far the centres travel. 0 holds them still.number1—
falloffHow sharply one colour gives way to the next.number1.6—
grainGrain over the blend, which keeps a wide gradient from banding.number0.03—

Related components

All components