Remoogle
Transition Morph Shape
Transition Morph Shape 預覽
轉場

Transition Morph Shape

@remotionui/transition-morph-shape

來自 RemotionUI

Reveal through a shape that morphs as it grows across the frame

安裝

npx remotion-ui@latest add transition-morph-shape

Props(8)

  • durationInFramesnumber= 24

    Transition overlap length.

  • from"circle" | "square" | "squircle" | "triangle" | "diamond" | "blob" | string= "circle"

    Shape the reveal starts as, at zero size. A raw path d also works.

  • to"circle" | "square" | "squircle" | "triangle" | "diamond" | "blob" | string= "squircle"

    Shape it has become once it covers the frame.

  • originXnumber= 0.5

    Where the shape grows from, 0→1 of the frame width.

  • originYnumber= 0.5

    Where the shape grows from, 0→1 of the frame height.

  • overshootnumber= 1.06

    Final size as a multiple of the frame diagonal. Below 1 leaves corners unrevealed.

  • warpnumber= 0

    Optional turbulence on the revealed scene, in px. 0 keeps the silhouette crisp.

  • variant"linear" | "spring" | "editorial"= "editorial"

    Timing curve.

相依元件

npm 套件

分類