Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

fix: say in the Light Leak README that the demo opens on a leak at its peak

matind8b913219a2d
diff --git a/animations/07-ambient-background/light-leak/README.md b/animations/07-ambient-background/light-leak/README.md
index d6dcdb40..d347bd96 100644
--- a/animations/07-ambient-background/light-leak/README.md
+++ b/animations/07-ambient-background/light-leak/README.md
@@ -35,6 +35,8 @@ function randomGap() {
setTimeout(flash, randomGap());
```
+The demo opens on a leak at its peak rather than a dark stage: it lights the glow, finishes the fade at once (`leak.getAnimations().forEach(a => a.finish())`) and starts the chain with `setTimeout(fadeOut, randomGap())`, so the first leak holds for one gap before it fades out.
+
**Gradient for a top-left corner leak**:
```css