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 entrance admission celebration one-shot + changelog updates

nirholasa8736dac94b0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c5f8700e..06a43fdf4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **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]`
- **Leaving a review on an agent profile works again** — Submitting or updating a star rating on an agent's profile was quietly failing for signed-in users — the form said “Save failed” no matter what, because the security token that protects the save was being read incorrectly and never attached. Reviews now save on the first try. Signed-out visitors who tap Submit get a clear “Sign in to leave a review” prompt instead of a dead button, and agent profiles no longer log errors for agents that have no on-chain trading record — the track-record card simply stays hidden. `[fix]`
- **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]`
+- **Pay the Club cover and your avatar celebrates on the way in** — When you walk up to the Pole Club door and pay the cover charge, your avatar now throws a quick celebration dance the instant the USDC settles — right as the velvet rope drops — before strolling inside. It's the same beat the dancers get when you tip them, now yours for making it past the bouncer. The celebration is skipped automatically if you've turned on reduced motion, so entry stays instant either way. (`/club`) `[feature]`
- **Platform revenue now buys back $THREE onchain — and you can watch it** — The $THREE page has a new Programmatic buybacks panel that turns the protocol's economy into something you can verify, not just read about. Platform revenue is converted into $THREE bought on the open market and routed straight into the treasury — onchain, on a schedule, with every buy recorded against its Solscan receipt. This creates steady buy pressure for holders without ever burning supply. The panel shows how much revenue has been earned and what share of it has already been deployed into buybacks, so the link between the platform earning money and that money supporting $THREE is fully transparent. (`/three-token`) `[feature, infra]`
- **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]`
diff --git a/data/changelog.json b/data/changelog.json
index c520d231a..0a090b081 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$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": "Pay the Club cover and your avatar celebrates on the way in",
+ "summary": "When you walk up to the Pole Club door and pay the cover charge, your avatar now throws a quick celebration dance the instant the USDC settles — right as the velvet rope drops — before strolling inside. It's the same beat the dancers get when you tip them, now yours for making it past the bouncer. The celebration is skipped automatically if you've turned on reduced motion, so entry stays instant either way.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/club"
+ },
{
"date": "2026-06-18",
"title": "Your agent and its answer now sit together in chat",
diff --git a/public/animations/DancingTwerk.fbx b/public/animations/DancingTwerk.fbx
new file mode 100644
index 000000000..b0518fa7f
Binary files /dev/null and b/public/animations/DancingTwerk.fbx differ
diff --git a/public/changelog.json b/public/changelog.json
index a61629f6c..552e73ae2 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-18T05:03:49.103Z",
+ "generated_at": "2026-06-18T06:08:02.682Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -88,6 +88,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-18",
+ "type": "update",
+ "title": "Pay the Club cover and your avatar celebrates on the way in",
+ "summary": "When you walk up to the Pole Club door and pay the cover charge, your avatar now throws a quick celebration dance the instant the USDC settles — right as the velvet rope drops — before strolling inside. It's the same beat the dancers get when you tip them, now yours for making it past the bouncer. The celebration is skipped automatically if you've turned on reduced motion, so entry stays instant either way.",
+ "link": "/club",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-06-18",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index fa6ac6311..3fe49f731 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -70,6 +70,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 &quot;Pay&quot; 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>Pay the Club cover and your avatar celebrates on the way in</title>
+ <link>https://three.ws/club</link>
+ <guid isPermaLink="false">2026-06-18:Pay the Club cover and your avatar celebrates on the way in</guid>
+ <pubDate>Thu, 18 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>When you walk up to the Pole Club door and pay the cover charge, your avatar now throws a quick celebration dance the instant the USDC settles — right as the velvet rope drops — before strolling inside. It's the same beat the dancers get when you tip them, now yours for making it past the bouncer. The celebration is skipped automatically if you've turned on reduced motion, so entry stays instant either way.</description>
+ </item>
<item>
<title>Platform revenue now buys back $THREE onchain — and you can watch it</title>
<link>https://three.ws/three-token</link>
diff --git a/public/features.json b/public/features.json
index 355ba0061..5de844b65 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-18T05:03:49.091Z",
+ "generated_at": "2026-06-18T06:08:02.668Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/club-entrance.js b/src/club-entrance.js
index da2aa8b9d..298955c39 100644
--- a/src/club-entrance.js
+++ b/src/club-entrance.js
@@ -62,6 +62,11 @@ const AVATAR_URL = '/avatars/default.glb';
const MANIFEST_URL = '/animations/manifest.json';
const PASS_KEY = 'club:pass:v1';
const MOVE_CLIPS = new Set(['idle', 'walk']);
+// One-shot the avatar plays the instant the cover charge settles — a fist-in-
+// the-air beat before it walks past the velvet rope. Lazy-loaded from the
+// manifest on first admit (most visitors never pay a cover the same session as
+// a reload, so there's no point bundling it with idle/walk up front).
+const CELEBRATE_CLIP = 'celebrate';
const VENUE_NAMES = ['Alley', 'Gallery', 'Clubhouse']; // index-aligned with SEQUENCE, for the minimap label
// The agent switcher's catalog: bundled, known-good humanoid rigs that ship with
@@ -274,8 +279,9 @@ async function start(canvasEl) {
const anim = new AnimationManager();
anim.attach(avatar, { avatarUrl: AVATAR_URL });
- const moveDefs = (Array.isArray(manifest) ? manifest : []).filter((d) => MOVE_CLIPS.has(d.name));
- anim.setAnimationDefs(moveDefs);
+ const sceneDefs = (Array.isArray(manifest) ? manifest : [])
+ .filter((d) => MOVE_CLIPS.has(d.name) || d.name === CELEBRATE_CLIP);
+ anim.setAnimationDefs(sceneDefs);
// Inject the pre-fetched clip data directly — no second network round-trip,
// animations are bound before the first render frame so there's no T-pose.
anim.injectClip('idle', idleClipJson, { loop: true });
@@ -655,6 +661,10 @@ async function start(canvasEl) {
let phaseStart = performance.now();
let raf = 0;
let last = performance.now();
+ // True only while the admission celebration one-shot is playing. Freezes the
+ // movement clip so the per-frame idle/walk crossfade in stepAvatar can't
+ // stomp the celebrate clip the instant it starts.
+ let celebrating = false;
function setPhase(p) { phase = p; phaseStart = performance.now(); }
@@ -754,6 +764,9 @@ async function start(canvasEl) {
// Move + face the avatar, clamp to the corridor, and drive the walk clip.
function stepAvatar(ix, iz, dt) {
+ // Hold position + clip while the admission celebration plays — the dance
+ // owns the avatar until it finishes, then walking resumes.
+ if (celebrating) return;
const len = Math.hypot(ix, iz);
if (len < 0.04) {
anim.crossfadeTo('idle', 0.25).catch(() => {});
@@ -794,18 +807,51 @@ async function start(canvasEl) {
camera.lookAt(target);
}
- // Cover settled — the door is now just a doorway. Keep walking: fade out the
- // alley and into the next place. (Input is already disabled from tryEnter.)
- function onPaid() {
+ // Cover settled — the door is now just a doorway. The avatar throws a quick
+ // celebration dance the moment the USDC lands, then keeps walking: fade out
+ // the alley and into the next place. (Input is already disabled from
+ // tryEnter.)
+ async function onPaid() {
if (phase !== 'walk') return;
paid = true;
currentCover = false;
showPrompt(false); showHint(false); showJoystick(false); showMinimap(false); showAgentSwitch(false);
+ await celebrateAdmission();
advance();
}
onAdmit = onPaid;
if (admitted) onPaid();
+ // Play the admission dance once and resolve when it finishes, so the walk-in
+ // fade picks up cleanly off the last frame. Skipped silently when motion is
+ // reduced or the active rig can't be driven by the canonical clip library
+ // (the dance would be a no-op) — in both cases we advance straight away. A
+ // hard cap backstops a 'finished' event the mixer never fires (a clip that
+ // failed to retarget), so a paying visitor is never stranded outside.
+ function celebrateAdmission() {
+ if (prefersReducedMotion || !anim.supportsCanonicalClips() || !anim.canPlay(CELEBRATE_CLIP)) {
+ return Promise.resolve();
+ }
+ return new Promise((resolve) => {
+ let settled = false;
+ const finish = () => {
+ if (settled) return;
+ settled = true;
+ clearTimeout(cap);
+ try { anim.mixer?.removeEventListener('finished', onFinished); } catch {}
+ celebrating = false;
+ resolve();
+ };
+ const onFinished = () => finish();
+ const cap = setTimeout(finish, 5000);
+ try { anim.mixer?.addEventListener('finished', onFinished); } catch {}
+ celebrating = true;
+ // settleTo:null — hold the final celebrate pose under the fade-out
+ // instead of snapping back to idle right before the alley dissolves.
+ anim.playOnce(CELEBRATE_CLIP, { settleTo: null, fade: 0.2 }).catch(finish);
+ });
+ }
+
function onResize() {
renderer.setSize(window.innerWidth, window.innerHeight, false);
composer.setSize(window.innerWidth, window.innerHeight);