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.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
Merge branch 'feat/sp-S7' into int/special-animations
matine22ef3b8a7b0
diff --cc README.mdindex b6c206a0,208f7fe0..678f2b14--- a/README.md+++ b/README.md@@@ -247,7 -244,7 +247,8 @@@ All 159 techniques, each linked to its- **[Flocking](animations/06-3d-advanced/flocking/)** — Birds swirl and turn together as one flock. Best for calm backgrounds.- **[ASCII / Halftone](animations/06-3d-advanced/ascii-halftone/)** — A moving picture is redrawn with letters or dots. Best for retro and tech looks.- **[2D Physics](animations/06-3d-advanced/physics-2d/)** — Balls drop where you click, bounce and pile up. Best for playful intros.+- **[Liquid Glass](animations/06-3d-advanced/liquid-glass/)** — Drag a glass panel and the picture behind it bends at the edges. Best for cards.+ - **[Holographic Card](animations/06-3d-advanced/holographic-card/)** — A card tilts as you point, and its rainbow foil shimmers. Best for collectibles.</details>diff --cc animations/06-3d-advanced/README.mdindex c2567a07,77b8a9a2..dd0178fc--- a/animations/06-3d-advanced/README.md+++ b/animations/06-3d-advanced/README.md@@@ -29,7 -29,7 +29,8 @@@ WebGL, shaders, particles, 3D transform| [Flocking](flocking/) | Birds swirl and turn together as one flock. Best for calm backgrounds. || [ASCII / Halftone](ascii-halftone/) | A moving picture is redrawn with letters or dots. Best for retro and tech looks. || [2D Physics](physics-2d/) | Balls drop where you click, bounce and pile up. Best for playful intros. |+| [Liquid Glass](liquid-glass/) | Drag a glass panel and the picture behind it bends at the edges. Best for cards. |+ | [Holographic Card](holographic-card/) | A card tilts as you point, and its rainbow foil shimmers. Best for collectibles. |## Key conceptsdiff --cc index.htmlindex 79988642,f993ca8f..d11afc26--- a/index.html+++ b/index.html@@@ -1089,19 -1039,21 +1089,34 @@@ button,input{font:inherit;color:inherit@keyframes d-ph2{0%,22%{transform:translateY(-620%);animation-timing-function:cubic-bezier(.5,0,1,.6)}34%{transform:translateY(0);animation-timing-function:cubic-bezier(0,.4,.5,1)}37%{transform:translateY(-22%);animation-timing-function:cubic-bezier(.5,0,1,.6)}40%,100%{transform:translateY(0)}}@keyframes d-ph3{0%,32%{transform:translateY(-620%);animation-timing-function:cubic-bezier(.5,0,1,.6)}44%{transform:translateY(0);animation-timing-function:cubic-bezier(0,.4,.5,1)}47%{transform:translateY(-22%);animation-timing-function:cubic-bezier(.5,0,1,.6)}50%,100%{transform:translateY(0)}}@keyframes d-phfade{0%,84%{opacity:1}92%,100%{opacity:0}}+/* Liquid Glass: a glass card glides over the demo's neon city. Inside it a copy of the scene, scaled up around the card's center+ and slid back by as much as the card moves, stays lined up with the scene behind, so the card reads as a lens; a rim catches the light */+.pv-liquidglass{background:radial-gradient(80% 90% at 88% 4%,#3b2c86,transparent 62%),linear-gradient(168deg,#1e1752,#100f36 52%,#0a1b2d);overflow:hidden;container-type:size}+.pv-liquidglass .sc{position:absolute;left:0;top:0;width:100cqw;height:100cqh}+.pv-liquidglass .sc b{position:absolute;display:block}+.pv-liquidglass .sun{right:8cqw;top:9cqh;width:24cqw;aspect-ratio:1;border-radius:50%;background:linear-gradient(#ffd36e,#ff8a5c 55%,#ff5c8a);-webkit-mask:linear-gradient(#000 50%,transparent 0),repeating-linear-gradient(transparent 0 2.5%,#000 0 9%);mask:linear-gradient(#000 50%,transparent 0),repeating-linear-gradient(transparent 0 2.5%,#000 0 9%)}+.pv-liquidglass .city{left:0;right:0;bottom:30cqh;height:28cqh;background:repeating-linear-gradient(90deg,#b98cff 0 1.5px,transparent 1.5px 6px),linear-gradient(#2c2070,#150f3c);clip-path:polygon(0 100%,0 52%,6% 52%,6% 30%,11% 30%,11% 64%,15% 64%,15% 12%,21% 12%,21% 44%,26% 44%,26% 70%,31% 70%,31% 26%,36% 26%,36% 56%,41% 56%,41% 6%,46% 6%,46% 40%,52% 40%,52% 62%,57% 62%,57% 20%,62% 20%,62% 48%,67% 48%,67% 34%,72% 34%,72% 66%,77% 66%,77% 24%,83% 24%,83% 54%,88% 54%,88% 16%,94% 16%,94% 46%,100% 46%,100% 100%)}+.pv-liquidglass .sea{left:0;right:0;bottom:0;height:30cqh;background:repeating-linear-gradient(#3fd6c4 0 2px,transparent 2px 7px)}+.pv-liquidglass .gl{position:absolute;left:31cqw;top:45cqh;width:38cqw;height:38cqh;border-radius:10cqh;overflow:hidden;box-shadow:0 8px 18px rgba(0,0,0,.5);animation:d-lg 6s ease-in-out infinite}+.pv-liquidglass .gl::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(120% 80% at 25% 0%,rgba(255,255,255,.18),transparent 55%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),inset 1.5px 1.5px 0 rgba(255,255,255,.8),inset 0 0 9px rgba(255,255,255,.22)}+.pv-liquidglass .gl .sc{left:-31cqw;top:-45cqh;transform-origin:50cqw 64cqh;animation:d-lgin 6s ease-in-out infinite}+@keyframes d-lg{0%,50%,100%{transform:translateX(0)}25%{transform:translateX(25cqw)}75%{transform:translateX(-25cqw)}}+@keyframes d-lgin{0%,50%,100%{transform:scale(1.22) translateX(0)}25%{transform:scale(1.22) translateX(-25cqw)}75%{transform:scale(1.22) translateX(25cqw)}}+ /* A foil card (5:7, 1cqh is 1% of the stage's height, a little low to keep clear of the place label) turns from side to side while a+ rainbow streak slides the other way and a glare follows the side that faces the light; the text panels sit on top */+ .pv-holo{background:radial-gradient(70% 80% at 50% 50%,#221a40,#07060b);display:grid;place-items:center;perspective:420px;container-type:size}+ .pv-holo .hc{position:relative;top:11cqh;height:64cqh;aspect-ratio:5/7;border-radius:5px;overflow:hidden;animation:d-holo 5s ease-in-out infinite;+ background:linear-gradient(#0e1236,#3a2370 55%,#a5467f) 50% 23%/84% 44% no-repeat,linear-gradient(#141130,#141130) 50% 50%/90% 93% no-repeat,linear-gradient(135deg,#efeaff,#a191ee 30%,#4a3aa8 55%,#b8aaf5 80%,#ece6ff)}+ .pv-holo i{position:absolute}+ .pv-holo .cr{left:39%;top:16%;width:22%;height:34%;clip-path:polygon(50% 0,100% 30%,90% 74%,50% 100%,10% 74%,0 30%);background:linear-gradient(135deg,#d6f7ff,#76b9ff 45%,#5b40c4)}+ .pv-holo .fo{inset:-50%;mix-blend-mode:color-dodge;opacity:.75;background:repeating-linear-gradient(118deg,transparent 0 3%,#f0648c 6%,#f4c35e 9%,#71e2a2 12%,#5ac2f4 15%,#a888f6 18%,transparent 21% 24%);animation:d-holof 5s ease-in-out infinite}+ .pv-holo .gl{inset:0;background:radial-gradient(circle closest-side,rgba(255,255,255,.75),rgba(255,255,255,.25) 30%,transparent);animation:d-holog 5s ease-in-out infinite}+ .pv-holo .np,.pv-holo .ip{left:6%;right:6%;border-radius:2px;background:#110e27}+ .pv-holo .np{top:4.3%;height:7.1%;background:linear-gradient(#e9e6ff,#e9e6ff) 12% 50%/42% 34% no-repeat,#110e27}+ .pv-holo .ip{top:59.3%;bottom:4.3%;background:linear-gradient(#e9e6ff,#e9e6ff) 14% 28%/40% 9% no-repeat,linear-gradient(#a9a3d6,#a9a3d6) 14% 56%/72% 7% no-repeat,linear-gradient(#a9a3d6,#a9a3d6) 14% 80%/30% 7% no-repeat,#110e27}+ @keyframes d-holo{0%,100%{transform:rotateY(-24deg) rotateX(8deg)}50%{transform:rotateY(24deg) rotateX(-8deg)}}+ @keyframes d-holof{0%,100%{transform:translate(12%,4%)}50%{transform:translate(-12%,-4%)}}+ @keyframes d-holog{0%,100%{transform:translate(-32%,-18%)}50%{transform:translate(32%,18%)}}/* ── bespoke: 07 Ambient & Background ── */.pv-grain2{background:radial-gradient(circle at 50% 40%,#1a1710,#08080a);overflow:hidden}@@@ -1662,7 -1611,7 +1677,8 @@@ const CATS=['flocking','Flocking','Birds swirl and turn together as one flock. Best for calm backgrounds.'],['ascii-halftone','ASCII / Halftone','A moving picture is redrawn with letters or dots. Best for retro and tech looks.'],['physics-2d','2D Physics','Balls drop where you click, bounce and pile up. Best for playful intros.'],+ ['liquid-glass','Liquid Glass','Drag a glass panel and the picture behind it bends at the edges. Best for cards.'],+ ['holographic-card','Holographic Card','A card tilts as you point, and its rainbow foil shimmers. Best for collectibles.'],]},{@@@ -1707,8 -1656,7 +1723,8 @@@ const PV='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','flocking':'flock','ascii-halftone':'ascii','physics-2d':'phys2d','holographic-card':'holo','matrix-rain':'matrix','plasma':'plasmapv',+ 'image-trail':'imgtrail','gooey-menu':'gooey',- 'flip-card-3d':'flip3d','carousel-3d':'carousel3d','depth-map-photo':'depthmap','flocking':'flock','ascii-halftone':'ascii','physics-2d':'phys2d','liquid-glass':'liquidglass','matrix-rain':'matrix','plasma':'plasmapv',++ 'flip-card-3d':'flip3d','carousel-3d':'carousel3d','depth-map-photo':'depthmap','flocking':'flock','ascii-halftone':'ascii','physics-2d':'phys2d','liquid-glass':'liquidglass','holographic-card':'holo','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',@@@ -1893,7 -1838,7 +1909,8 @@@ const PLACES='flocking':['bg'],'ascii-halftone':['imgcard','bg'],'physics-2d':['intro','bg'],+ 'liquid-glass':['imgcard','menu'],+ 'holographic-card':['imgcard'],// 07'animated-gradient-background':['bg'],'mesh-gradient':['bg'],@@@ -1958,7 -1895,7 +1975,8 @@@ function pvMarkup(k)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 'liquidglass': {const sc=k=>'<span class="sc'+k+'"><b class="sun"></b><b class="city"></b><b class="sea"></b></span>';return sc('')+'<span class="gl anim">'+sc(' anim')+'</span>';}+ case 'holo': return '<span class="hc anim"><i class="cr"></i><i class="fo anim"></i><i class="gl anim"></i><i class="np"></i><i class="ip"></i></span>';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 'flock': return '<span class="fk anim">'+[[0,18,0],[-10,6,-.3],[9,5,-.7],[-20,-5,-1.1],[1,-4,-.5],[17,-8,-.9],[-8,-17,-.2],[10,-20,-1.2],[-1,-29,-.6]].map(function(b){return '<i class="anim" style="--x:'+b[0]+'%;--y:'+b[1]+'%;--d:'+b[2]+'s"></i>';}).join('')+'</span>';diff --cc sitemap.xmlindex 412b6940,b16ad845..e3491603--- a/sitemap.xml+++ b/sitemap.xml@@@ -139,7 -136,7 +139,8 @@@<url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/06-3d-advanced/flocking/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url><url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/06-3d-advanced/ascii-halftone/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url><url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/06-3d-advanced/physics-2d/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/06-3d-advanced/liquid-glass/</loc><lastmod>2026-10-01</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>+ <url><loc>https://matinmonshizadeh.github.io/animation-handbook/animations/06-3d-advanced/holographic-card/</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/animated-gradient-background/</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/mesh-gradient/</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/aurora/</loc><lastmod>2026-07-14</lastmod><changefreq>monthly</changefreq><priority>0.7</priority></url>