Warp tunnel

Streaks of light rushing past a vanishing point.

0:00 / 0:01

Customize

1
220

Installation

pnpm odori add component warp-tunnel

Edit the source in videos/components/warp-tunnel/. 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
120 frames · 4s
Minimum duration
24 frames · 0.8s
Entrance
0 frames
Exit
0 frames
Reduced motion
set speed to 0 and the streaks hold as a star chart
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
colorsStreak colour and the deep end. Defaults to brand foreground over background.[string, string]——
speedTravel speed. Negative pulls backwards.number1—
densityHow many streaks share the frame.number220—
centreWhere the vanishing point sits, as fractions of the frame.[number, number][0.5—

Related components

All components