DirectionalWarp — primitive for transitions (glsl)

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 use case 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 use-case page.

A diagonal wipe whose leading edge smears and stretches the pixels it passes over

Prompt that renders it frame-exact

Add the "DirectionalWarp" transition from GL Transitions (by pschroen, MIT; https://gl-transitions.com/editor/DirectionalWarp, GLSL source https://github.com/gl-transitions/gl-transitions/blob/master/transitions/DirectionalWarp.glsl) between two product or B-roll shots: 0.8 s, ease-in-out. It moves like a fast finger swipe, which suits social cuts. Remotion: npm install gl-transitions @gl-transitions/remotion @remotion/transitions, then a <TransitionSeries.Transition> with presentation={glTransition({ name: "DirectionalWarp", params: { direction: [-1, 1], smoothness: 0.1 } })} and timing={linearTiming({ durationInFrames: 24, easing: Easing.inOut(Easing.cubic) })} (24 frames at 30 fps). HyperFrames: draw the GLSL on a full-frame WebGL canvas over the cut, with the outgoing and incoming frames as the from/to textures, and compute progress from the composition time, clamp((t − cutStart) / 0.8, 0, 1) through the easing; never from requestAnimationFrame or a timer, so every frame renders the same. ffmpeg's xfade can't run GLSL. direction sets the sweep (vec2(-1, 1) default; vec2(1, 0) sweeps horizontally) and smoothness (0.1) softens the warped edge.

Used in

More transitions