Bead field

A fixed grid of dots that swell as two drifting ripples cross them.

0:00 / 0:01

Customize

46
0.6
1

Installation

pnpm odori add component bead-field

Edit the source in videos/components/bead-field/. 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
240 frames · 8s
Minimum duration
60 frames · 2s
Entrance
0 frames
Exit
0 frames
Reduced motion
set speed to 0 and the beads hold one size
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
colorsBead and ground. Defaults to the brand's foreground on its background.[string, string]——
spacingDistance between bead centres, in design pixels.number46—
amplitudeHow much the ripples change a bead's size, 0 to 1.number0.6—
speedHow fast the ripples cross.number1—

Related components

All components