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: update avatar visibility and add walking animation with reduced motion support

nirholas1781b2eb1ace
diff --git a/chat/src/App.svelte b/chat/src/App.svelte
index b06eeb51f..506d3c0bf 100644
--- a/chat/src/App.svelte
+++ b/chat/src/App.svelte
@@ -1541,7 +1541,7 @@
let pendingSpeak = null;
let agentReady = false;
let agentPendingSpeak = null;
- let agentVisible = false;
+ let agentVisible = true;
let agentScriptLoaded = false;
let prevThoughtBubbleActive = false;
let thinkingTransitioning = false;
@@ -2623,7 +2623,18 @@
transform-origin: bottom center;
}
.avatar-walking {
- /* Step 1: rely on the 3D model's own walk animation clip (played via agent-3d API). */
+ animation: avatar-walk-bob 720ms ease-in-out infinite;
+ transform-origin: bottom center;
+ }
+ @keyframes avatar-walk-bob {
+ 0% { transform: translateY(0) rotate(-1.2deg); }
+ 25% { transform: translateY(-6px) rotate(0deg); }
+ 50% { transform: translateY(0) rotate(1.2deg); }
+ 75% { transform: translateY(-6px) rotate(0deg); }
+ 100% { transform: translateY(0) rotate(-1.2deg); }
+ }
+ @media (prefers-reduced-motion: reduce) {
+ .avatar-walking { animation: none; }
}
.avatar-dying {
transform: translateY(120vh) rotate(35deg);
diff --git a/public/chat/index.html b/public/chat/index.html
index 2d0247526..a915ac551 100644
--- a/public/chat/index.html
+++ b/public/chat/index.html
@@ -43,8 +43,8 @@
}
}
</script>
- <script type="module" crossorigin src="/chat/assets/index-DUHZZsEM.js"></script>
- <link rel="stylesheet" crossorigin href="/chat/assets/index-UFqrGRrT.css">
+ <script type="module" crossorigin src="/chat/assets/index-BTk_1mTm.js"></script>
+ <link rel="stylesheet" crossorigin href="/chat/assets/index-CHprH7n7.css">
</head>
<body>
<div id="app"></div>