slicedSlide

Slice the child into strips that slide out of frame in alternating directions.

slicedSlide(slots: {angle: ArgSpec; count: ArgSpec; progress: ArgSpec}): UvMapSource

Import warps from shaders/std and use warps.slicedSlide.

A wipe transition. progress runs 0 (whole) to 1 (gone). angle is the cut direction in degrees and count the number of strips. Set edges: 1 (transparent) on the definition so the vacated space clears instead of smearing.

Parameters

NameTypeNotes
slots{angle: ArgSpec; count: ArgSpec; progress: ArgSpec}

Example

map: warps.slicedSlide({angle: p('angle'), count: p('sliceCount'), progress: p('progress')}),
edges: 1,

See also

  • barOffset — Cut the child into parallel bars and shift each one sideways by a random amount.

Used by

SliceWipe