
轉場
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-shapeProps(8)
durationInFramesnumber= 24Transition 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.5Where the shape grows from, 0→1 of the frame width.
originYnumber= 0.5Where the shape grows from, 0→1 of the frame height.
overshootnumber= 1.06Final size as a multiple of the frame diagonal. Below 1 leaves corners unrevealed.
warpnumber= 0Optional turbulence on the revealed scene, in px. 0 keeps the silhouette crisp.
variant"linear" | "spring" | "editorial"= "editorial"Timing curve.