Remoogle
Slit Scan
Slit Scan 預覽
基礎動畫

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-scan

Props(12)

  • children*ReactNode

    Anything time-based: footage, a scene, another motion component.

  • widthnumber= 960

    Frame width in px.

  • heightnumber= 540

    Frame height in px.

  • mode"bands" | "radial"= "bands"

    Straight strips at an angle, or rings around a centre.

  • stripsnumber= 48

    Number of strips. Free — levels sets the cost.

  • anglenumber= 0

    Bands: direction the delay grows along, degrees.

  • center[number, number]= [0.5, 0.5]

    Radial: centre as shares of the frame.

  • maxDelaynumber= 20

    Delay of the last strip, in frames (fractional ok).

  • levelsnumber= 16

    Distinct delays = renders of the child per frame.

  • curve(t: number) => number

    Maps strip position 0–1 to delay share 0–1. Default linear.

  • loopFramesnumber

    Wrap sampled frames into a loop, so strips look back into the previous cycle.

  • framenumber

    Render this frame instead of the current one.

相依元件

npm 套件

分類