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.

Merge branch 'feat/new-L10' into int/new-animations

matin49b8361d74e7
diff --cc README.md
index a4388558,03156e9a..8cb5e688
--- a/README.md
+++ b/README.md
@@@ -257,9 -237,9 +257,12 @@@ All 129 techniques, each linked to its
- **[Synthwave Grid](animations/07-ambient-background/synthwave-grid/)** — A glowing grid rolls toward you under a striped sun. Best for music and games.
- **[Matrix Rain](animations/07-ambient-background/matrix-rain/)** — Columns of glowing characters rain down a dark screen. Best for tech themes.
- **[Plasma Field](animations/07-ambient-background/plasma/)** — Smooth waves of color flow endlessly, made from math. Best for creative sites.
+- **[Wave Layers](animations/07-ambient-background/wave-layers/)** — Layers of waves drift sideways, each at its own speed. Best for hero sections and footers.
+- **[Snow / Rain](animations/07-ambient-background/snow-rain/)** — Snow drifts down, or rain falls in streaks, over a dark town. Best for seasonal pages.
+- **[Fireworks](animations/07-ambient-background/fireworks/)** — Rockets rise and burst into glowing sparks that fall and fade. Best for celebrations.
+ - **[Topographic Lines](animations/07-ambient-background/topographic-lines/)** — Contour lines like those on a hiking map slowly bend and drift. Best for outdoor brands.
+ - **[Light Rays](animations/07-ambient-background/light-rays/)** — Soft beams of light fall from above and slowly sweep across. Best for hero intros.
+ - **[Game of Life](animations/07-ambient-background/game-of-life/)** — Cells live and die by simple neighbor rules, and patterns grow on their own. Best for tech sites.
</details>
diff --cc animations/07-ambient-background/README.md
index dc63edc5,34efe61b..f42cbf6a
--- a/animations/07-ambient-background/README.md
+++ b/animations/07-ambient-background/README.md
@@@ -23,9 -23,9 +23,12 @@@ Passive, looping effects that hold visu
| [Synthwave Grid](synthwave-grid/) | A glowing grid rolls toward you under a striped sun. Best for music and games. |
| [Matrix Rain](matrix-rain/) | Columns of glowing characters rain down a dark screen. Best for tech themes. |
| [Plasma Field](plasma/) | Smooth waves of color flow endlessly, made from math. Best for creative sites. |
+| [Wave Layers](wave-layers/) | Layers of waves drift sideways, each at its own speed. Best for hero sections and footers. |
+| [Snow / Rain](snow-rain/) | Snow drifts down, or rain falls in streaks, over a dark town. Best for seasonal pages. |
+| [Fireworks](fireworks/) | Rockets rise and burst into glowing sparks that fall and fade. Best for celebrations. |
+ | [Topographic Lines](topographic-lines/) | Contour lines like those on a hiking map slowly bend and drift. Best for outdoor brands. |
+ | [Light Rays](light-rays/) | Soft beams of light fall from above and slowly sweep across. Best for hero intros. |
+ | [Game of Life](game-of-life/) | Cells live and die by simple neighbor rules, and patterns grow on their own. Best for tech sites. |
## The ambient mindset
diff --cc index.html
index c1b5936f,c9f0c482..0cc07191
--- a/index.html
+++ b/index.html
@@@ -1047,41 -816,33 +1047,68 @@@ button,input{font:inherit;color:inherit
.pv-aripple .src b:nth-child(2){animation-delay:1.3s}.pv-aripple .src b:nth-child(3){animation-delay:2.6s}
.pv-aripple .s2 b{animation-duration:4.6s}
@keyframes d-arip{0%{transform:translate(-50%,-50%) scale(1);opacity:.8}100%{transform:translate(-50%,-50%) scale(9);opacity:0}}
+/* Wave Layers: three tracks twice the stage's width, each a wave edge over a block of its color, slide left by half their width,
+ the near ones faster; the colors are the demo's Ocean palette, darker toward the front against a glowing horizon */
+.pv-wavelayers{background:linear-gradient(#040b16 22%,#3f8fb5 46%);overflow:hidden;container-type:size}
+.pv-wavelayers .wl{position:absolute;left:0;width:200%;bottom:-4cqh;display:flex;flex-direction:column;animation:d-wl 13s linear infinite}
+.pv-wavelayers .wl svg{display:block;flex:none;width:100%;fill:currentColor}
+.pv-wavelayers .wl i{flex:1;margin-top:-1px;background:currentColor}
+.pv-wavelayers .l1{top:42cqh;color:#1f6386}.pv-wavelayers .l1 svg{height:7cqh}
+.pv-wavelayers .l2{top:56cqh;color:#123f5a;animation-duration:9.5s;animation-delay:-4s}.pv-wavelayers .l2 svg{height:10cqh}
+.pv-wavelayers .l3{top:71cqh;color:#08263b;animation-duration:7s;animation-delay:-2s}.pv-wavelayers .l3 svg{height:13cqh}
+@keyframes d-wl{to{transform:translateX(-50%)}}
+/* Snow / Rain: two layers of flakes fall exactly one tile height (64 or 96 pixels) per cycle, so the loop has no seam; each flake
+ repeats at its own width, so they form no grid; the near layer is bigger and faster and sways; dark roofs with lit windows in front */
+.pv-snowrain{background:radial-gradient(ellipse 70% 45% at 50% 100%,rgba(255,170,90,.13),transparent),linear-gradient(#03050b,#0a1020 50%,#18223a);overflow:hidden}
+.pv-snowrain .sn{position:absolute;left:-10%;right:-10%;top:-64px;bottom:0;background:radial-gradient(circle at 30% 8%,rgba(255,255,255,.7) 1.1px,transparent 1.7px),radial-gradient(circle at 70% 27%,rgba(255,255,255,.55) 1px,transparent 1.6px),radial-gradient(circle at 20% 46%,rgba(255,255,255,.65) 1.1px,transparent 1.7px),
+ radial-gradient(circle at 60% 69%,rgba(255,255,255,.5) 1px,transparent 1.6px),radial-gradient(circle at 45% 88%,rgba(255,255,255,.7) 1.1px,transparent 1.7px);background-size:53px 64px,67px 64px,79px 64px,97px 64px,61px 64px;animation:d-sn 6s linear infinite}
+.pv-snowrain .s2{top:-96px;background:radial-gradient(circle at 25% 15%,#fff 2px,transparent 2.6px),radial-gradient(circle at 75% 52%,rgba(255,255,255,.9) 1.7px,transparent 2.3px),radial-gradient(circle at 40% 83%,rgba(255,255,255,.85) 1.9px,transparent 2.5px);
+ background-size:89px 96px,113px 96px,131px 96px;animation:d-sn2 4.2s linear infinite}
+.pv-snowrain .town{position:absolute;left:0;right:0;bottom:0;height:24%;background:linear-gradient(#f3c26a 0 0) 12% 80%/4px 5px no-repeat,linear-gradient(#f3c26a 0 0) 38% 84%/4px 5px no-repeat,linear-gradient(#f3c26a 0 0) 63% 78%/4px 5px no-repeat,linear-gradient(#f3c26a 0 0) 86% 82%/4px 5px no-repeat,#070a13;
+ clip-path:polygon(0 100%,0 52%,9% 30%,18% 52%,22% 52%,27% 18%,32% 52%,36% 52%,46% 26%,56% 52%,59% 52%,64% 22%,69% 52%,72% 52%,82% 30%,92% 52%,95% 52%,98% 34%,100% 44%,100% 100%)}
+@keyframes d-sn{to{transform:translateY(64px)}}
+@keyframes d-sn2{50%{transform:translate(5px,48px)}100%{transform:translate(0,96px)}}
+/* Fireworks: three times per cycle a rocket climbs to a point and a burst opens there, one after another: sixteen rays (a
+ conic gradient, cut by a radial mask into rays brightest at their tips) grow, droop and fade; a dark skyline stands in front */
+.pv-fireworks{background:linear-gradient(#02030a,#0b0c22 55%,#221640);overflow:hidden}
+.pv-fireworks .fw{position:absolute;width:38%;aspect-ratio:1;margin:-19% 0 0 -19%;opacity:0;background:repeating-conic-gradient(var(--fc) 0 3deg,transparent 4.5deg 22.5deg);
+ -webkit-mask:radial-gradient(closest-side,transparent 22%,rgba(0,0,0,.35) 50%,#000 86%,transparent 92%);mask:radial-gradient(closest-side,transparent 22%,rgba(0,0,0,.35) 50%,#000 86%,transparent 92%);
+ animation:d-fw 3.2s ease-out infinite}
+.pv-fireworks .rk{position:absolute;width:2px;height:12%;margin-left:-1px;border-radius:2px;background:linear-gradient(#fff3d6,transparent);opacity:0;animation:d-rk 3.2s ease-out infinite}
+.pv-fireworks .f1,.pv-fireworks .r1{left:31%;top:48%;--fc:var(--accent);--t:433%}
+.pv-fireworks .f2,.pv-fireworks .r2{left:70%;top:30%;--fc:var(--c5);--t:583%;animation-delay:-1.07s}
+.pv-fireworks .f3,.pv-fireworks .r3{left:50%;top:40%;--fc:var(--c1);--t:500%;animation-delay:-2.13s}
+.pv-fireworks .city{position:absolute;left:0;right:0;bottom:0;height:20%;background:linear-gradient(#f3c26a 0 0) 10% 62%/3px 3px no-repeat,linear-gradient(#f3c26a 0 0) 28% 40%/3px 3px no-repeat,linear-gradient(#f3c26a 0 0) 48% 58%/3px 3px no-repeat,linear-gradient(#f3c26a 0 0) 63% 36%/3px 3px no-repeat,linear-gradient(#f3c26a 0 0) 91% 52%/3px 3px no-repeat,#05060d;
+ clip-path:polygon(0 100%,0 40%,8% 40%,8% 15%,14% 15%,14% 55%,22% 55%,22% 30%,27% 30%,27% 0,30% 0,30% 30%,36% 30%,36% 60%,45% 60%,45% 25%,52% 25%,52% 45%,60% 45%,60% 10%,66% 10%,66% 50%,74% 50%,74% 30%,80% 30%,80% 55%,88% 55%,88% 20%,94% 20%,94% 45%,100% 45%,100% 100%)}
+@keyframes d-fw{0%,30%{transform:scale(.2);opacity:0}34%{opacity:1}100%{transform:translateY(8%) scale(1);opacity:0}}
+@keyframes d-rk{0%{transform:translateY(var(--t));opacity:0}5%{opacity:1}28%{transform:translateY(0);opacity:1}32%,100%{transform:translateY(0);opacity:0}}
+ /* contour rings of one big hill and two small ones in the corners: each set turns and breathes a little around its own peak */
+ .pv-topo{background:radial-gradient(ellipse at 40% 55%,#151b17,#0a0d0c 75%);overflow:hidden}
+ .pv-topo svg{position:absolute;inset:0;width:100%;height:100%}
+ .pv-topo path{fill:none;stroke:var(--accent);stroke-width:.55;stroke-linejoin:round;opacity:.55}
+ .pv-topo path.ix{stroke-width:1.1;opacity:.95}
+ .pv-topo .h1{transform-origin:60px 56px;animation:d-topo 9s ease-in-out infinite alternate}
+ .pv-topo .h2{transform-origin:150px 10px;animation:d-topo 7s ease-in-out infinite alternate-reverse}
+ .pv-topo .h3{transform-origin:152px 98px;animation:d-topo 8s ease-in-out infinite alternate-reverse}
+ @keyframes d-topo{from{transform:rotate(-6deg) scale(.95)}to{transform:rotate(6deg) scale(1.05)}}
+ /* soft beams fan out from just above the top right corner, each swaying and brightening on its own cycle, over drifting dust */
+ .pv-rays{background:radial-gradient(ellipse 90% 80% at 92% 0%,#2a1c0f,#120c08 55%,#070505);overflow:hidden}
+ .pv-rays i{position:absolute;left:83%;top:-14%;width:18%;height:200%;transform-origin:50% 0;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 30%,transparent),transparent);clip-path:polygon(42% 0,58% 0,100% 100%,0 100%);-webkit-mask:linear-gradient(#000 5%,transparent 70%);mask:linear-gradient(#000 5%,transparent 70%);animation:d-rays 7s ease-in-out infinite alternate}
+ .pv-rays b{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff3dc;animation:d-dust 6s ease-in-out infinite alternate}
+ @keyframes d-rays{from{transform:rotate(calc(var(--r) - 5deg));opacity:.5}to{transform:rotate(calc(var(--r) + 5deg));opacity:1}}
+ @keyframes d-dust{from{transform:translate(0,0);opacity:.2}to{transform:translate(-6px,-14px);opacity:.9}}
+ /* Life on a faint 16 × 10 grid: two gliders crawl across (their four shapes take turns, and every fourth generation the glider
+ steps one cell down and right), a blinker flips, and a beehive and a block stay still */
+ .pv-life{background:#07090b;overflow:hidden}
+ .pv-life svg{position:absolute;inset:0;width:100%;height:100%}
+ .pv-life .grid{fill:none;stroke:rgba(255,255,255,.07);stroke-width:.04}
+ .pv-life rect{fill:var(--accent)}
+ .pv-life .gl{animation:d-lifeg 16.8s steps(14,end) infinite}
+ .pv-life .f{opacity:0;animation:d-lifef 1.2s steps(1,end) infinite}
+ .pv-life .bl{opacity:0;animation:d-lifeb .6s steps(1,end) infinite}
+ @keyframes d-lifeg{to{transform:translate(14px,14px)}}
+ @keyframes d-lifef{0%{opacity:1}25%,100%{opacity:0}}
+ @keyframes d-lifeb{0%{opacity:1}50%,100%{opacity:0}}
/* ── bespoke: added demos ── */
.pv-magnet{background:#08090c;display:grid;place-items:center;position:relative}
@@@ -1273,7 -1034,7 +1300,7 @@@
<section class="wrap home-hero" aria-labelledby="hero-title">
<span class="float fl1" aria-hidden="true"></span><span class="float fl2" aria-hidden="true"></span><span class="float fl3" aria-hidden="true"></span>
<span class="float fl4" aria-hidden="true"></span><span class="float fl5" aria-hidden="true"></span><span class="float fl6" aria-hidden="true"></span>
- <p class="pill"><span class="pill-dot" aria-hidden="true"></span>152 free animations · no coding needed</p>
- <p class="pill"><span class="pill-dot" aria-hidden="true"></span>132 free animations · no coding needed</p>
++ <p class="pill"><span class="pill-dot" aria-hidden="true"></span>155 free animations · no coding needed</p>
<h1 class="h1" id="hero-title">What do you want to animate?</h1>
<p class="sub">Pick a place, or describe it in your own words. Every animation plays live, and each one comes with a ready-made prompt for your AI assistant.</p>
<form class="search" id="search-form" role="search" action="./" method="get">
@@@ -1330,8 -1091,8 +1357,8 @@@
<p class="empty-s">Try a simpler word, or pick one of these:</p>
<p class="pop"><button type="button" data-q="fade in">fade in</button><button type="button" data-q="typing text">typing text</button><button type="button" data-q="loading spinner">loading spinner</button><button type="button" data-q="parallax">parallax</button><button type="button" data-q="confetti">confetti</button></p>
</div>
- <div class="more" id="more"><button type="button" class="bigbtn" id="more-btn"><span id="more-label">Browse all 152 animations</span><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M6 13l6 6 6-6"/></svg></button></div>
- <noscript><p class="noscript">This page shows its animations with JavaScript. All 152 are still easy to reach: see the <a href="https://github.com/matinmonshizadeh/animation-handbook#categories">category list on GitHub</a> or the <a href="sitemap.xml">full sitemap</a>. Each demo is a page of its own under <code>/animations/&lt;category&gt;/&lt;name&gt;/</code>.</p></noscript>
- <div class="more" id="more"><button type="button" class="bigbtn" id="more-btn"><span id="more-label">Browse all 132 animations</span><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M6 13l6 6 6-6"/></svg></button></div>
- <noscript><p class="noscript">This page shows its animations with JavaScript. All 132 are still easy to reach: see the <a href="https://github.com/matinmonshizadeh/animation-handbook#categories">category list on GitHub</a> or the <a href="sitemap.xml">full sitemap</a>. Each demo is a page of its own under <code>/animations/&lt;category&gt;/&lt;name&gt;/</code>.</p></noscript>
++ <div class="more" id="more"><button type="button" class="bigbtn" id="more-btn"><span id="more-label">Browse all 155 animations</span><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M6 13l6 6 6-6"/></svg></button></div>
++ <noscript><p class="noscript">This page shows its animations with JavaScript. All 155 are still easy to reach: see the <a href="https://github.com/matinmonshizadeh/animation-handbook#categories">category list on GitHub</a> or the <a href="sitemap.xml">full sitemap</a>. Each demo is a page of its own under <code>/animations/&lt;category&gt;/&lt;name&gt;/</code>.</p></noscript>
</section>
<section class="how" id="how" aria-labelledby="how-title">
@@@ -1349,7 -1110,7 +1376,7 @@@
<footer class="wrap foot">
<a class="brand" href="./"><svg class="mark" viewBox="0 0 32 32" aria-hidden="true"><circle class="ring" cx="11.16" cy="20.84" r="6.1"/><circle class="ring" cx="15.12" cy="16.88" r="6.1"/><circle class="ring" cx="18.51" cy="13.49" r="6.1"/><circle class="ball" cx="21.2" cy="10.8" r="6.6"/></svg><span>Animation Handbook</span></a>
- <p class="foot-t">152 web animations with live demos and copyable prompts.</p>
- <p class="foot-t">132 web animations with live demos and copyable prompts.</p>
++ <p class="foot-t">155 web animations with live demos and copyable prompts.</p>
<nav class="nav" aria-label="Footer"><a class="lnk" href="https://github.com/matinmonshizadeh/animation-handbook" target="_blank" rel="noopener noreferrer">GitHub</a><a class="lnk" href="#top">Back to top</a></nav>
</footer>
<div class="toast" id="toast" role="status" aria-live="polite"><span class="ok" aria-hidden="true"><svg class="i" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="toast-t"></span></div>
@@@ -1561,25 -1302,19 +1588,29 @@@ const CATS=
['synthwave-grid','Synthwave Grid','A glowing grid rolls toward you under a striped sun. Best for music and games.'],
['matrix-rain','Matrix Rain','Columns of glowing characters rain down a dark screen. Best for tech themes.'],
['plasma','Plasma Field','Smooth waves of color flow endlessly, made from math. Best for creative sites.'],
+ ['wave-layers','Wave Layers','Layers of waves drift sideways, each at its own speed. Best for hero sections and footers.'],
+ ['snow-rain','Snow / Rain','Snow drifts down, or rain falls in streaks, over a dark town. Best for seasonal pages.'],
+ ['fireworks','Fireworks','Rockets rise and burst into glowing sparks that fall and fade. Best for celebrations.'],
+ ['topographic-lines','Topographic Lines','Contour lines like those on a hiking map slowly bend and drift. Best for outdoor brands.'],
+ ['light-rays','Light Rays','Soft beams of light fall from above and slowly sweep across. Best for hero intros.'],
+ ['game-of-life','Game of Life','Cells live and die by simple neighbor rules, and patterns grow on their own. Best for tech sites.'],
]
}
];
const PV={
'smooth-scroll':'smoothsc','text-fill-on-scroll':'txtfill','scroll-velocity-skew':'vskew',
- 'svg-line-draw':'linedraw','scrollspy-nav':'spy','scroll-background-color':'bgblend',
+ 'svg-line-draw':'linedraw','scrollspy-nav':'spy','scroll-background-color':'bgblend','hide-on-scroll-header':'hideheader',
'hamburger-menu-toggle':'hamb','theme-toggle-morph':'thememorph','copy-to-clipboard':'copyfx',
'star-rating':'stars','toast-notification':'toast','segmented-control':'segct','pull-to-refresh':'pullref',
- 'flip-card-3d':'flip3d','matrix-rain':'matrix','plasma':'plasmapv','topographic-lines':'topo','light-rays':'rays','game-of-life':'life',
+ 'gradient-border':'gradborder','spotlight-hover':'spotlight','add-to-cart-fly':'cartfly',
+ 'drag-to-reorder':'reorder',
+ 'rolling-numbers':'rollnum',
+ 'typing-indicator':'typing',
+ 'hold-to-confirm':'holdconf','expanding-search':'xsearch','button-loading-states':'btnload',
+ 'flip-card-3d':'flip3d','carousel-3d':'carousel3d','depth-map-photo':'depthmap','matrix-rain':'matrix','plasma':'plasmapv',
+ 'wave-layers':'wavelayers','snow-rain':'snowrain','fireworks':'fireworks',
++ 'topographic-lines':'topo','light-rays':'rays','game-of-life':'life',
'parallax-depth-of-field':'dof','parallax-scrolling':'plx','reverse-scrolling-columns':'revcol',
'cover-card-to-fixed-header':'cover','fly-in-fly-out-contact-list':'flylist','stacking-cards':'stack',
'scroll-trigger':'trigger','scrub-animation':'scrub','pin-animation':'pin','snap-scrolling':'snap',
@@@ -1774,9 -1487,9 +1805,12 @@@ const PLACES=
'synthwave-grid':['bg'],
'matrix-rain':['bg'],
'plasma':['bg'],
+ 'wave-layers':['bg','intro'],
+ 'snow-rain':['bg'],
- 'fireworks':['bg','intro']
++ 'fireworks':['bg','intro'],
+ 'topographic-lines':['bg'],
+ 'light-rays':['bg','intro'],
+ 'game-of-life':['bg']
};
// The eight cards of "Good places to start", in this order.
const PICKS=['click-ripple','typewriter-effect','flip-card-3d','aurora','hamburger-menu-toggle','loading-spinner','parallax-scrolling','slide-up-reveal'];
@@@ -1784,38 -1497,23 +1818,49 @@@
function pvMarkup(k){
switch(k){
case 'sig1': return '<div class="s1 anim">'+'<b></b>'.repeat(9)+'</div>';
+ case 'hideheader': return '<span class="win"><span class="pg anim">'+[0,100,86,100,70,0,100,92,64,100,0,78,100,88].map(function(w){return w?'<b style="width:'+w+'%"></b>':'<b class="im"></b>';}).join('')+'</span><span class="bar anim"><span class="lg"></span><span class="nm"></span><span class="mn"></span></span></span>';
case 'sig2': return '<span class="s2 anim"></span>';
case 'sig3': return '<span class="s3 pa anim"></span><span class="s3 pb anim"></span>';
+ case 'circlerev': return '<span class="pg"><b></b><b></b><b></b></span><span class="c anim"></span><span class="pg pb anim"><b></b><b></b><b></b></span><span class="t anim"></span>';
+ case 'cubepage': return '<div class="sc"><span class="f a anim"><span class="pg"><b></b><b></b><b></b></span><i class="d anim"></i></span><span class="f b anim"><span class="pg"><b></b><b></b><b></b></span><i class="d anim"></i></span></div>';
+ case 'pcurl': return '<span class="pg"><b></b><b></b><b></b></span><span class="nb anim"></span><span class="pg pb anim"><b></b><b></b><b></b></span><span class="fl anim"></span>';
+ case 'owipe': return '<span class="pg"><b></b><b></b><b></b></span><span class="pbg anim"><span class="pg"><b></b><b></b><b></b></span></span><span class="w w1 anim"></span><span class="w w2 anim"></span>';
case 'sig4': return '<span class="s4r anim"></span><span class="s4r r2 anim"></span><span class="s4r r3 anim"></span><span class="s4d"></span>';
+ case 'gradborder': return '<span class="gbx"><span class="gl"><i class="anim"></i></span><span class="rg"><i class="anim"></i></span><span class="in"><b></b><b></b><b></b></span></span>';
+ case 'spotlight': return '<span class="sg"><span class="lt anim"></span>'+'<i></i>'.repeat(6)+'</span>';
+ case 'cartfly': return '<span class="pd"></span><span class="bt anim"></span><span class="ct anim"><svg viewBox="0 0 24 24"><path d="M2.5 3.5h2.3l2.5 11a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.4-1.1l1.9-6.6H6"/><circle cx="9.5" cy="19.6" r="1.4"/><circle cx="17" cy="19.6" r="1.4"/></svg><span class="bd"><b class="n2 anim">2</b><b class="n3 anim">3</b></span></span><span class="fx anim"><span class="fy anim"><span class="fs anim"></span></span></span>';
+ case 'reorder': return '<span class="rw k1 anim"></span><span class="rw k2 anim"></span><span class="rw k3"></span>';
+ case 'rollnum': return '<i class="lb"></i><span class="n"><span class="w">2</span><span class="w"><span class="s t anim"></span></span><span class="w"><span class="s u anim"></span></span></span>';
+ case 'typing': return '<span class="mo"></span><span class="tb"><i class="anim"></i><i class="anim"></i><i class="anim"></i></span>';
+ case 'holdconf': return '<span class="btn anim"><span class="fl anim"></span><span class="t t1 anim">HOLD TO DELETE</span><span class="t t2 anim">✓ DELETED</span></span>';
+ case 'xsearch': return '<span class="tb"><i class="br"></i><span class="ln anim"><i></i><i></i><i></i></span><span class="fd anim"><i class="tx anim"></i></span><svg class="ic" viewBox="0 0 24 24"><circle cx="11" cy="11" r="6"/><path d="m19.5 19.5-4-4"/></svg></span><span class="pg"><i></i><i></i></span>';
+ case 'btnload': return '<span class="bw"><span class="pl anim">SUBMIT</span><span class="cc anim"></span><span class="gc anim"></span><span class="sp anim"></span><svg class="tk anim" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span>';
case 'sig5': return '<span class="s5 anim"></span><span class="s5 anim"></span><span class="s5 anim"></span>';
+ case 'hilite': return '<span class="ppr"><span class="ln"><b style="width:24%"></b><b class="k anim" style="width:40%"></b><b style="width:22%"></b></span>'+
+ '<span class="ln"><b style="width:20%"></b><b style="width:28%"></b><b class="k k2 anim" style="width:38%"></b></span>'+
+ '<span class="ln"><b class="k k3 anim" style="width:44%"></b><b style="width:30%"></b></span></span>';
+ case 'splitflap': return ['BCDEFG','VWXYZA','OPQRST','ZABCDE'].map(function(s){return '<span class="t"><span class="col anim">'+s.split('').map(function(c){return '<b>'+c+'</b>';}).join('')+'</span><span class="fl anim"></span></span>';}).join('');
+ case 'neon': return '<span class="sg"><span class="gl">OPEN</span><span class="lt anim">OPEN</span></span>';
+ case 'handwrite': return '<span class="pp"><svg viewBox="-34 -90 180 100"><line class="rl" x1="-34" x2="146" y1="0" y2="0"/><path class="w anim" pathLength="1" d="M0 0C3 0 6.9-4 10.6-12C14.8-22 24.7-44 28.3-58C31.4-70 30.7-76 27.7-76C24.7-76 22.4-70 21.1-62C18.1-46 12.5-18 8.5 0C11.6-12 18.9-27 25.6-27.5C31.2-28 30.2-19 27.9-11C25.7-3 27.5 0 31 0C34.5 0 39.8-3.5 44-9C48.2-14.5 50.6-21 46.7-21.5C42.8-22 38-16 37.1-9.5C36-2.5 40.5 0 45 0C48 0 51.9-4 55.6-12C59.8-22 69.7-44 73.3-58C76.4-70 75.7-76 72.7-76C69.7-76 67.4-70 66.1-62C63.1-46 57-16 55.5-7C54.9-2 57 0 60 0C63 0 66.9-4 70.6-12C74.8-22 84.7-44 88.3-58C91.4-70 90.7-76 87.7-76C84.7-76 82.4-70 81.1-62C78.1-46 72-16 70.5-7C69.9-2 72 0 75 0C78 0 83.2-10 89.3-22C92.4-27 95.9-29 98.9-29C100.9-29 102.2-28 102.3-26.5C102.2-28 100.9-29 98.9-29C95.9-29 92.4-27 89.3-22C86.7-17 83.6-5 87.3-1.5C91.2 1.5 97.8-6 99.6-14C100.9-20 101.3-24 100.7-26C103.3-28.5 107.8-28.5 111.9-27"/></svg></span>';
case 'sig6': return '<div class="cube anim"><span class="face f1"></span><span class="face f2"></span><span class="face f3"></span><span class="face f4"></span><span class="face f5"></span><span class="face f6"></span></div>';
+ case 'carousel3d': return '<div class="sc"><div class="tl"><div class="rg anim">'+[0,1,2,3,4,5].map(k=>'<i style="--k:'+k+'"></i>').join('')+'</div></div></div>';
+ case 'depthmap': return [['sun',-.4],['mt',-.2],['hl',.05],['md',.25],['tr',.45],['gd',.55]].map(([c,k])=>'<i class="'+c+' anim" style="--k:'+k+'"></i>').join('');
case 'sig7': return '<span class="s7 anim"></span>';
+ case 'wavelayers': {let d='M0 0C18 0 32 40 50 40';for(let s=1;s<16;s++)d+='S'+(s*50+32)+(s%2?' 0 ':' 40 ')+(s*50+50)+(s%2?' 0':' 40');
+ return [800,600,400].map((w,k)=>'<span class="wl l'+(k+1)+' anim"><svg viewBox="0 0 '+w+' 40" preserveAspectRatio="none"><path d="'+d+'V40H0Z"/></svg><i></i></span>').join('');}
+ case 'snowrain': return '<span class="sn anim"></span><span class="sn s2 anim"></span><span class="town"></span>';
+ case 'fireworks': return [1,2,3].map(k=>'<span class="rk r'+k+' anim"></span>').join('')+[1,2,3].map(k=>'<span class="fw f'+k+' anim"></span>').join('')+'<span class="city"></span>';
+ case 'topo': {const ring=(cx,cy,R,k)=>{let d='';for(let i=0;i<48;i++){const a=i*.1309,r=R+(1+R*.045)*(2.2*Math.sin(2*a+1+R*.035)+1.5*Math.sin(3*a+.4-R*.05)+.8*Math.sin(5*a+2));d+=(i?'L':'M')+(cx+r*Math.cos(a)).toFixed(1)+' '+(cy+r*.8*Math.sin(a)).toFixed(1);}return '<path'+(k%4?'':' class="ix"')+' d="'+d+'Z"/>';};
+ return '<svg viewBox="0 0 160 100"><g class="h1 anim">'+[6,13,20,27,34,41,48,55].map((R,k)=>ring(60,56,R,k+1)).join('')+'</g><g class="h2 anim">'+[5,10,15].map((R,k)=>ring(150,10,R,k+3)).join('')+'</g><g class="h3 anim">'+[5,10].map((R,k)=>ring(152,98,R,k+3)).join('')+'</g></svg>';}
+ case 'rays': return [[14,6.5],[27,8],[39,7],[51,9],[62,7.5]].map(([r,d],k)=>'<i class="anim" style="--r:'+r+'deg;animation-duration:'+d+'s;animation-delay:'+(-k*1.7)+'s"></i>').join('')+
+ [[70,40],[54,62],[42,30],[78,70],[30,52]].map(([x,y],k)=>'<b class="anim" style="left:'+x+'%;top:'+y+'%;animation-delay:'+(-k*1.3)+'s"></b>').join('');
+ case 'life': {const cell=([x,y])=>'<rect x="'+(x+.08)+'" y="'+(y+.08)+'" width=".84" height=".84" rx=".14"/>';
+ const PH=[[[1,0],[2,1],[0,2],[1,2],[2,2]],[[0,1],[2,1],[1,2],[2,2],[1,3]],[[2,1],[0,2],[2,2],[1,3],[2,3]],[[1,1],[2,2],[3,2],[1,3],[2,3]]];
+ const glider=(x,y,d)=>'<g transform="translate('+x+' '+y+')"><g class="gl anim" style="animation-delay:'+d+'s">'+PH.map((p,k)=>'<g class="f anim" style="animation-delay:'+(k*.3-1.2).toFixed(1)+'s">'+p.map(cell).join('')+'</g>').join('')+'</g></g>';
+ const blinker=(x,y)=>'<g class="bl anim">'+[[x-1,y],[x,y],[x+1,y]].map(cell).join('')+'</g><g class="bl anim" style="animation-delay:-.3s">'+[[x,y-1],[x,y],[x,y+1]].map(cell).join('')+'</g>';
+ let d='';for(let i=1;i<16;i++)d+='M'+i+' 0V10';for(let i=1;i<10;i++)d+='M0 '+i+'H16';
+ return '<svg viewBox="0 0 16 10"><path class="grid" d="'+d+'"/>'+glider(1,-4,0)+glider(-4,-2,-8.4)+blinker(14,5)+
+ [[13,0],[14,0],[12,1],[15,1],[13,2],[14,2],[1,7],[2,7],[1,8],[2,8]].map(cell).join('')+'</svg>';}
case 'aurora': return '<span class="band b1 anim"></span><span class="band b2 anim"></span><span class="band b3 anim"></span>';
case 'mesh': return '<span class="m m1 anim"></span><span class="m m2 anim"></span><span class="m m3 anim"></span>';
case 'glow': return '<span class="core anim"></span><span class="ring anim"></span>';
diff --cc sitemap.xml
index 55061623,95d64f53..c904d5c0
--- a/sitemap.xml
+++ b/sitemap.xml
@@@ -150,7 -130,7 +150,10 @@@
<url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/synthwave-grid/</loc><lastmod>2026-07-14</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/matrix-rain/</loc><lastmod>2026-07-14</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
<url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/plasma/</loc><lastmod>2026-07-14</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/wave-layers/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/snow-rain/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/fireworks/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/topographic-lines/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/light-rays/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/07-ambient-background/game-of-life/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>
</urlset>