07.06 · Ambient & Background
Light Leak
Warm light washes in from a corner at random times. Best for photo sites.
Watch it
Leaks come at random, a few seconds apart. Pause it to look closely, or turn on slow motion to see each leak fade.
Inside, the dashed lines show how far the glow reaches from its corner. The graph shows one leak: it fades in, holds, fades out, then stays dark for a random while.
Evenly timed lights up after the same wait, at the same strength, like a machine. At random varies both, like a real film camera; the marks under each photo are its last leaks.
Try it
Change a setting and see the difference as it moves.
Comes from
Where the light spills in.
Time between leaks
Gaps are random within the range, so it never feels timed.
Speed
How quickly each leak fades in and out.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a light leak effect to [the photo, video or section you want it over]. Place a soft glow of light, classically warm amber, spilling in from one corner or down the middle, in a see-through layer that clicks pass through, and fade it in and out every so often, like stray light reaching the film in an old camera. Make the gaps between leaks random and vary each leak's strength a little, because evenly timed leaks look fake. Keep each leak soft, so it never looks like a flash. If the visitor has reduced motion turned on, keep the glow still and faint. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.