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.

fix: mark subproject commits as dirty for worktree consistency

nirholas80bf06a37254
diff --git a/Handshake b/Handshake
new file mode 160000
index 000000000..1ea6e332b
--- /dev/null
+++ b/Handshake
@@ -0,0 +1 @@
+Subproject commit 1ea6e332b87fedef8faae0b71650e573de8fd7f7
diff --git a/home.css b/home.css
index 8ac3a221a..7b6abfcbb 100644
--- a/home.css
+++ b/home.css
@@ -568,16 +568,132 @@
text-align: center;
}
-/* ── Footer upgrade ──────────────────────────────────────────────────────── */
+/* ── Footer: "The Horizon" ──────────────────────────────────────────────── */
+
+.h-footer-horizon {
+ position: relative;
+ overflow: hidden;
+ min-height: 360px;
+ padding: 4rem 2rem 2rem !important;
+ border-top: none !important;
+ background: linear-gradient(180deg, #06070b 0%, #02030a 60%, #000 100%) !important;
+ isolation: isolate;
+}
+
+.h-footer-glow-line {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 1px;
+ background: linear-gradient(
+ 90deg,
+ transparent 0%,
+ rgba(124, 58, 237, 0.0) 10%,
+ rgba(124, 58, 237, 0.85) 35%,
+ rgba(37, 99, 235, 0.85) 65%,
+ rgba(37, 99, 235, 0.0) 90%,
+ transparent 100%
+ );
+ box-shadow:
+ 0 0 12px rgba(124, 58, 237, 0.55),
+ 0 0 28px rgba(37, 99, 235, 0.35);
+ z-index: 2;
+}
+
+.h-footer-floor {
+ position: absolute;
+ left: -10%;
+ right: -10%;
+ bottom: -40%;
+ height: 90%;
+ background-image:
+ linear-gradient(to right, rgba(180, 180, 255, 0.10) 1px, transparent 1px),
+ linear-gradient(to bottom, rgba(180, 180, 255, 0.10) 1px, transparent 1px);
+ background-size: 64px 64px;
+ transform: perspective(600px) rotateX(62deg);
+ transform-origin: 50% 0%;
+ mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
+ -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
+ z-index: 1;
+ animation: hFloorScroll 12s linear infinite;
+}
+
+@keyframes hFloorScroll {
+ 0% { background-position: 0 0; }
+ 100% { background-position: 0 64px; }
+}
+
+.h-footer-haze {
+ position: absolute;
+ inset: 0;
+ background:
+ radial-gradient(60% 70% at 30% 110%, rgba(124, 58, 237, 0.22) 0%, transparent 60%),
+ radial-gradient(55% 70% at 75% 110%, rgba(37, 99, 235, 0.20) 0%, transparent 60%);
+ filter: blur(40px);
+ z-index: 1;
+ pointer-events: none;
+}
+
+.h-footer-watermark {
+ position: absolute;
+ left: 50%;
+ bottom: -0.15em;
+ transform: translateX(-50%);
+ font-family: 'Space Grotesk', 'Inter', sans-serif;
+ font-weight: 700;
+ font-size: clamp(7rem, 22vw, 22rem);
+ line-height: 0.85;
+ letter-spacing: -0.04em;
+ white-space: nowrap;
+ background: linear-gradient(
+ 180deg,
+ rgba(255, 255, 255, 0.12) 0%,
+ rgba(255, 255, 255, 0.04) 60%,
+ rgba(255, 255, 255, 0) 100%
+ );
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ pointer-events: none;
+ z-index: 2;
+ user-select: none;
+}
+
+.h-footer-avatar {
+ position: absolute;
+ right: 4%;
+ bottom: 12%;
+ width: 140px;
+ height: 140px;
+ z-index: 3;
+ pointer-events: none;
+ filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.45));
+}
+
+.h-footer-avatar model-viewer {
+ width: 100%;
+ height: 100%;
+ background: transparent;
+ --poster-color: transparent;
+}
.h-footer-inner {
+ position: relative;
+ z-index: 4;
display: flex;
- align-items: center;
+ align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
- gap: 1rem;
+ gap: 2rem;
max-width: 1080px;
- margin: 0 auto;
+ margin: 0 auto 4rem;
+}
+
+.h-footer-brand-col {
+ display: flex;
+ flex-direction: column;
+ gap: 0.4rem;
}
.h-footer-brand {
@@ -585,35 +701,71 @@
align-items: center;
gap: 0.4rem;
font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1rem;
+ font-size: 1.1rem;
font-weight: 600;
color: #fff;
}
+.h-footer-tagline {
+ font-family: 'Inter', sans-serif;
+ font-size: 0.85rem;
+ color: rgba(255, 255, 255, 0.45);
+ margin: 0;
+ letter-spacing: 0.01em;
+}
+
.h-footer-links {
- display: flex;
- gap: 1.5rem;
- flex-wrap: wrap;
+ display: grid;
+ grid-template-columns: repeat(2, auto);
+ gap: 0.6rem 2.5rem;
}
.h-footer-links a {
- color: rgba(255, 255, 255, 0.35);
+ position: relative;
+ color: rgba(255, 255, 255, 0.45);
text-decoration: none;
font-size: var(--text-sm);
- transition: color 0.2s ease;
+ transition: color 0.2s ease, text-shadow 0.2s ease;
}
-.h-footer-links a:hover { color: #fff; }
+.h-footer-links a:hover {
+ color: #fff;
+ text-shadow: 0 0 12px rgba(124, 58, 237, 0.7);
+}
.h-footer-copy {
+ position: relative;
+ z-index: 4;
+ text-align: center;
font-size: 0.7rem;
- color: rgba(255, 255, 255, 0.22);
- letter-spacing: 0.06em;
- text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.32);
+ letter-spacing: 0.08em;
font-family: 'JetBrains Mono', monospace;
margin: 0;
}
+@media (max-width: 720px) {
+ .h-footer-horizon {
+ min-height: 320px;
+ padding: 3rem 1.25rem 1.5rem !important;
+ }
+ .h-footer-inner {
+ flex-direction: column;
+ gap: 1.5rem;
+ margin-bottom: 3rem;
+ }
+ .h-footer-links {
+ grid-template-columns: repeat(2, 1fr);
+ gap: 0.5rem 1rem;
+ }
+ .h-footer-avatar {
+ width: 90px;
+ height: 90px;
+ right: 5%;
+ bottom: 18%;
+ }
+}
+
/* ── Responsive: bento and dev ───────────────────────────────────────────── */
@media (max-width: 900px) {
@@ -2143,33 +2295,14 @@
flex-wrap: wrap;
}
-/* ── Footer ── */
+/* ── Footer base (overridden by .h-footer-horizon above) ── */
.h-footer {
position: static;
- text-align: center;
padding: var(--space-xl) var(--space-lg);
- border-top: 1px solid rgba(255, 255, 255, 0.04);
pointer-events: auto;
}
-.h-footer p {
- color: rgba(255, 255, 255, 0.22);
- font-size: var(--text-xs);
- font-family: 'JetBrains Mono', monospace;
- margin: 0;
-}
-
-.h-footer a {
- color: rgba(255, 255, 255, 0.32);
- text-decoration: none;
- transition: color 0.2s ease;
-}
-
-.h-footer a:hover {
- color: #fff;
-}
-
/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
diff --git a/home.html b/home.html
index 3d55fbd26..33729efc9 100644
--- a/home.html
+++ b/home.html
@@ -58,10 +58,10 @@
</h1>
<nav class="home-nav" aria-label="Primary">
<a href="/app">Viewer</a>
- <a href="/create">Create</a>
- <a href="/studio">Studio</a>
+ <a href="/discover">Discover</a>
+ <a href="/features">Features</a>
<a href="/widgets">Widgets</a>
- <a href="/features">Docs</a>
+ <a href="/my-agents" id="home-nav-my-agents" hidden>My Agents</a>
<a href="/login" class="nav-cta" id="home-nav-cta">Get started</a>
</nav>
</header>
@@ -254,9 +254,7 @@
<div class="h-layer-bg h-layer-bg--mint"></div>
<canvas class="h-star-canvas" data-role="star-canvas" data-tint="110,231,183" data-count="200"></canvas>
</div>
- <div class="h-layer" style="--depth: 4" aria-hidden="true">
- <div class="h-layer-chains" data-role="home-chain-ribbon"></div>
- </div>
+
<div class="h-layer" style="--depth: 2" aria-hidden="true">
<div class="h-layer-orb h-layer-orb--mint"></div>
</div>
@@ -471,11 +469,36 @@
</div>
</section>
- <footer class="h-footer">
+ <footer class="h-footer h-footer-horizon">
+ <div class="h-footer-glow-line" aria-hidden="true"></div>
+ <div class="h-footer-floor" aria-hidden="true"></div>
+ <div class="h-footer-haze" aria-hidden="true"></div>
+ <div class="h-footer-watermark" aria-hidden="true">three.ws</div>
+ <div class="h-footer-avatar" aria-hidden="true">
+ <model-viewer
+ src="/animations/robotexpressive.glb"
+ auto-rotate
+ auto-rotate-delay="0"
+ rotation-per-second="20deg"
+ interaction-prompt="none"
+ camera-controls="false"
+ disable-zoom
+ shadow-intensity="0"
+ exposure="0.7"
+ environment-image="neutral"
+ camera-orbit="0deg 80deg 4m"
+ field-of-view="35deg"
+ loading="lazy"
+ ></model-viewer>
+ </div>
+
<div class="h-footer-inner">
- <div class="h-footer-brand">
- <span class="wordmark-dot" aria-hidden="true"></span>
- <span>three.ws</span>
+ <div class="h-footer-brand-col">
+ <div class="h-footer-brand">
+ <span class="wordmark-dot" aria-hidden="true"></span>
+ <span>three.ws</span>
+ </div>
+ <p class="h-footer-tagline">Give your AI a body.</p>
</div>
<nav class="h-footer-links" aria-label="Footer">
<a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>
@@ -487,8 +510,9 @@
<a href="/docs/widgets">Docs</a>
<a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>
</nav>
- <p class="h-footer-copy">Open source · MIT license</p>
</div>
+
+ <p class="h-footer-copy">$ three.ws · open source · MIT license</p>
</footer>
</main>
@@ -505,6 +529,8 @@
cta.textContent = 'Dashboard';
cta.href = '/dashboard';
}
+ const myAgents = document.getElementById('home-nav-my-agents');
+ if (myAgents) myAgents.hidden = false;
} catch (_) {}
})();
@@ -577,9 +603,12 @@
const wrap = canvas.closest('.h-avatar-wrap');
- /* falling: play clip in the circle, then expand and slowly slide across */
- async function doFalling() {
- try { await viewer.playClip('falling'); } catch (_) {}
+ /* falling: wait for clip to play out, then expand and slide across.
+ alreadyPlaying=true skips the playClip call (used on first load). */
+ async function doFalling(alreadyPlaying = false) {
+ if (!alreadyPlaying) {
+ try { await viewer.playClip('falling'); } catch (_) {}
+ }
/* wait for the actual clip to finish on the ground */
const clipDur = viewer.currentAction
@@ -610,12 +639,17 @@
viewer.playClip('dance').catch(() => {});
}
+ canvas.style.opacity = '0';
viewer.loadModel('/avatars/cz.glb', { autoPlay: false })
- .then(() => {
- /* snap camera to orbit position before first render — no jump */
+ .then(async () => {
viewer.setOrbit(curTheta, curPhi, curR);
orbitActive = true;
- doFalling();
+ /* fetch + start the falling clip before revealing — no T-pose flash */
+ try { await viewer.playClip('falling'); } catch (_) {}
+ canvas.style.transition = 'opacity 0.15s';
+ canvas.style.opacity = '1';
+ /* clip is already playing — pass flag so doFalling skips the restart */
+ doFalling(true);
})
.catch(console.error);
@@ -757,7 +791,13 @@
viewer.onClipsReady = buildButtons;
viewer.loadModel('/avatars/cz.glb')
- .then(() => viewer.playClip('capoeira').catch(() => {}))
+ .then(() => {
+ if (viewer.model) {
+ viewer.model.position.x -= 0.15;
+ viewer.model.position.z -= 0.25;
+ }
+ return viewer.playClip('capoeira').catch(() => {});
+ })
.catch(console.error);
if (stopBtn) {