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.

ambient · atmospheric · analog warmth

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.

More optionsFewer options

Brightness

Each leak peaks a little below this, at random.

Color

Warm colors look like film; cyan looks cooler.

Soft spots of light drift up after each leak.

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.

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 GitHub

What it is

The full explanation is in README.md.

Good for

  • Photo and film sites
  • Portfolios
  • Music pages
  • Lifestyle brands

Avoid on

  • Dashboards
  • Long reading pages