Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat: enhance visual depth with new parallax layers and update gallery layout

nirholasd136b13762c1
diff --git a/public/features/features.css b/public/features/features.css
index c812d0ebd..22ff03bba 100644
--- a/public/features/features.css
+++ b/public/features/features.css
@@ -18,7 +18,7 @@
:root {
--features-perspective: 2.4rem;
- --features-act-height: 140vh;
+ --features-act-height: 210vh;
--features-content-pad: clamp(1rem, 4vw, 3rem);
--features-bg: #06070b;
--features-fg: #f1efe9;
@@ -108,10 +108,96 @@
.layer-stars-canvas {
position: absolute;
- inset: 0;
+ left: 0;
+ top: 0;
width: 100%;
- height: 100%;
+ height: 200%; /* drawn double-tall so drift animation loops seamlessly */
+ pointer-events: none;
+ animation: star-drift 120s linear infinite;
+}
+
+@keyframes star-drift {
+ from { transform: translateY(0); }
+ to { transform: translateY(-50%); }
+}
+
+/* ── Foreground vignette layer (depth 0.5 — fastest moving, creates depth) ── */
+
+.layer-vignette {
+ position: absolute;
+ inset: 0;
+ background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(6, 7, 11, 0.72) 100%);
+ pointer-events: none;
+}
+
+/* ── Act warp transition zone ───────────────────────────────────────────── */
+
+.act-warp {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 28vh;
pointer-events: none;
+ z-index: 25;
+}
+
+.act-warp--gold {
+ background: linear-gradient(to bottom, rgba(6, 7, 11, 1) 0%, rgba(255, 215, 106, 0.04) 60%, transparent 100%);
+}
+
+.act-warp--violet {
+ background: linear-gradient(to bottom, rgba(6, 7, 11, 1) 0%, rgba(167, 139, 250, 0.04) 60%, transparent 100%);
+}
+
+.act-warp--mint {
+ background: linear-gradient(to bottom, rgba(6, 7, 11, 1) 0%, rgba(110, 231, 183, 0.04) 60%, transparent 100%);
+}
+
+/* ── Section progress dots (fixed right rail) ───────────────────────────── */
+
+.act-nav {
+ position: fixed;
+ right: 1.5rem;
+ top: 50%;
+ transform: translateY(-50%);
+ z-index: 100;
+ display: flex;
+ flex-direction: column;
+ gap: 0.75rem;
+}
+
+.act-dot {
+ display: block;
+ width: 7px;
+ height: 7px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.22);
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
+ text-decoration: none;
+}
+
+.act-dot[data-active='true'] {
+ background: #fff;
+ border-color: #fff;
+ transform: scale(1.35);
+}
+
+.parallax-act[data-act='1'] ~ * .act-dot[data-act='1'],
+.act-dot[data-act='1'][data-active='true'] {
+ background: var(--features-gold);
+ border-color: var(--features-gold);
+}
+
+.act-dot[data-act='2'][data-active='true'] {
+ background: var(--features-violet);
+ border-color: var(--features-violet);
+}
+
+.act-dot[data-act='3'][data-active='true'] {
+ background: var(--features-mint);
+ border-color: var(--features-mint);
}
/* ── Perspective grid SVG (Act 1 mid layer) ─────────────────────────────── */
@@ -701,6 +787,8 @@
/* ── Responsive: narrow viewports collapse to flat layout ───────────────── */
@media (max-width: 768px) {
+ .act-nav { display: none; }
+
.features-parallax-page {
overflow: auto;
height: auto;
@@ -790,4 +878,10 @@
.layer-stars-canvas {
display: none;
}
+
+ .act-nav { display: none; }
+
+ .layer-stars-canvas {
+ animation: none;
+ }
}
diff --git a/public/features/index.html b/public/features/index.html
index c1c7c1360..15cd8bdaa 100644
--- a/public/features/index.html
+++ b/public/features/index.html
@@ -105,6 +105,9 @@
></agent-3d>
</div>
</div>
+ <div class="parallax-layer" style="--depth: 0.5" aria-hidden="true">
+ <div class="layer-vignette"></div>
+ </div>
<div class="act-content act-content--bottom">
<div class="act-eyebrow">
@@ -146,6 +149,7 @@
id="act-empathy"
aria-labelledby="act2-title"
>
+ <div class="act-warp act-warp--violet" aria-hidden="true"></div>
<div class="parallax-layer" style="--depth: 10" aria-hidden="true">
<div class="layer-bg layer-bg--violet"></div>
<canvas class="layer-stars-canvas" data-role="star-canvas" data-tint="200,160,255" data-count="220"></canvas>
@@ -180,6 +184,9 @@
></agent-3d>
</div>
</div>
+ <div class="parallax-layer" style="--depth: 0.5" aria-hidden="true">
+ <div class="layer-vignette"></div>
+ </div>
<div class="act-content act-content--bottom">
<div class="act-eyebrow">
diff --git a/public/widgets-gallery/gallery.css b/public/widgets-gallery/gallery.css
index 3a38b91bb..b8d2e99ef 100644
--- a/public/widgets-gallery/gallery.css
+++ b/public/widgets-gallery/gallery.css
@@ -53,7 +53,7 @@ body.gallery-body {
}
.gallery-main {
- max-width: 1080px;
+ max-width: 1400px;
margin: 0 auto;
padding: var(--space-2xl) var(--space-lg);
display: flex;
@@ -169,6 +169,7 @@ body.gallery-body {
overflow: hidden;
background: #050505;
aspect-ratio: 1 / 1;
+ min-height: 480px;
}
.showcase-frame iframe {
position: absolute;