
Slit Scan
@remotionui/slit-scan
来自 RemotionUI
Slit-scan time displacement: each strip of any child — rows, columns, rings or a gradient map — shows that child at a different moment, deterministically
安装
npx remotion-ui@latest add slit-scanProps(12)
children*ReactNodeAnything time-based: footage, a scene, another motion component.
widthnumber= 960Frame width in px.
heightnumber= 540Frame height in px.
mode"bands" | "radial"= "bands"Straight strips at an angle, or rings around a centre.
stripsnumber= 48Number of strips. Free — levels sets the cost.
anglenumber= 0Bands: direction the delay grows along, degrees.
center[number, number]= [0.5, 0.5]Radial: centre as shares of the frame.
maxDelaynumber= 20Delay of the last strip, in frames (fractional ok).
levelsnumber= 16Distinct delays = renders of the child per frame.
curve(t: number) => numberMaps strip position 0–1 to delay share 0–1. Default linear.
loopFramesnumberWrap sampled frames into a loop, so strips look back into the previous cycle.
framenumberRender this frame instead of the current one.