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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat(AgentCompanion): update agent-dance behavior to initial sitclap position
nirholasc6bf0dc35691
diff --git a/chat/src/Message.svelte b/chat/src/Message.svelteindex f2d0a182d..7b72ed56d 100644--- a/chat/src/Message.svelte+++ b/chat/src/Message.svelte@@ -169,8 +169,9 @@message.role = 'user';}}}- class="flex h-8 w-8 shrink-0 rounded-md md:h-9 md:w-9 md:rounded-[6px] {message.role ===- 'system'+ class="shrink-0 rounded-md md:rounded-[6px] {message.role === 'assistant' && hasLogo+ ? 'flex h-16 w-16 md:h-20 md:w-20'+ : 'flex h-8 w-8 md:h-9 md:w-9'} {message.role === 'system'? 'border border-teal-200 bg-teal-100': message.role === 'assistant' && !hasLogo? 'border border-teal-200 bg-teal-100 pb-px'diff --git a/chat/src/ModelSelector.svelte b/chat/src/ModelSelector.svelteindex 92966a944..edee02f8a 100644--- a/chat/src/ModelSelector.svelte+++ b/chat/src/ModelSelector.svelte@@ -67,7 +67,7 @@}}}>- <CompanyLogo model={convo.models[0]} size="w-5 h-5" rounded="rounded" />+ <CompanyLogo model={convo.models[0]} size="w-8 h-8" rounded="rounded" /><div class="flex items-center gap-x-1.5"><p class="line-clamp-1 text-xs text-slate-700">{formatMultipleModelNames(convo.models, true)}@@ -118,7 +118,7 @@query = '';}}>- <CompanyLogo {model} />+ <CompanyLogo {model} size="w-7 h-7" rounded="rounded" /><span class="line-clamp-1">{formatModelName(model)}</span>{#if model.modality === 'text->image'}<Icon icon={feImage} class="mt-px h-3 w-3 text-slate-800" />diff --git a/create.html b/create.htmlindex bb33a960c..ae936407e 100644--- a/create.html+++ b/create.html@@ -25,6 +25,32 @@<meta name="twitter:image" content="https://three.ws/assets/og-image.png"><style>+ #page-loading {+ position: fixed;+ inset: 0;+ z-index: 9999;+ background: #000;+ display: flex;+ flex-direction: column;+ align-items: center;+ justify-content: center;+ gap: 20px;+ }+ #page-loading img {+ width: 64px;+ height: 64px;+ animation: page-loading-pulse 1.6s ease-in-out infinite;+ }+ #page-loading .dots {+ color: rgba(255, 255, 255, 0.6);+ font-size: 24px;+ letter-spacing: 4px;+ font-family: -apple-system, system-ui, sans-serif;+ }+ @keyframes page-loading-pulse {+ 0%, 100% { opacity: 0.55; transform: scale(1); }+ 50% { opacity: 1; transform: scale(1.06); }+ }:root {color-scheme: dark;--accent: #d6ff3d;@@ -562,6 +588,10 @@</script></head><body>+ <div id="page-loading" aria-hidden="true">+ <img src="/three.svg" alt="" />+ <div class="dots">...</div>+ </div><a href="#main-content" class="skip-link">Skip to main content</a><header class="site-header"><h1>diff --git a/rider/src/scene.html b/rider/src/scene.htmlindex 2ff87e990..af3913155 100644--- a/rider/src/scene.html+++ b/rider/src/scene.html@@ -148,7 +148,7 @@<a-entityid="agentCompanion"gltf-model="#agentGlb"- agent-dance+ agent-dance="initial: sitclap"position="0.7 0.45 0.5"rotation="0 165 0"scale="0.9 0.9 0.9"></a-entity>