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.

Club audio and changelog updates

nirholas222485fada00
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 448e38dde..32176c162 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Build structures, snap blocks, and share your coin world creation** — The /play building layer now ships a full structures system: blocks snap to a 1.5m grid and rotation locks to quarter-turns so pieces always line up. A structures toolbar above the block hotbar gives you one-click composite pieces — Wall (4×3), Floor (4×4), Stairs (4-step), and Doorway — that stamp a whole shape at once with a live rotatable footprint preview. Large builds stay smooth because every block type is drawn as a single instanced mesh regardless of how many you place. The share button captures an offscreen screenshot of your build, lets you name it, copy a deep link, download the image, or publish it to this coin's featured builds — a new per-world gallery (with loading skeleton, empty, and error states) that links every shared creation back into the world so others can drop straight in. (`/play`) `[feature, improvement]`
- **Buy a skill, get an on-chain NFT receipt in your wallet** — When you purchase an agent's skill, you now receive a real NFT minted straight to your Solana wallet as proof of ownership and a perpetual license to use that skill. Each agent has its own verified on-chain collection, so the skills you buy from an agent group together in your wallet and on explorers like Solscan and Phantom — with the agent's name and avatar. The NFT is minted only after your payment is confirmed on-chain to the creator, it's tied to the wallet linked to your account so it can never be sent to a stranger, and asking again never mints a duplicate. Your purchased skills now show their NFT mint address. (`/marketplace`) `[feature]`
- **Change a placed agent's outfit from your dashboard — everyone nearby sees it** — Your IRL Agents dashboard now has a real outfit editor. Open Change outfit on any agent you've placed and a live 3D preview loads with wardrobe controls for the exact layers that avatar has — recolour its hair, skin, and clothing, strip back to the base body and dress it up again, or stack on hats, glasses, and earrings. Because your agents are public, the new look is baked into the agent itself and pushed to its real-world pin, so every person who walks up to that spot sees the updated outfit in their camera — not just you. Save when you're happy; the avatar is re-rendered for real before it confirms, the previous look stays untouched if anything fails, and nearby viewers refresh to the new outfit within seconds. Run a seasonal look, brand your agents as staff for an event, or just keep them fresh — all without walking back to where you pinned them. (`/dashboard/irl-placements`) `[feature]`
+- **Chat tool calls no longer break on certain models** — Some models (like GPT OSS 120B) return tool-call arguments as a ready-made object instead of streamed text. Chat assumed text and mangled it into "[object Object]", so tools such as ForgeTextTo3D failed with a JSON parse error. Chat now handles both formats, and a tool that takes no arguments no longer errors either — so generating a model from a prompt works across every model. (`/chat`) `[fix]`
- **Choose who dances — avatar selector in the Pole Club** — Every pole card now has an Avatar dropdown so you can pick which 3D avatar dances on each pole. Choose from each dancer's signature look, a set of built-in rigs, or any public avatar from the gallery — the dancer swaps to the new model live, right on stage, with no reload. Your picks are remembered per pole on your next visit. The picker locks for the few seconds a dancer is mid-routine so a swap never interrupts a paid performance, and any model the animation library can't drive falls back to the default rig automatically. (`/club`) `[feature]`
- **Clearer pricing on every agent's skills in the marketplace** — An agent's detail page now reads cleanly when its skills carry a price. Each skill shows a badge at a glance — green 'Free', a yellow price for paid skills, or an indigo 'Owned' once you've bought it — and when a paid skill offers a free trial or a timed access pass, those now appear as proper buttons styled to match the Purchase button, with hover, focus, and press states. The price badge and action buttons are grouped together on the right of each row instead of spreading out, so a skill with several options stays tidy and easy to scan. (`/marketplace`) `[improvement]`
- **Coin world builds now have ownership, caps, and anti-grief protection** — Every block and prop placed in a coin world is now server-enforced with a full permission model. Only the player who placed a piece can break it; the coin's creator can remove any piece as a moderation tool, or sweep a radius or the entire world with a single action. A per-player block cap (1,200 blocks) prevents any single builder from monopolising the budget; a per-column density limit stops walls from caging the plaza; and protected zones around the spawn point and the coin totem can never be buried or fenced in. All rejections — wrong owner, over cap, protected zone, rate-limited, out of bounds — are surfaced to the builder immediately with a clear message. The build HUD now shows how many of your personal 1,200 blocks you've used, and coin creators see a "Creator" moderation panel with the clear-area tool. (`/play`) `[feature, improvement]`
@@ -77,6 +78,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Share a photo straight from the XR viewer** — three.ws/xr now has the same one-tap Share that three.ws/irl has had: it flattens your live camera view and the 3D agent into a single photo and hands it to your phone's share sheet to post or send — or downloads it as a PNG on desktop. With the camera on, the picture shows your agent standing in your real surroundings; with it off, it shares the 3D view on its own. If a snapshot can't be captured for any reason, Share falls back to sending the page link so it's never a dead end. The Share buttons on both pages now show a brief progress state while the image is being made, and the immersive buttons give keyboard users a clear focus outline. (`/xr`) `[feature, improvement]`
- **Sniper dashboard: your live positions now show real-time profit and loss and reconnect on their own** — The Sniper Strategies dashboard now streams your agents' open positions with live unrealized profit and loss — both the SOL figure and the percentage — instead of a blank value, and fills them in the moment the page loads rather than waiting for the next trade to land. The live feed shows its own connection state (Live / Reconnecting) and re-establishes itself automatically with backoff if it drops, so you always know whether you're watching real-time data. Closed-trade history now calls out your single best and worst trade, and there are one-tap links to the public leaderboard and sniper arena so your track record is easy to share. (`/dashboard/sniper`) `[feature]`
- **Sniper now auto-sells coins that graduate off the bonding curve** — When a coin your sniper holds graduates from the pump.fun bonding curve to its AMM pool, the agent used to be stuck holding it — the position sat parked and your exit rules quietly stopped working. The sniper now follows a graduated coin straight onto the AMM and keeps managing it there: stop-loss, trailing-stop, take-profit, and the hold-time limit all keep working against the real post-graduation price, and the automatic sell goes out with slippage protection. Positions that were stuck before can be cleared with a one-time backfill. (`/dashboard/sniper`) `[fix]`
+- **Switch your agent mid-walk, and a fix for the avatar that wouldn't stop** — The walk-in to the Pole Club now has an Agent picker in the top-left: choose which avatar you walk in as — from a set of bundled rigs or any public avatar from the gallery — and the model swaps live, mid-stride, with no reload and without losing your place or heading. You can switch as many times as you like, in any room along the way. Also fixed: an avatar that could keep walking on its own after the window lost focus or you opened the cover-charge card — held keys are now released cleanly so she always stops when you do. (`/club`) `[feature, fix]`
- **Tag mini-game in /play worlds** — Server-authoritative tag comes to every /play world. When two or more players are in the same room, a random player becomes 'it'. Walk close to another player and tag transfers — the server validates proximity on authoritative positions so no client can cheat. The tagged player gets a red glow ring under their avatar and a 🏃 IT label above their head, visible to everyone. A 'YOU'RE IT!' alert flashes on your screen the moment you're tagged, and a 2-second immunity window prevents instant re-tagging. The tag HUD (bottom-right) shows who's currently 'it' and a live leaderboard of cumulative time-as-it for the session. (`/play`) `[feature]`
- **Tapping an IRL agent is now reliable — hit the body, not just the tiny label** — On three.ws/irl you can now open an agent by tapping its 3D body, not only its small floating name tag. Tapping near a name also works, with a finger-sized target that meets Apple's 44-pixel minimum, so you no longer have to pixel-hunt on a phone. When two agents stand on top of each other, the one in front wins instead of a random pick. As you move, the nearest agent you can reach lights up with a soft focus ring so you can see what you'll tap before you tap it — and if you've turned on Reduce Motion, the ring stays still. Looking and panning around no longer misfires as a tap. (`/irl`) `[improvement]`
- **The IBM x402 demo grew a 3D agent that pays for itself** — The live x402 demo at three.ws/ibm/x402-demo now has a 3D AI agent below the payment card. When you run the $0.001 call, the agent watches the same on-chain settlement you do and reacts in real time — it celebrates and announces the payment the moment it clears. You can also ask it how x402 and $THREE work. Under it, three new rooms — Forge (text to 3D), Play (live worlds), and IRL (augmented reality) — load the real three.ws surfaces inline on a click, or open full-screen. Everything still loads from three.ws with no build step. (`/ibm/x402-demo`) `[feature]`
diff --git a/data/changelog.json b/data/changelog.json
index 69b98541c..2bb2c15f8 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,16 @@
{
"$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-17",
+ "title": "Switch your agent mid-walk, and a fix for the avatar that wouldn't stop",
+ "summary": "The walk-in to the Pole Club now has an Agent picker in the top-left: choose which avatar you walk in as — from a set of bundled rigs or any public avatar from the gallery — and the model swaps live, mid-stride, with no reload and without losing your place or heading. You can switch as many times as you like, in any room along the way. Also fixed: an avatar that could keep walking on its own after the window lost focus or you opened the cover-charge card — held keys are now released cleanly so she always stops when you do.",
+ "tags": [
+ "feature",
+ "fix"
+ ],
+ "link": "/club"
+ },
{
"date": "2026-06-17",
"title": "Chat tool calls no longer break on certain models",
diff --git a/public/changelog.json b/public/changelog.json
index 3be96fe35..d40fcc5a9 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-17T21:40:08.142Z",
+ "generated_at": "2026-06-17T21:44:13.787Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -149,6 +149,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-17",
+ "type": "update",
+ "title": "Chat tool calls no longer break on certain models",
+ "summary": "Some models (like GPT OSS 120B) return tool-call arguments as a ready-made object instead of streamed text. Chat assumed text and mangled it into \"[object Object]\", so tools such as ForgeTextTo3D failed with a JSON parse error. Chat now handles both formats, and a tool that takes no arguments no longer errors either — so generating a model from a prompt works across every model.",
+ "link": "/chat",
+ "tags": [
+ "fix"
+ ]
+ },
{
"date": "2026-06-17",
"type": "update",
@@ -738,6 +748,17 @@
"fix"
]
},
+ {
+ "date": "2026-06-17",
+ "type": "update",
+ "title": "Switch your agent mid-walk, and a fix for the avatar that wouldn't stop",
+ "summary": "The walk-in to the Pole Club now has an Agent picker in the top-left: choose which avatar you walk in as — from a set of bundled rigs or any public avatar from the gallery — and the model swaps live, mid-stride, with no reload and without losing your place or heading. You can switch as many times as you like, in any room along the way. Also fixed: an avatar that could keep walking on its own after the window lost focus or you opened the cover-charge card — held keys are now released cleanly so she always stops when you do.",
+ "link": "/club",
+ "tags": [
+ "feature",
+ "fix"
+ ]
+ },
{
"date": "2026-06-17",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 5a58c3f3e..877ad7194 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -118,6 +118,14 @@
<category>feature</category>
<description>Your IRL Agents dashboard now has a real outfit editor. Open Change outfit on any agent you've placed and a live 3D preview loads with wardrobe controls for the exact layers that avatar has — recolour its hair, skin, and clothing, strip back to the base body and dress it up again, or stack on hats, glasses, and earrings. Because your agents are public, the new look is baked into the agent itself and pushed to its real-world pin, so every person who walks up to that spot sees the updated outfit in their camera — not just you. Save when you're happy; the avatar is re-rendered for real before it confirms, the previous look stays untouched if anything fails, and nearby viewers refresh to the new outfit within seconds. Run a seasonal look, brand your agents as staff for an event, or just keep them fresh — all without walking back to where you pinned them.</description>
</item>
+ <item>
+ <title>Chat tool calls no longer break on certain models</title>
+ <link>https://three.ws/chat</link>
+ <guid isPermaLink="false">2026-06-17:Chat tool calls no longer break on certain models</guid>
+ <pubDate>Wed, 17 Jun 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Some models (like GPT OSS 120B) return tool-call arguments as a ready-made object instead of streamed text. Chat assumed text and mangled it into &quot;[object Object]&quot;, so tools such as ForgeTextTo3D failed with a JSON parse error. Chat now handles both formats, and a tool that takes no arguments no longer errors either — so generating a model from a prompt works across every model.</description>
+ </item>
<item>
<title>Choose who dances — avatar selector in the Pole Club</title>
<link>https://three.ws/club</link>
@@ -574,6 +582,14 @@
<category>fix</category>
<description>When a coin your sniper holds graduates from the pump.fun bonding curve to its AMM pool, the agent used to be stuck holding it — the position sat parked and your exit rules quietly stopped working. The sniper now follows a graduated coin straight onto the AMM and keeps managing it there: stop-loss, trailing-stop, take-profit, and the hold-time limit all keep working against the real post-graduation price, and the automatic sell goes out with slippage protection. Positions that were stuck before can be cleared with a one-time backfill.</description>
</item>
+ <item>
+ <title>Switch your agent mid-walk, and a fix for the avatar that wouldn't stop</title>
+ <link>https://three.ws/club</link>
+ <guid isPermaLink="false">2026-06-17:Switch your agent mid-walk, and a fix for the avatar that wouldn't stop</guid>
+ <pubDate>Wed, 17 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>The walk-in to the Pole Club now has an Agent picker in the top-left: choose which avatar you walk in as — from a set of bundled rigs or any public avatar from the gallery — and the model swaps live, mid-stride, with no reload and without losing your place or heading. You can switch as many times as you like, in any room along the way. Also fixed: an avatar that could keep walking on its own after the window lost focus or you opened the cover-charge card — held keys are now released cleanly so she always stops when you do.</description>
+ </item>
<item>
<title>Tag mini-game in /play worlds</title>
<link>https://three.ws/play</link>
diff --git a/public/features.json b/public/features.json
index 3fd4b6924..031392576 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-17T21:40:08.097Z",
+ "generated_at": "2026-06-17T21:44:13.769Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/club-audio.js b/src/club-audio.js
index 6b680f955..07fa98d93 100644
--- a/src/club-audio.js
+++ b/src/club-audio.js
@@ -72,6 +72,55 @@ export class ClubAudio {
this.master.connect(this.analyser);
this._peakBuf = new Uint8Array(this.analyser.frequencyBinCount);
+ // ── Outdoor / indoor effects chain ────────────────────────────────────
+ // All audio layers connect to effectsBus instead of master directly.
+ // Outdoor (default): heavy bass shelf, aggressive lowpass muffle,
+ // long sparse reverb — sounds like the club heard through the door.
+ // Indoor: open spectrum, tight room reverb, natural bass.
+ this.effectsBus = this.ctx.createGain();
+ this.effectsBus.gain.value = 1.0;
+
+ this._fx = {};
+
+ this._fx.bass = this.ctx.createBiquadFilter();
+ this._fx.bass.type = 'lowshelf';
+ this._fx.bass.frequency.value = 90;
+ this._fx.bass.gain.value = 18;
+
+ this._fx.lowpass = this.ctx.createBiquadFilter();
+ this._fx.lowpass.type = 'lowpass';
+ this._fx.lowpass.frequency.value = 420;
+ this._fx.lowpass.Q.value = 1.0;
+
+ this._fx.dry = this.ctx.createGain();
+ this._fx.dry.gain.value = 0.22;
+
+ // Outdoor reverb: 5s, sparse early reflections off building exterior
+ this._fx.outdoorConv = this.ctx.createConvolver();
+ this._fx.outdoorConv.buffer = this._buildIR(5.0, 1.0, 0.32);
+ this._fx.outdoorWet = this.ctx.createGain();
+ this._fx.outdoorWet.gain.value = 0.85;
+
+ // Indoor reverb: 1.5s, dense club room reverb
+ this._fx.indoorConv = this.ctx.createConvolver();
+ this._fx.indoorConv.buffer = this._buildIR(1.5, 2.8, 1.0);
+ this._fx.indoorWet = this.ctx.createGain();
+ this._fx.indoorWet.gain.value = 0.0;
+
+ // effectsBus → bass → lowpass → dry ──────────────────────────→ master
+ // → outdoorConv → outdoorWet ──────→ master
+ // → indoorConv → indoorWet ──────→ master
+ this.effectsBus.connect(this._fx.bass);
+ this._fx.bass.connect(this._fx.lowpass);
+ this._fx.lowpass.connect(this._fx.dry);
+ this._fx.lowpass.connect(this._fx.outdoorConv);
+ this._fx.lowpass.connect(this._fx.indoorConv);
+ this._fx.dry.connect(this.master);
+ this._fx.outdoorConv.connect(this._fx.outdoorWet);
+ this._fx.outdoorWet.connect(this.master);
+ this._fx.indoorConv.connect(this._fx.indoorWet);
+ this._fx.indoorWet.connect(this.master);
+
if (this.ctx.state === 'suspended') {
try {
await this.ctx.resume();
@@ -119,7 +168,7 @@ export class ClubAudio {
source.loop = true;
const gain = this.ctx.createGain();
gain.gain.value = initialGain;
- source.connect(gain).connect(this.master);
+ source.connect(gain).connect(this.effectsBus);
source.start();
return { source, gain };
}
@@ -218,7 +267,7 @@ export class ClubAudio {
source.loop = false;
const g = this.ctx.createGain();
g.gain.value = gain;
- source.connect(g).connect(this.master);
+ source.connect(g).connect(this.effectsBus);
const now = this.ctx.currentTime;
// Duck ambience under the anthem if it's already running.
@@ -252,6 +301,53 @@ export class ClubAudio {
return this.entrance;
}
+ // Synthetic impulse response for the convolver reverb.
+ // outdoor: sparse early reflections (low density), slow decay — building exterior
+ // indoor: dense full-room reverb, fast decay — club interior
+ _buildIR(duration, decay, density) {
+ const rate = this.ctx.sampleRate;
+ const len = Math.floor(rate * duration);
+ const buf = this.ctx.createBuffer(2, len, rate);
+ for (let c = 0; c < 2; c++) {
+ const ch = buf.getChannelData(c);
+ for (let i = 0; i < len; i++) {
+ const r =
+ density >= 1
+ ? Math.random() * 2 - 1
+ : Math.random() < density
+ ? Math.random() * 2 - 1
+ : 0;
+ ch[i] = r * Math.pow(1 - i / len, decay);
+ }
+ }
+ return buf;
+ }
+
+ // Crossfade the effects chain between outdoor (heavy muffle + bass + long reverb)
+ // and indoor (full spectrum + tight room reverb). Call with isInside=false when
+ // the user is at the door; isInside=true on club:admitted.
+ setLocation(isInside) {
+ if (!this.ctx || !this._fx) return;
+ const t = this.ctx.currentTime;
+ const tc = 0.9; // exponential time constant — fully settled in ~2s
+
+ if (isInside) {
+ this._fx.lowpass.frequency.setTargetAtTime(17000, t, tc);
+ this._fx.lowpass.Q.setTargetAtTime(0.5, t, tc);
+ this._fx.bass.gain.setTargetAtTime(9, t, tc);
+ this._fx.dry.gain.setTargetAtTime(0.65, t, tc);
+ this._fx.outdoorWet.gain.setTargetAtTime(0.0, t, tc);
+ this._fx.indoorWet.gain.setTargetAtTime(0.28, t, tc);
+ } else {
+ this._fx.lowpass.frequency.setTargetAtTime(420, t, tc);
+ this._fx.lowpass.Q.setTargetAtTime(1.0, t, tc);
+ this._fx.bass.gain.setTargetAtTime(18, t, tc);
+ this._fx.dry.gain.setTargetAtTime(0.22, t, tc);
+ this._fx.outdoorWet.gain.setTargetAtTime(0.85, t, tc);
+ this._fx.indoorWet.gain.setTargetAtTime(0.0, t, tc);
+ }
+ }
+
_fadeOutLayer(layer, durationMs) {
const now = this.ctx.currentTime;
const end = now + Math.max(0.05, durationMs / 1000);
diff --git a/src/club.js b/src/club.js
index 290514b52..7d6a46d6c 100644
--- a/src/club.js
+++ b/src/club.js
@@ -1292,7 +1292,11 @@ window.addEventListener('club:performance-end', () => {
{
const doorPay = document.getElementById('club-door-pay');
doorPay?.addEventListener('click', () => {
- audio.ensureContext().catch(() => {});
+ // Prime the context and start ambience immediately so the user hears the
+ // club music muffled through the door (outdoor effect is the default state).
+ audio.ensureContext()
+ .then(() => audio.startAmbience())
+ .catch(() => {});
}, { once: true });
const armOnGesture = () => {
@@ -1301,6 +1305,8 @@ window.addEventListener('club:performance-end', () => {
window.addEventListener('keydown', retry, { once: true });
};
window.addEventListener('club:admitted', () => {
+ // Transition audio from outdoor muffle → full indoor clarity as the door opens.
+ audio.setLocation(true);
// On a cached re-entry the door opens with no gesture, so the context is
// still locked — fall back to playing on the next interaction.
audio.playEntrance().catch(armOnGesture);