Drifting gleam
A warm lens flare glides sideways across the top of the frame with a soft horizontal streak. Shiny reveals, product glints and polished looks.
Preview unavailable
Apply this to my video: "Drifting gleam" from the 24fps video editor library.
Preset JSON: https://24fps.dev/video-editor/effects/lens-gleam-cc2/preset.json (pass its "preset" to the engine).
Engine (MIT, no dependencies, ES module): https://24fps.dev/editor/engine.js. Download the engine next to your page (curl -O) rather than importing cross-origin, then import { mount } from "./engine.js" in a <script type="module"> served over http.
Wiring: root = a position:relative box at the video's size. media = { main }: main is a wrapper holding my video, filling the root. Then const fx = mount(root, { kind: "effect", preset, media }) and call fx.render(seconds) every frame. It is seek-safe: drive it from the GSAP timeline in HyperFrames or call render(frame / fps) in Remotion. Before capturing frames, await (fx.ready ?? document.fonts.ready).
Field reference: https://24fps.dev/video-editor/llms.txt. Keep sizes as fractions of the frame height so it works at any resolution. Credit: 24fps.dev/video-editor- Same idea
- Also called: Gleam, Sunny, Gleaming Pane, Noir Sheen, Rippling Glow, Glow Scan, Lens Flash, Grid Lens Flare, Retro Glare, Golden Glare, Water Shine, Lens Flare, Forest Flare
- Technique
- Moving lens flare
- Footage
- Man talking to camera, Pexels