Heart Mask — effect skill for transitions

For AI agents: find the right skill in one call — curl -s "https://skills.varg.ai/api/search?q=<what the person wants>" returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add .md to its path. Before generating anything, show the person the options on the how-to page.

B appears through a heart shape that grows to fill the frame. Social, playful and romantic.

What it does

A heart-shaped window opens from the centre and expands until B covers everything.

When: Couples, weddings, Valentine's, "favourite" moments, social posts.

Watch out: Anything serious or corporate.

Timing: 0.5–0.8 s, ease-out

Also called: heart wipe, heart transition, love transition

In FFmpeg

xfade custom expression with an implicit heart curve (P runs 1→0, so the heart grows as P falls):

ffmpeg -i a.mp4 -i b.mp4 -filter_complex \
"[0:v]fps=30,settb=AVTB,format=yuv420p[a];[1:v]fps=30,settb=AVTB,format=yuv420p[b];\
 [a][b]xfade=transition=custom:duration=0.7:offset=4.3:\
expr='if(lte(pow(pow((X-W/2)/(W*(1-P)+1),2)+pow((H/2-Y)/(W*(1-P)+1),2)-0.09,3)-pow((X-W/2)/(W*(1-P)+1),2)*pow((H/2-Y)/(W*(1-P)+1),3),0),B,A)'[v]" -map "[v]" out.mp4

In HyperFrames

Tween an SVG heart clipPath (or a CSS mask-image of a heart) on the incoming scene from scale 0 to 4, transform-origin centre.

In Remotion

glTransition({name: 'heart'}) with @gl-transitions/remotion 0.1.0 (1.x name; HeartWipe in gl-transitions 2.0).

In CapCut

Transitions tab → Mask / Social media → heart-shaped transitions (names vary by version). Desktop: drag the tile onto the cut between two clips and set Duration in the right panel ("Apply to all" reuses it on every cut). Mobile: tap the small white square between clips, pick the transition, drag the duration slider, tap ✓. Tab labels and placement change between versions and regions. Hand-made: Mask → Heart on B, keyframe its size.

Where this comes from

Use when

Not for

Install

More transitions skills