Kaleidoscope

The picture folded into mirrored wedges, so type and interface turn into pattern.

0:00 / 0:01

Customize

6
0
1

Installation

pnpm odori add component kaleidoscope

Edit the source in videos/components/kaleidoscope/. 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
Motion
Recommended duration
180 frames · 6s
Minimum duration
24 frames · 0.8s
Entrance
0 frames
Exit
0 frames
Reduced motion
set mix to 0 and the picture is untouched
Requires
Odori
Content limits
none

Props

PropTypeDefaultRequired
childrenReactNode—Yes
segmentsHow many wedges. Even numbers meet cleanest.number6—
turnRotation of the fold, in turns. Animate from the frame.number0—
mix1 is fully folded, 0 is the untouched picture.number1—
centreWhich point of the source feeds the wedges.[number, number][0.5—

Related components

All components