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
Home page, onboard probe script, and changelog updates
nirholas3ad7494fca79
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5f7a15329..d814f6a9e 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Forge checkout no longer dead-ends when generation is briefly busy** — When the 3D generator was momentarily rate-limited mid-checkout, Forge could show a raw technical error and look like the payment had failed for good. Now a brief upstream slowdown shows a clear message — your payment was not taken, and the generation retries in a few seconds — and the checkout auto-retries on its own before ever asking you to try again. Your payment only settles once the model is actually produced, so a busy moment never costs you anything. (`/forge`) `[fix]`- **Holding $THREE now unlocks a premium feature** — $THREE gets its first hard utility: High-quality 3D generation on Forge — the 200k-polygon, PBR-textured tier — is now reserved for $THREE holders. Reach the Bronze holder tier (the entry tier) by holding $THREE and the High tier unlocks automatically, with no payment step. Draft and Standard generation stay free forever, and bring-your-own-key generation is unaffected. Sign in, link your Solana wallet, and the economy page shows your live holder tier and exactly what it unlocks. (`/three`) `[feature]`- **Pay $THREE per High generation — no holding required** — Don't hold $THREE yet but want a High-quality model? You can now pay in $THREE for a single High generation instead. Pick High in Forge, choose "Pay" on the holder panel, and a clean payment flow prices it in $THREE, takes one wallet approval, verifies it on-chain, and runs your generation automatically. The platform now genuinely accepts $THREE for compute. One payment buys exactly one High generation, and if a generation fails before it runs your payment stays usable — you're never charged for a model you didn't get. Draft and Standard remain free, and holders still generate High straight away. (`/forge`) `[feature]`+- **Play is movable on phones again — and avatars load instead of a placeholder** — Two fixes for Play. On phones, the item hotbar had drifted on top of the on-screen movement joystick in the bottom-left corner, so taps meant to steer the stick landed on the hotbar instead and your character wouldn't move at all — with no keyboard to fall back on, you were stuck. The hotbar now sits in a clear band above the joystick, leaving the whole stick tappable. Separately, every avatar — yours, other players', and the loading-screen preview — had started appearing as a plain capsule stand-in because the app was missing the decoder for the compression format the avatars ship in; that decoder is now wired in, so real, animated avatars load everywhere in Play again. `[fix]`- **Play loads reliably in private windows and embeds, and explains itself if 3D can't start** — Two ways Play could fail silently are fixed. First: if your browser couldn't start 3D graphics — hardware acceleration switched off, an older device, or some in-app browsers — Play used to sit on the loading screen forever with no explanation. It now shows a clear recovery card that tells you what happened and how to fix it, with a one-tap “Try again”. Second: opening Play in a private/incognito window, or where it's embedded inside another page, could stop it loading at all because the browser blocks saved settings there. Play now treats blocked storage gracefully — it falls back to a default name and avatar and loads normally instead of breaking. `[fix]`- **The 3D agent on the homepage moves again instead of standing frozen** — The live avatar in the homepage hero had stopped animating — it loaded but stood in a stiff arms-out pose, and the Wave, Dance, and Pray buttons did nothing. The viewer only renders frames while something is moving to save your battery, and a recent change meant that starting an animation no longer woke the renderer back up once it had gone idle, so the avatar was stuck on its first frame. The renderer is now nudged awake the instant any animation starts, so the homepage agent idles, walks, and responds to the move buttons as intended. `[fix]`- **The animated 3D bot in the site footer renders again** — The little animated 3D robot that sits in the footer across the site — and on the sign-in page — had gone missing, leaving an empty space. The model files it loads are compressed, but the footer loader wasn't set up to unpack that format, so it failed before the bot could appear. The decoder is now wired in, so the bot loads and spins as intended everywhere the footer shows. `[fix]`diff --git a/data/changelog.json b/data/changelog.jsonindex 7b1c33a92..6a436c7b7 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,14 @@{"$comment": "Curated changelog entries for three.ws \u2014 the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-18",+ "title": "Play is movable on phones again — and avatars load instead of a placeholder",+ "summary": "Two fixes for Play. On phones, the item hotbar had drifted on top of the on-screen movement joystick in the bottom-left corner, so taps meant to steer the stick landed on the hotbar instead and your character wouldn't move at all — with no keyboard to fall back on, you were stuck. The hotbar now sits in a clear band above the joystick, leaving the whole stick tappable. Separately, every avatar — yours, other players', and the loading-screen preview — had started appearing as a plain capsule stand-in because the app was missing the decoder for the compression format the avatars ship in; that decoder is now wired in, so real, animated avatars load everywhere in Play again.",+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-18","title": "Play loads reliably in private windows and embeds, and explains itself if 3D can't start",diff --git a/pages/home.html b/pages/home.htmlindex 87f5a415e..2e7a94dc6 100644--- a/pages/home.html+++ b/pages/home.html@@ -5021,17 +5021,29 @@const WALK_CLIP = 'av-walk-feminine';const IDLE_CLIP = 'idle';let active = true;+ let running = false;+ // Ambient idle↔walk loop. Re-entrancy guarded so a second call (visibility+ // flip, or an emote handing the avatar back) never spins up parallel timers.async function walkCycle() {- await new Promise(r => setTimeout(r, 2000));- if (!active || _heroChipActive) return;- heroAgent.play?.(WALK_CLIP, { loop: true, fade_ms: 400 });- await new Promise(r => setTimeout(r, 5000));- if (!active || _heroChipActive) return;- heroAgent.play?.(IDLE_CLIP, { loop: true, fade_ms: 600 });- await new Promise(r => setTimeout(r, 3000));- walkCycle();+ if (running) return;+ running = true;+ try {+ while (active && !_heroChipActive) {+ await new Promise(r => setTimeout(r, 2000));+ if (!active || _heroChipActive) break;+ heroAgent.play?.(WALK_CLIP, { loop: true, fade_ms: 400 });+ await new Promise(r => setTimeout(r, 5000));+ if (!active || _heroChipActive) break;+ heroAgent.play?.(IDLE_CLIP, { loop: true, fade_ms: 600 });+ await new Promise(r => setTimeout(r, 3000));+ }+ } finally {+ running = false;+ }}+ // Expose the cycle so the chip handler can hand the avatar back to its rhythm.+ heroAgent._heroAmbient = walkCycle;heroAgent.addEventListener('agent:ready', walkCycle, { once: true });if (heroAgent._viewer) walkCycle();@@ -5042,6 +5054,23 @@});}+ // Pray → walk: finish the prayer one-shot, then rise straight into a looping+ // walk via a single crossfade — no snap back to idle at the clip boundary.+ function playPrayToWalk(heroAgent) {+ const am = heroAgent?._viewer?.animationManager;+ if (am && typeof am.playOnce === 'function') {+ am.playOnce('pray', { settleTo: 'av-walk-feminine', fade: 0.45 });+ return;+ }+ // Animation manager not reachable yet: play the one-shot, then walk once it+ // ends (pray clip ≈ 6.87s).+ heroAgent.play?.('pray', { loop: false, fade_ms: 400 });+ clearTimeout(heroAgent._prayWalkTimer);+ heroAgent._prayWalkTimer = setTimeout(() => {+ heroAgent.play?.('av-walk-feminine', { loop: true, fade_ms: 450 });+ }, 6900);+ }+// ── Hero animation chips ─────────────────────────────────────────function initHeroChips(heroAgent) {const ANIMS = ['wave','dance','capoeira','jump','thriller','pray','celebrate','rumba','falling','kiss','taunt','idle'];@@ -5069,16 +5098,23 @@btn.dataset.active = 'true';_heroChipActive = true;- heroAgent.play?.(clip, { loop: false, fade_ms: 400 });+ if (clip === 'pray') {+ playPrayToWalk(heroAgent);+ } else {+ heroAgent.play?.(clip, { loop: false, fade_ms: 400 });+ }moveCount += 1;if (counter) counter.innerHTML = `<strong>${moveCount}</strong> ${moveCount === 1 ? 'move' : 'moves'}`;+ // Pray runs ~6.9s then walks; hold the chip-active window longer so the+ // walk reads before the ambient idle↔walk rhythm takes back over.clearTimeout(chipsEl._resumeTimer);chipsEl._resumeTimer = setTimeout(() => {_heroChipActive = false;delete btn.dataset.active;- }, 6000);+ heroAgent._heroAmbient?.();+ }, clip === 'pray' ? 11000 : 6000);});}diff --git a/public/changelog.json b/public/changelog.jsonindex 6dd0487df..de9815d53 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-18T02:07:16.130Z",+ "generated_at": "2026-06-18T02:14:39.580Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -56,6 +56,16 @@"feature"]},+ {+ "date": "2026-06-18",+ "type": "update",+ "title": "Play is movable on phones again — and avatars load instead of a placeholder",+ "summary": "Two fixes for Play. On phones, the item hotbar had drifted on top of the on-screen movement joystick in the bottom-left corner, so taps meant to steer the stick landed on the hotbar instead and your character wouldn't move at all — with no keyboard to fall back on, you were stuck. The hotbar now sits in a clear band above the joystick, leaving the whole stick tappable. Separately, every avatar — yours, other players', and the loading-screen preview — had started appearing as a plain capsule stand-in because the app was missing the decoder for the compression format the avatars ship in; that decoder is now wired in, so real, animated avatars load everywhere in Play again.",+ "link": null,+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-18","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 413d96be7..20de5de91 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -46,6 +46,14 @@<category>feature</category><description>Don't hold $THREE yet but want a High-quality model? You can now pay in $THREE for a single High generation instead. Pick High in Forge, choose "Pay" on the holder panel, and a clean payment flow prices it in $THREE, takes one wallet approval, verifies it on-chain, and runs your generation automatically. The platform now genuinely accepts $THREE for compute. One payment buys exactly one High generation, and if a generation fails before it runs your payment stays usable — you're never charged for a model you didn't get. Draft and Standard remain free, and holders still generate High straight away.</description></item>+ <item>+ <title>Play is movable on phones again — and avatars load instead of a placeholder</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-18:Play is movable on phones again — and avatars load instead of a placeholder</guid>+ <pubDate>Thu, 18 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>Two fixes for Play. On phones, the item hotbar had drifted on top of the on-screen movement joystick in the bottom-left corner, so taps meant to steer the stick landed on the hotbar instead and your character wouldn't move at all — with no keyboard to fall back on, you were stuck. The hotbar now sits in a clear band above the joystick, leaving the whole stick tappable. Separately, every avatar — yours, other players', and the loading-screen preview — had started appearing as a plain capsule stand-in because the app was missing the decoder for the compression format the avatars ship in; that decoder is now wired in, so real, animated avatars load everywhere in Play again.</description>+ </item><item><title>Play loads reliably in private windows and embeds, and explains itself if 3D can't start</title><link>https://three.ws/changelog</link>diff --git a/public/features.json b/public/features.jsonindex 6c42a3d4e..ab889704d 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-18T02:07:16.093Z",+ "generated_at": "2026-06-18T02:14:39.567Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/scripts/play-onboard-block-probe.mjs b/scripts/play-onboard-block-probe.mjsnew file mode 100644index 000000000..9d0216fb1--- /dev/null+++ b/scripts/play-onboard-block-probe.mjs@@ -0,0 +1,41 @@+import { chromium } from 'playwright';++const URL = process.env.PROBE_URL || 'http://localhost:3000/play';+const browser = await chromium.launch();+// First-time touch user — fresh storage, so onboarding shows.+const ctx = await browser.newContext({ viewport: { width: 390, height: 780 }, hasTouch: true, isMobile: true });+const page = await ctx.newPage();+await page.goto(URL, { waitUntil: 'domcontentloaded' });+await page.waitForSelector('.cc-card', { timeout: 15000 });+await page.tap('.cc-card');+await page.waitForFunction(() => window.__CC__?.phase === 'world', { timeout: 20000 }).catch(() => {});+await page.waitForTimeout(1300); // let onboarding (650ms delay) appear++const pre = await page.evaluate(() => {+ const z = document.getElementById('cc-joystick');+ const r = z.getBoundingClientRect();+ const cx = r.left + r.width / 2, cy = r.top + r.height / 2;+ const top = document.elementFromPoint(cx, cy);+ return {+ onboardingUp: !!document.getElementById('po-overlay'),+ topAtJoystick: top ? (top.id ? '#' + top.id : top.tagName + '.' + String(top.className).split(' ')[0]) : null,+ cx, cy,+ };+});++const before = await page.evaluate(() => ({ ...window.__CC__.localPos }));+await page.mouse.move(pre.cx, pre.cy);+await page.mouse.down();+await page.mouse.move(pre.cx, pre.cy - 55, { steps: 5 });+await page.waitForTimeout(450);+const joyVec = await page.evaluate(() => window.__CC__._joy);+const during = await page.evaluate(() => ({ ...window.__CC__.localPos }));+await page.mouse.up();++const moved = Math.abs(before.x - during.x) > 0.02 || Math.abs(before.z - during.z) > 0.02;+console.log('onboardingUp :', pre.onboardingUp);+console.log('topAtJoystick :', pre.topAtJoystick);+console.log('joyVec :', JSON.stringify(joyVec));+console.log('MOVED (joystick) :', moved);++await browser.close();