Deep swell

Ocean waves beneath a sunlit horizon.

0:00 / 0:01

Customize

0.45
1
0.5

Installation

pnpm odori add component deep-swell

Edit the source in videos/components/deep-swell/. 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 sea holds one still surface
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
colorsWater and sky. Defaults to the brand's ground and its accent.[string, string]——
swellWave height. Past about 0.7 the sea stops being calm.number——
speedHow fast the trains run.number1—
sunWhere the sun sits along the horizon, 0 left to 1 right.number0.5—

Related components

All components