
Match cut (shape continues)
@opus-motion-library/match-cut
A record button in an app screen becomes a sun in a sunrise scene at exactly the same position and size: the shape is held 3 frames across the cut (scaled 1 -> 1.6 first), then scene B opens through a clip-path that grows from that shape to the full frame while the sun drifts to its rest position.
インストール
node cli/mgl.mjs add match-cut --to <your-project>/src使いどころ
- 向いている
- Premium launch films, showreels and one-shot explainers: copy the rect/clip-path maths into any scene change so a button, screen or circle continues as a shape in the next scene (pairs with cursor-driver and ui-shape-morph).
仕様
- 長さ
- 120f · 4s
- 長さの種類
- 固定
- FPS
- 30
- スタイル
- nature
- ライセンス
- MIT
Props(14)
shapestring= "circle"'circle' | 'rounded' | 'rect'
fromobject= {"x":50,"y":56,"w":300,"h":300}matched shape in scene A: {x,y in % of frame centre, w,h in u}
toobject= {"x":50,"y":40,"w":340,"h":340}where the shape comes to rest in scene B
cutAtnumber= 46frame of the hard cut
holdFramesnumber= 3frames the matched shape is held across the cut (2-4)
expandFramesnumber= 26frames for B to open to full frame
scaleThroughnumber= 1.6scale of the matched shape just before the cut (1 = none)
titleAstring= "Ready when you are"headline in scene A
titleBstring= "A new day"headline in scene B
imageBstring= ""optional public image path for scene B (replaces the procedural sunrise)
colorAstring= "#ECE9E3"scene A background
colorBstring= "#FFB27A"scene B sky top colour
shapeAstring= "#1B1B1F"matched shape colour in A
shapeBstring= "#FFE3A8"matched shape colour in B