remotion-markup
Structure Remotion scenes with markup patterns for layout, typography, and reusable video UI.
Install
npx skills add https://github.com/remotion-dev/skills --skill remotion-markup- metadata
- tags: light-leaks, overlays, effects, transitions
Light Leaks
This only works from Remotion 4.0.500 and up. Use npx remotion versions to check your Remotion version and npx remotion upgrade to upgrade your Remotion version.
Apply lightLeak() from @remotion/effects/light-leak to a canvas-based component such as <Solid>. Animate progress from 0 to 1; the light leak reveals during the first half and retracts during the second half.
Typically use it inside a <TransitionSeries.Overlay> to play over the cut point between two scenes. See the transitions rule for <TransitionSeries> and overlay usage.
Prerequisites
Light leak overlay component
Keep the progress calculation inline so it is editable in Remotion Studio:
Basic usage with TransitionSeries
Options
progress?— controls the evolve/retract phase from0to1. Effects do not animate on their own, so drive it withuseCurrentFrame()andinterpolate(). Default:0.5.seed?— determines the shape of the light leak pattern. Different seeds produce different patterns. Default:0.hueShift?— rotates the hue in degrees (0–360). Default:0(yellow-to-orange).120= green,240= blue.disabled?— skips the effect whentrue. Default:false.
Customizing the look
Standalone usage
The overlay component can also be used outside of <TransitionSeries> as a decorative layer in any composition:
lightLeak() uses WebGL2. Enable WebGL during rendering with Config.setChromiumOpenGlRenderer("angle").