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