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
feat: Color pop previews, region r07a: gradient bands, mesh blobs, film grain, TV scanlines, light leak, dusk starfield, breathing glow, pond ripples, floating shapes, dot grid parallax, turning polygons, dusk constellation and the group picture
matinb0c0f8875544
diff --git a/index.html b/index.htmlindex 6b5b84ef..fb609044 100644--- a/index.html+++ b/index.html@@ -515,6 +515,26 @@ button,input{font:inherit;color:inherit}@keyframes k-flip3d-sh{0%,16%{transform:scaleX(1);opacity:1}30%{transform:scaleX(.35);opacity:.55}44%,66%{transform:scaleX(1);opacity:1}80%{transform:scaleX(.35);opacity:.55}94%,100%{transform:scaleX(1);opacity:1}}/* ── region r06b: end ── *//* ── region r07a: start · 07 Ambient & Background, part A ── */+/* gradbg · Animated Gradient Background: wide soft bands of yellow, cream, orange and coral pink slide slowly back and forth behind a white hero card */+.pv-gradbg .gb{position:absolute;left:0;top:0;width:260cqw;height:100cqh;background:linear-gradient(112deg,var(--g1) 0%,color-mix(in srgb,#fff 62%,var(--g1)) 15%,var(--g2) 34%,color-mix(in srgb,var(--g2) 40%,#ff3d8b) 51%,var(--g2) 68%,color-mix(in srgb,#fff 55%,var(--g1)) 85%,var(--g1) 100%);animation:k-gradbg-pan 6s var(--cp-inout) infinite}+.pv-gradbg .cd{position:absolute;left:26cqw;top:33cqh;width:48cqw;height:46cqh;display:flex;flex-direction:column;justify-content:center;gap:2.3cqh;padding:0 4.6cqw;border-radius:4.6cqh;background:#fff;box-shadow:var(--cp-lift)}+.pv-gradbg .cd b{display:block;flex:none;height:3cqh;border-radius:2cqh;background:var(--cp-ink)}+.pv-gradbg .cd .h1{width:84%}+.pv-gradbg .cd .h2{width:56%}+.pv-gradbg .cd .t1,.pv-gradbg .cd .t2{height:2.4cqh;background:var(--cp-lip)}+.pv-gradbg .cd .t1{width:92%;margin-top:1.2cqh}+.pv-gradbg .cd .t2{width:70%}+.pv-gradbg .cd i{display:block;flex:none;width:15cqw;height:7.4cqh;margin-top:1.4cqh;border-radius:9cqh;background:linear-gradient(150deg,var(--g1),var(--g2))}+@keyframes k-gradbg-pan{0%,100%{transform:translateX(0)}50%{transform:translateX(-160cqw)}}+/* mesh · Mesh Gradient Animation: big soft blobs of white, yellow, pink and raspberry drift and swell on their own paths over the orange and melt into one another */+.pv-mesh{background:var(--g2)}+.pv-mesh .b{position:absolute;border-radius:50%;background:radial-gradient(closest-side,var(--c) 0 40%,color-mix(in srgb,var(--c) 50%,transparent) 66%,transparent);animation:k-mesh-drift var(--t) var(--cp-inout) infinite}+.pv-mesh .b1{left:-30cqw;top:-54cqh;width:80cqw;height:80cqw;--c:var(--g1);--t:6s;--x1:14cqw;--y1:18cqh;--x2:24cqw;--y2:4cqh;--s:1.12}+.pv-mesh .b2{left:54cqw;top:-44cqh;width:60cqw;height:60cqw;--c:#fff;--t:7.2s;--x1:-16cqw;--y1:16cqh;--x2:-4cqw;--y2:26cqh;--s:.85}+.pv-mesh .b3{left:40cqw;top:23cqh;width:64cqw;height:64cqw;--c:color-mix(in srgb,#fff 25%,#ff5c9a);--t:6.6s;--x1:-20cqw;--y1:-12cqh;--x2:-8cqw;--y2:-24cqh;--s:1.15}+.pv-mesh .b4{left:-17cqw;top:39cqh;width:66cqw;height:66cqw;--c:color-mix(in srgb,var(--g2) 25%,#d6246e);--t:7.8s;--x1:18cqw;--y1:-14cqh;--x2:30cqw;--y2:2cqh;--s:.9}+.pv-mesh .b5{left:76cqw;top:68cqh;width:40cqw;height:40cqw;--c:color-mix(in srgb,#fff 40%,var(--g1));--t:5.4s;--x1:-14cqw;--y1:-20cqh;--x2:-24cqw;--y2:-6cqh;--s:1.2}+@keyframes k-mesh-drift{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(var(--x1),var(--y1)) scale(var(--s))}66%{transform:translate(var(--x2),var(--y2)) scale(1)}}/* aurora · Aurora / Northern Lights (approved): on the dusk sky, three soft ribbons of light sway and stretch over ink hills while stars twinkle */.pv-aurora{background:var(--cp-dusk)}.pv-aurora .st{position:absolute;inset:0;background:radial-gradient(circle at 12% 18%,#fff 0 .35cqh,transparent .6cqh),radial-gradient(circle at 27% 8%,#fff 0 .3cqh,transparent .55cqh),radial-gradient(circle at 46% 22%,#fff 0 .3cqh,transparent .55cqh),radial-gradient(circle at 64% 10%,#fff 0 .4cqh,transparent .65cqh),radial-gradient(circle at 81% 26%,#fff 0 .3cqh,transparent .55cqh),radial-gradient(circle at 90% 9%,#fff 0 .35cqh,transparent .6cqh),radial-gradient(circle at 36% 38%,#fff 0 .25cqh,transparent .5cqh),radial-gradient(circle at 73% 42%,#fff 0 .25cqh,transparent .5cqh);animation:k-aurora-tw 3.6s ease-in-out infinite}@@ -526,6 +546,149 @@ button,input{font:inherit;color:inherit}.pv-aurora .hz{position:absolute;left:0;right:0;bottom:0;height:27%;background:var(--cp-ink);clip-path:polygon(0 58%,8% 40%,16% 54%,26% 22%,36% 46%,47% 30%,57% 52%,67% 34%,77% 54%,86% 26%,94% 44%,100% 32%,100% 100%,0 100%)}@keyframes k-aurora-rib{0%,100%{transform:translateX(-7%) scaleY(.8)}50%{transform:translateX(7%) scaleY(1.2)}}@keyframes k-aurora-tw{0%,100%{opacity:.85}50%{opacity:.35}}+/* grain2 · Grain / Film Noise Overlay: an ink film strip with sprocket holes and three frames of the picture; fine white and ink grain jumps to new dots many times a second and the middle frame flickers */+.pv-grain2 .fs{position:absolute;left:-3cqw;right:-3cqw;top:25cqh;height:66cqh;background:var(--cp-ink);box-shadow:0 3.6cqh 6cqh color-mix(in srgb,var(--cp-sh) 45%,transparent)}+.pv-grain2 .row{position:absolute;left:0;right:0;top:3cqh;display:flex;justify-content:space-between;padding:0 1.2cqw}+.pv-grain2 .row.rb{top:auto;bottom:3cqh}+.pv-grain2 .row i{width:3.6cqw;height:4cqh;border-radius:1.1cqh;background:rgba(255,255,255,.7)}+.pv-grain2 .fr{position:absolute;top:11cqh;width:40cqw;height:44cqh;border-radius:1.8cqh;overflow:hidden;background:linear-gradient(170deg,var(--g1),var(--g2))}+.pv-grain2 .f0{left:-10cqw}.pv-grain2 .f1{left:33cqw}.pv-grain2 .f2{left:76cqw}+.pv-grain2 .sun{position:absolute;right:20%;top:var(--y,20%);width:12cqh;height:12cqh;border-radius:50%;background:#fff}+.pv-grain2 .f0 .sun{--y:30%}.pv-grain2 .f2 .sun{--y:10%}+.pv-grain2 .hill{position:absolute;left:-25%;right:-25%;bottom:-48%;height:88%;border-radius:50%;background:var(--cp-ink)}+.pv-grain2 .fl{position:absolute;inset:0;background:#fff;opacity:0;animation:k-grain2-flick 1.5s steps(1,end) infinite}+.pv-grain2 .gn{position:absolute;inset:-14cqh -9cqw;opacity:.85;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cfilter id='g' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .14 6 0 0 0 -3.6'/%3E%3C/filter%3E%3Crect width='48' height='48' filter='url(%23g)'/%3E%3C/svg%3E") 0 0/32cqh 32cqh,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cfilter id='g' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 6 0 0 -3.7'/%3E%3C/filter%3E%3Crect width='48' height='48' filter='url(%23g)'/%3E%3C/svg%3E") 0 0/32cqh 32cqh;animation:k-grain2-jump .5s steps(1,end) infinite}+@keyframes k-grain2-jump{0%{transform:translate(0,0)}20%{transform:translate(-9.4cqh,5.7cqh)}40%{transform:translate(4.3cqh,-11.1cqh)}60%{transform:translate(-6.1cqh,-3.9cqh)}80%{transform:translate(10.3cqh,8.3cqh)}}+@keyframes k-grain2-flick{0%{opacity:0}14%{opacity:.1}26%{opacity:.03}40%{opacity:.14}52%{opacity:0}66%{opacity:.08}80%{opacity:.02}90%{opacity:.12}}+/* scan · Scanline Effect: the stage is an old TV screen in an ink bezel: dark lines run across the picture, a soft band of light sweeps down, the curved glass darkens the corners */+.pv-scan{background:var(--cp-ink)}+.pv-scan .sc{position:absolute;inset:6cqh 4.5cqw;border-radius:7cqw/11cqh;overflow:hidden;background:linear-gradient(170deg,var(--g1),var(--g2))}+.pv-scan .sun{position:absolute;left:58%;top:18%;width:22cqh;height:22cqh;border-radius:50%;background:#fff;box-shadow:0 0 0 3cqh rgba(255,255,255,.25)}+.pv-scan .hill{position:absolute;left:-34%;right:18%;bottom:-78%;height:120%;border-radius:50%;background:var(--cp-ink)}+.pv-scan .h2{position:absolute;left:40%;right:-34%;bottom:-84%;height:112%;border-radius:50%;background:color-mix(in srgb,var(--g2) 40%,#3a1250)}+.pv-scan .ln{position:absolute;inset:0;background:repeating-linear-gradient(180deg,transparent 0 1.5cqh,rgba(28,26,36,.4) 1.5cqh 2.8cqh)}+.pv-scan .bm{position:absolute;left:0;right:0;top:-34cqh;height:34cqh;background:linear-gradient(180deg,transparent,rgba(255,255,255,.55) 55%,rgba(255,255,255,.75) 62%,transparent);animation:k-scan-beam 3.2s linear infinite}+.pv-scan .vg{position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 .7cqh rgba(255,255,255,.16),inset 0 0 9cqh 1cqh rgba(28,26,36,.6)}+@keyframes k-scan-beam{0%{transform:translateY(0)}100%{transform:translateY(134cqh)}}+/* leak · Light Leak: a white photo on the stage; warm light washes in from the top right corner and fades, then a fainter leak spills in from the bottom left after an uneven gap */+.pv-leak .ph{position:absolute;left:33cqw;top:23cqh;width:34cqw;height:66cqh;padding:2.4cqh 2.4cqh 10cqh;border-radius:2.4cqh;background:#fff;box-shadow:var(--cp-lift);rotate:-6deg}+.pv-leak .pc{position:relative;display:block;width:100%;height:100%;border-radius:1.6cqh;overflow:hidden;background:linear-gradient(170deg,var(--g1),var(--g2))}+.pv-leak .sun{position:absolute;right:18%;top:16%;width:13cqh;height:13cqh;border-radius:50%;background:#fff}+.pv-leak .hill{position:absolute;left:-30%;right:-30%;bottom:-44%;height:84%;border-radius:50%;background:var(--cp-ink)}+.pv-leak .lk{position:absolute;border-radius:50%;opacity:0}+.pv-leak .l1{left:19cqw;top:-116cqh;width:150cqw;height:150cqw;background:radial-gradient(closest-side,#fff 0 4%,color-mix(in srgb,#fff 40%,var(--g1)) 15%,color-mix(in srgb,var(--g2) 75%,#ff4a3d) 31%,color-mix(in srgb,#ff3d5a 72%,transparent) 47%,color-mix(in srgb,#ff3d5a 26%,transparent) 60%,transparent 72%);animation:k-leak-a 6s var(--cp-inout) infinite}+.pv-leak .l2{left:-48cqw;top:18cqh;width:100cqw;height:100cqw;background:radial-gradient(closest-side,#fff 0 4%,color-mix(in srgb,#fff 40%,var(--g1)) 16%,color-mix(in srgb,var(--g2) 75%,#ff4a3d) 32%,color-mix(in srgb,#ff3d5a 62%,transparent) 48%,transparent 72%);animation:k-leak-b 6s var(--cp-inout) infinite}+@keyframes k-leak-a{0%,6%{opacity:0;transform:scale(.55)}26%,34%{opacity:1;transform:scale(1)}52%,100%{opacity:0;transform:scale(1.1)}}+@keyframes k-leak-b{0%,70%{opacity:0;transform:scale(.6)}80%,84%{opacity:.7;transform:scale(1)}96%,100%{opacity:0;transform:scale(1.08)}}+/* glow · Breathing / Pulsing Glow: a white button with an ink sparkle rests in the middle while two soft white glows behind it slowly swell and fade, like calm breathing */+.pv-glow .gw{position:absolute;left:50%;top:54%;width:104cqh;height:104cqh;margin:-52cqh 0 0 -52cqh;border-radius:50%;background:radial-gradient(closest-side,#fff 0 24%,rgba(255,255,255,.66) 44%,rgba(255,255,255,.24) 68%,transparent);animation:k-glow-breathe 5s ease-in-out infinite}+.pv-glow .g2{width:136cqh;height:136cqh;margin:-68cqh 0 0 -68cqh;background:radial-gradient(closest-side,rgba(255,255,255,.5),rgba(255,255,255,.16) 60%,transparent);animation-delay:-.9s}+.pv-glow .orb{position:absolute;left:50%;top:54%;width:34cqh;height:34cqh;margin:-17cqh 0 0 -17cqh;border-radius:50%;background:#fff;box-shadow:var(--cp-lift);animation:k-glow-orb 5s ease-in-out infinite}+.pv-glow .orb::after{content:"";position:absolute;inset:25%;background:var(--cp-ink);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%)}+@keyframes k-glow-breathe{0%,100%{transform:scale(.5);opacity:.45}50%{transform:scale(1.15);opacity:1}}+@keyframes k-glow-orb{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}+/* aripple · Ambient Ripple Effect: white rings spread from three spots and fade, each spot at its own uneven pace, like drops on a still pond */+.pv-aripple .src{position:absolute;width:0;height:0}+.pv-aripple .s1{left:28cqw;top:64cqh}+.pv-aripple .s2{left:66cqw;top:40cqh}+.pv-aripple .s3{left:82cqw;top:80cqh}+.pv-aripple .src::before{content:"";position:absolute;left:-1.7cqh;top:-1.7cqh;width:3.4cqh;height:3.4cqh;border-radius:50%;background:#fff;box-shadow:0 .6cqh 0 var(--cp-lip)}+.pv-aripple .src i{position:absolute;left:-30cqh;top:-30cqh;width:60cqh;height:60cqh;border-radius:50%;border:2.3cqh solid #fff;opacity:0;animation:k-aripple-ring 3.2s var(--cp-ease) infinite}+.pv-aripple .src i+i{animation-delay:-1.6s}+.pv-aripple .s2 i{animation-duration:3.8s;animation-delay:-.5s}+.pv-aripple .s2 i+i{animation-delay:-2.4s}+.pv-aripple .s3 i{animation-duration:3.5s;animation-delay:-1.1s}+.pv-aripple .s3 i+i{animation-delay:-2.9s}+@keyframes k-aripple-ring{0%{transform:scale(.06);opacity:0}8%{opacity:1}55%{opacity:.85}100%{transform:scale(1);opacity:0}}+/* floaters · Floating Elements: chunky white, ink and see-through shapes drift on their own slow loops and turn, never in step */+.pv-floaters i{position:absolute;animation:k-floaters-drift var(--t) ease-in-out infinite}+.pv-floaters .a{left:8cqw;top:52cqh;width:17cqh;height:17cqh;border-radius:50%;background:#fff;box-shadow:0 1.2cqh 0 var(--cp-lip);--t:6.4s;--x1:4cqw;--y1:-7cqh;--x2:9cqw;--y2:1cqh;--x3:3cqw;--y3:7cqh;--r:0deg}+.pv-floaters .b{left:60cqw;top:20cqh;width:14cqh;height:14cqh;border-radius:3.6cqh;background:var(--cp-ink);--t:7.2s;--x1:-5cqw;--y1:6cqh;--x2:-9cqw;--y2:-1cqh;--x3:-3cqw;--y3:-5cqh;--r:40deg}+.pv-floaters .c{left:74cqw;top:44cqh;width:22cqh;height:22cqh;border-radius:50%;border:2.6cqh solid #fff;--t:5.8s;--x1:-4cqw;--y1:-8cqh;--x2:2cqw;--y2:-12cqh;--x3:5cqw;--y3:-3cqh;--r:0deg}+.pv-floaters .d{left:28cqw;top:60cqh;width:28cqh;height:28cqh;border-radius:50%;background:rgba(255,255,255,.45);--t:8s;--x1:6cqw;--y1:-5cqh;--x2:11cqw;--y2:3cqh;--x3:4cqw;--y3:7cqh;--r:0deg}+.pv-floaters .e{left:42cqw;top:26cqh;width:19cqh;height:19cqh;background:#fff;clip-path:polygon(50% 6%,96% 88%,4% 88%);--t:6.8s;--x1:5cqw;--y1:5cqh;--x2:1cqw;--y2:11cqh;--x3:-4cqw;--y3:4cqh;--r:60deg}+.pv-floaters .f{left:88cqw;top:20cqh;width:6.4cqh;height:6.4cqh;border-radius:50%;background:var(--cp-ink);--t:5.2s;--x1:-3cqw;--y1:6cqh;--x2:-6cqw;--y2:2cqh;--x3:-2cqw;--y3:-4cqh;--r:0deg}+.pv-floaters .g{left:54cqw;top:76cqh;width:17cqw;height:7cqh;border-radius:3.5cqh;background:#fff;box-shadow:0 1cqh 0 var(--cp-lip);--t:7.6s;--x1:-6cqw;--y1:-4cqh;--x2:-10cqw;--y2:1cqh;--x3:-4cqw;--y3:4cqh;--r:-24deg}+.pv-floaters .h{left:22cqw;top:30cqh;width:13cqh;height:13cqh;background:rgba(255,255,255,.8);clip-path:polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%);--t:6s;--x1:3cqw;--y1:6cqh;--x2:-2cqw;--y2:10cqh;--x3:-4cqw;--y3:3cqh;--r:90deg}+.pv-floaters .i{left:86cqw;top:76cqh;width:11cqh;height:11cqh;border-radius:50%;border:1.8cqh solid var(--cp-ink);--t:6.6s;--x1:-4cqw;--y1:-5cqh;--x2:-7cqw;--y2:1cqh;--x3:-2cqw;--y3:5cqh;--r:0deg}+@keyframes k-floaters-drift{0%,100%{transform:translate(0,0) rotate(0deg)}25%{transform:translate(var(--x1),var(--y1)) rotate(var(--r))}50%{transform:translate(var(--x2),var(--y2)) rotate(calc(var(--r) * 2))}75%{transform:translate(var(--x3),var(--y3)) rotate(var(--r))}}+/* dotgrid · Grid / Dot Pattern Parallax: the fingertip glides around an ink window and the white dot grid behind it shifts the other way, with a soft light under the pointer */+.pv-dotgrid .gd{position:absolute;inset:-8cqh -6cqw;background:radial-gradient(circle,rgba(255,255,255,.9) 0 1cqh,transparent 1.3cqh) 0 0/12cqh 12cqh;animation:k-dotgrid-grid 5.6s var(--cp-inout) infinite}+.pv-dotgrid .lt{position:absolute;left:50cqw;top:54cqh;width:50cqh;height:50cqh;margin:-25cqh 0 0 -25cqh;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.6),rgba(255,255,255,.2) 55%,transparent);animation:k-dotgrid-tip 5.6s var(--cp-inout) infinite}+.pv-dotgrid .win{position:absolute;left:31cqw;top:36cqh;width:38cqw;height:36cqh;display:flex;flex-direction:column;gap:2.4cqh;padding:3.6cqh 3.4cqw;border-radius:4cqh;background:var(--cp-ink);box-shadow:0 1.3cqh 0 #000,0 3.6cqh 6cqh color-mix(in srgb,var(--cp-sh) 40%,transparent)}+.pv-dotgrid .win s{display:flex;gap:1.2cqw;margin-bottom:.6cqh}+.pv-dotgrid .win s i{width:2.6cqh;height:2.6cqh;border-radius:50%;background:rgba(255,255,255,.4)}+.pv-dotgrid .win b{display:block;height:2.6cqh;border-radius:2cqh;background:#fff}+.pv-dotgrid .win .w1{width:78%}+.pv-dotgrid .win .w2{width:52%;background:linear-gradient(90deg,var(--g1),var(--g2))}+.pv-dotgrid .win .w3{width:64%;background:rgba(255,255,255,.4)}+.pv-dotgrid .tip{position:absolute;left:50cqw;top:54cqh;width:7.2cqh;height:7.2cqh;margin:-3.6cqh 0 0 -3.6cqh;border-radius:50%;background:var(--cp-ink);box-shadow:var(--cp-tip);animation:k-dotgrid-tip 5.6s var(--cp-inout) infinite}+@keyframes k-dotgrid-tip{0%{transform:translate(42cqw,44cqh);opacity:0}8%{opacity:1}16%{transform:translate(26cqw,22cqh)}40%{transform:translate(-28cqw,20cqh)}62%{transform:translate(-18cqw,-22cqh)}84%{transform:translate(24cqw,-20cqh);opacity:1}100%{transform:translate(42cqw,40cqh);opacity:0}}+@keyframes k-dotgrid-grid{0%{transform:translate(0,0)}16%{transform:translate(-3.1cqw,-2.6cqh)}40%{transform:translate(3.4cqw,-2.4cqh)}62%{transform:translate(2.2cqw,2.6cqh)}84%{transform:translate(-2.9cqw,2.4cqh)}100%{transform:translate(0,0)}}+/* geo · Abstract Geometric Motion: nested polygons, from an ink triangle out to a faint heptagon, turn slowly in alternate directions around one center */+.pv-geo .gm{position:absolute;inset:0;width:100%;height:100%;overflow:visible}+.pv-geo polygon{fill:none;stroke:#fff;stroke-width:2.2;stroke-linejoin:round;transform-box:view-box;transform-origin:55% 58%;animation:k-geo-turn 6s linear infinite}+.pv-geo .p1{fill:var(--cp-ink);stroke:var(--cp-ink);--a:120deg}+.pv-geo .p2{stroke-width:2.6;--a:-90deg}+.pv-geo .p3{stroke:var(--cp-ink);--a:144deg}+.pv-geo .p4{--a:-120deg}+.pv-geo .p5{stroke:rgba(255,255,255,.55);stroke-width:1.8;--a:154.29deg}+@keyframes k-geo-turn{0%{transform:rotate(0deg)}100%{transform:rotate(var(--a))}}+/* constell · Particle Constellation: on the dusk sky, white dots drift in loose groups; a line joins two dots while they are close and fades as they pull apart, so the network keeps forming and breaking */+.pv-constell{background:var(--cp-dusk)}+.pv-constell .cl,.pv-constell .fd{position:absolute;width:0;height:0;animation:k-constell-drift var(--t) var(--cp-inout) infinite}+.pv-constell .c1{left:30cqw;top:62cqh;--x:3cqw;--y:-4cqh;--t:7.4s}+.pv-constell .c2{left:68cqw;top:42cqh;--x:-3cqw;--y:5cqh;--t:6.8s}+.pv-constell .c3{left:85cqw;top:78cqh;--x:-4cqw;--y:-3cqh;--t:8s}+.pv-constell .c4{left:50cqw;top:32cqh;--x:4cqw;--y:3cqh;--t:7.8s}+.pv-constell .c5{left:12cqw;top:50cqh;--x:3cqw;--y:5cqh;--t:6.4s}+.pv-constell .fd{--t:6.2s}+.pv-constell .d1{left:50cqw;top:86cqh;--x:6cqw;--y:-4cqh}+.pv-constell .d2{left:91cqw;top:24cqh;--x:-4cqw;--y:6cqh;--t:7s}+.pv-constell .d3{left:10cqw;top:84cqh;--x:4cqw;--y:-5cqh;--t:5.6s}+.pv-constell .d4{left:41cqw;top:50cqh;--x:-3cqw;--y:4cqh;--t:6.8s}+.pv-constell .sp{position:absolute;left:0;top:0;width:0;height:0;animation:k-constell-turn var(--tr) ease-in-out infinite}+.pv-constell .ln{position:absolute;left:0;top:-.6cqh;width:10cqh;height:1.2cqh;border-radius:1cqh;background:rgba(255,255,255,.8);transform-origin:0 50%;animation:k-constell-len var(--tl) ease-in-out infinite}+.pv-constell .dt,.pv-constell .hub,.pv-constell .fd::before{position:absolute;left:-2.1cqh;top:-2.1cqh;width:4.2cqh;height:4.2cqh;border-radius:50%;background:#fff;box-shadow:0 0 0 1.1cqh rgba(255,255,255,.16)}+.pv-constell .fd::before{content:""}+.pv-constell .dt{animation:k-constell-dot var(--tl) ease-in-out infinite}+.pv-constell .hub{left:-2.8cqh;top:-2.8cqh;width:5.6cqh;height:5.6cqh;box-shadow:0 0 0 1.4cqh rgba(255,255,255,.2)}+.pv-constell .s1{--a0:-150deg;--a1:-112deg;--l0:1.2;--l1:2.6;--tl:5.2s;--tr:7s}+.pv-constell .s2{--a0:20deg;--a1:58deg;--l0:1.1;--l1:2.3;--o1:.35;--tl:4.6s;--tr:6.2s}+.pv-constell .s3{--a0:160deg;--a1:204deg;--l0:2.4;--l1:1.1;--o0:0;--o1:1;--tl:5.8s;--tr:6.6s}+.pv-constell .s4{--a0:-62deg;--a1:-22deg;--l0:1.2;--l1:2.6;--tl:4.8s;--tr:7.4s}+.pv-constell .s5{--a0:104deg;--a1:140deg;--l0:2.5;--l1:1.2;--o0:0;--o1:1;--tl:5.4s;--tr:6s}+.pv-constell .s6{--a0:172deg;--a1:212deg;--l0:1.1;--l1:2.1;--o1:.3;--tl:6.2s;--tr:5.2s}+.pv-constell .s7{--a0:196deg;--a1:236deg;--l0:1.2;--l1:2.5;--tl:5s;--tr:6.8s}+.pv-constell .s8{--a0:-104deg;--a1:-66deg;--l0:2.3;--l1:1.1;--o0:0;--o1:1;--tl:4.4s;--tr:5.6s}+.pv-constell .s9{--a0:150deg;--a1:188deg;--l0:1.2;--l1:2.4;--tl:5.6s;--tr:6.4s}+.pv-constell .s10{--a0:28deg;--a1:66deg;--l0:2.4;--l1:1.1;--o0:0;--o1:1;--tl:4.9s;--tr:7.2s}+.pv-constell .s11{--a0:-28deg;--a1:14deg;--l0:1.1;--l1:2.2;--o1:.3;--tl:5.1s;--tr:6.6s}+@keyframes k-constell-drift{0%,100%{transform:translate(0,0)}50%{transform:translate(var(--x),var(--y))}}+@keyframes k-constell-turn{0%,100%{transform:rotate(var(--a0))}50%{transform:rotate(var(--a1))}}+@keyframes k-constell-len{0%,100%{transform:scaleX(var(--l0));opacity:var(--o0,1)}50%{transform:scaleX(var(--l1));opacity:var(--o1,0)}}+@keyframes k-constell-dot{0%,100%{transform:translateX(calc(var(--l0) * 10cqh))}50%{transform:translateX(calc(var(--l1) * 10cqh))}}+/* starfield · Starfield / Space Particles: on the dusk sky, white stars stream out of a soft glow in the middle, growing and leaving short trails as they near the edge (drawn by starfield() on a clear canvas) */+.pv-starfield{background:var(--cp-dusk)}+.pv-starfield .vp{position:absolute;left:50%;top:50%;width:70cqh;height:70cqh;margin:-35cqh 0 0 -35cqh;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.34),rgba(255,255,255,.1) 55%,transparent);animation:k-starfield-glow 4s ease-in-out infinite}+@keyframes k-starfield-glow{0%,100%{transform:scale(.85);opacity:.7}50%{transform:scale(1.1);opacity:1}}+/* sig7 · Ambient & Background (the group's picture): a calm day sky where white clouds drift past at their own speeds, the sun's halo breathes and small sparkles twinkle */+.pv-sig7 .sun{position:absolute;left:58cqw;top:26cqh;width:28cqh;height:28cqh;border-radius:50%;background:#fff;box-shadow:0 1.3cqh 0 var(--cp-lip)}+.pv-sig7 .hal{position:absolute;left:calc(58cqw - 9cqh);top:17cqh;width:46cqh;height:46cqh;border-radius:50%;background:rgba(255,255,255,.3);animation:k-sig7-halo 4.8s ease-in-out infinite}+.pv-sig7 .cld{position:absolute;left:0;width:30cqw;height:11cqh;border-radius:6cqh;background:#fff;box-shadow:var(--cp-lift);animation:k-sig7-drift var(--t) linear infinite;animation-delay:var(--d)}+.pv-sig7 .cld::before,.pv-sig7 .cld::after{content:"";position:absolute;bottom:40%;border-radius:50%;background:#fff}+.pv-sig7 .cld::before{left:16%;width:13cqh;height:13cqh}+.pv-sig7 .cld::after{left:44%;width:18cqh;height:18cqh}+.pv-sig7 .k1{top:62cqh;--t:9s;--d:-.6s}+.pv-sig7 .k2{top:38cqh;width:22cqw;height:8cqh;opacity:.75;--t:12s;--d:-2.3s}+.pv-sig7 .k3{top:78cqh;width:24cqw;height:9cqh;--t:10.5s;--d:-4.75s}+.pv-sig7 .tw{position:absolute;width:8cqh;height:8cqh;background:#fff;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:k-sig7-tw 2.4s ease-in-out infinite}+.pv-sig7 .t1{left:46cqw;top:30cqh}+.pv-sig7 .t2{left:88cqw;top:22cqh;animation-delay:-.8s}+.pv-sig7 .t3{left:20cqw;top:42cqh;animation-delay:-1.6s}+@keyframes k-sig7-drift{0%{transform:translateX(-34cqw)}100%{transform:translateX(104cqw)}}+@keyframes k-sig7-halo{0%,100%{transform:scale(.85);opacity:.6}50%{transform:scale(1.08);opacity:1}}+@keyframes k-sig7-tw{0%,100%{transform:scale(.4) rotate(0deg);opacity:.3}50%{transform:scale(1) rotate(45deg);opacity:1}}/* ── region r07a: end ── *//* ── region r07b: start · 07 Ambient & Background, part B ── *//* ── region r07b: end ── */@@ -1670,20 +1833,20 @@ function pvMarkup(k){case 'audioviz': return '';// ── region r06b: end ──// ── region r07a: start ──- case 'sig7': return '';- case 'gradbg': return '';- case 'mesh': return '';+ case 'sig7': return '<span class="hal anim"></span><span class="sun"></span>'+[1,2,3].map(k=>'<span class="cld k'+k+' anim"></span>').join('')+[1,2,3].map(k=>'<i class="tw t'+k+' anim"></i>').join('');+ case 'gradbg': return '<span class="gb anim"></span><span class="cd"><b class="h1"></b><b class="h2"></b><b class="t1"></b><b class="t2"></b><i></i></span>';+ case 'mesh': return [1,2,3,4,5].map(k=>'<i class="b b'+k+' anim"></i>').join('');case 'aurora': return '<span class="st anim"></span><svg class="rb" viewBox="0 0 160 100" preserveAspectRatio="none"><path class="r1 anim" d="M-30 46C14 18 50 66 90 38S146 18 190 40"/><path class="r2 anim" d="M-30 30C18 54 56 12 96 30S150 50 190 24"/><path class="r3 anim" d="M-30 58C22 36 58 74 98 52S152 36 190 56"/></svg><span class="hz"></span>';- case 'grain2': return '';- case 'scan': return '';- case 'leak': return '';- case 'starfield': return '';- case 'glow': return '';- case 'aripple': return '';- case 'floaters': return '';- case 'dotgrid': return '';- case 'geo': return '';- case 'constell': return '';+ case 'grain2': return '<span class="fs"><span class="row">'+'<i></i>'.repeat(14)+'</span><span class="row rb">'+'<i></i>'.repeat(14)+'</span>'+[0,1,2].map(k=>'<i class="fr f'+k+'"><b class="sun"></b><b class="hill"></b>'+(k===1?'<b class="fl anim"></b>':'')+'</i>').join('')+'</span><span class="gn anim"></span>';+ case 'scan': return '<span class="sc"><b class="sun"></b><b class="h2"></b><b class="hill"></b><b class="ln"></b><b class="bm anim"></b><b class="vg"></b></span>';+ case 'leak': return '<span class="ph"><i class="pc"><b class="sun"></b><b class="hill"></b></i></span><span class="lk l1 anim"></span><span class="lk l2 anim"></span>';+ case 'starfield': return '<span class="vp anim"></span>';+ case 'glow': return '<span class="gw g2 anim"></span><span class="gw anim"></span><span class="orb anim"></span>';+ case 'aripple': return [1,2,3].map(k=>'<span class="src s'+k+'"><i class="anim"></i><i class="anim"></i></span>').join('');+ case 'floaters': return [...'dahgecbfi'].map(c=>'<i class="'+c+' anim"></i>').join('');+ case 'dotgrid': return '<span class="gd anim"></span><span class="lt anim"></span><span class="win"><s><i></i><i></i><i></i></s><b class="w1"></b><b class="w2"></b><b class="w3"></b></span><span class="tip anim"></span>';+ case 'geo': return '<svg class="gm" viewBox="0 0 160 100">'+[[3,11],[4,18],[5,25],[6,32],[7,39]].map(([n,r],k)=>'<polygon class="p'+(k+1)+' anim" points="'+Array.from({length:n},(_,i)=>{const a=-Math.PI/2+i*2*Math.PI/n;return (88+r*Math.cos(a)).toFixed(1)+','+(58+r*Math.sin(a)).toFixed(1);}).join(' ')+'"/>').join('')+'</svg>';+ case 'constell': return [[1,1,3],[2,4,6],[3,7,8],[4,9,10],[5,11,11]].map(([c,a,b])=>'<span class="cl c'+c+' anim">'+Array.from({length:b-a+1},(_,i)=>'<span class="sp s'+(a+i)+' anim"><i class="ln anim"></i><b class="dt anim"></b></span>').join('')+'<b class="hub"></b></span>').join('')+[1,2,3,4].map(k=>'<b class="fd d'+k+' anim"></b>').join('');// ── region r07a: end ──// ── region r07b: start ──case 'flow': return '';@@ -1714,16 +1877,21 @@ function starfield(pv){let w,h,stars,raf=null,last=null,fa=0,cs=0;function size(){const r=pv.getBoundingClientRect();w=c.width=r.width*devicePixelRatio;h=c.height=r.height*devicePixelRatio;stars=Array.from({length:90},()=>({x:(Math.random()-.5)*w,y:(Math.random()-.5)*h,z:Math.random()*w}));draw(false);}+ // The canvas stays clear, so the dusk sky of .pv-starfield shows through: each wash takes 35% of what is drawn away+ // (destination-out) instead of painting a dark color over it, and the trails fade into the sky.function draw(advance,steps){if(advance){if(!steps)return;const whole=Math.max(1,Math.round(steps));fa+=Math.abs(steps-whole)<.05?whole:steps;const nf=Math.round(fa+.05);if(!nf){cs+=steps;return;}- fa-=nf;steps+=cs;cs=0;ctx.fillStyle='rgba(4,5,12,.35)';for(let i=0;i<nf;i++)ctx.fillRect(0,0,w,h);}- else{ctx.fillStyle='#04050c';ctx.fillRect(0,0,w,h);}- ctx.save();ctx.translate(w/2,h/2);- for(const s of stars){if(advance){s.z-=w*.004*steps;if(s.z<1){s.z=w;s.x=(Math.random()-.5)*w;s.y=(Math.random()-.5)*h;}}- const k=128/s.z,x=s.x*k,y=s.y*k,size=(1-s.z/w)*2.4*devicePixelRatio;- ctx.fillStyle='rgba(200,210,230,'+(1-s.z/w)+')';ctx.beginPath();ctx.arc(x,y,Math.max(size,.4),0,7);ctx.fill();}+ fa-=nf;steps+=cs;cs=0;ctx.globalCompositeOperation='destination-out';ctx.fillStyle='rgba(0,0,0,.35)';for(let i=0;i<nf;i++)ctx.fillRect(0,0,w,h);ctx.globalCompositeOperation='source-over';}+ else ctx.clearRect(0,0,w,h);+ ctx.save();ctx.translate(w/2,h/2);ctx.fillStyle=ctx.strokeStyle='#fff';ctx.lineCap='round';+ // a star that moved is drawn as a stroke from where it was to where it is, so its trail has no gaps; a new one is a dot+ for(const s of stars){const k0=128/s.z,x0=s.x*k0,y0=s.y*k0;let moved=false;+ if(advance){s.z-=w*.004*steps;moved=true;if(s.z<1){s.z=w;s.x=(Math.random()-.5)*w;s.y=(Math.random()-.5)*h;moved=false;}}+ const k=128/s.z,x=s.x*k,y=s.y*k,near=1-s.z/w,size=Math.max(near*3.2,.6)*devicePixelRatio;+ ctx.globalAlpha=Math.min(1,.3+near);ctx.beginPath();+ if(moved){ctx.lineWidth=size*2;ctx.moveTo(x0,y0);ctx.lineTo(x,y);ctx.stroke();}else{ctx.arc(x,y,size,0,7);ctx.fill();}}ctx.restore();}function frame(ts){const steps=last==null?0:Math.min(ts-last,50)/FRAME;last=ts;draw(true,steps);raf=requestAnimationFrame(frame);}@@ -1881,6 +2049,7 @@ const STILL={flip3d:.27,// ── region r06b: end ──// ── region r07a: start ──+ leak:.3,// ── region r07a: end ──// ── region r07b: start ──// ── region r07b: end ──