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.

Footer bot, arena, THREE economy, and IBM user group docs

nirholas53401dc7f259
diff --git a/docs/internal/IBM_USER_GROUP.md b/docs/internal/IBM_USER_GROUP.md
new file mode 100644
index 000000000..c51cc2a85
--- /dev/null
+++ b/docs/internal/IBM_USER_GROUP.md
@@ -0,0 +1,85 @@
+# IBM User Group — listing brief
+
+three.ws was offered to list the **Three.ws User Group** in the **IBM User Group Directory**.
+IBM offered assistance with hosting
+options and next steps. This doc captures the program, our decision, the action
+checklist, and a paste-ready reply.
+
+This pairs with our existing IBM work — see [the watsonx/Granite integration](../ibm.md)
+(three.ws is an [IBM Business Partner](../ibm.md#partnership--affiliation)) and the
+public showcase at [three.ws/ibm](https://three.ws/ibm). The user-group listing is a
+**community/directory** track, separate from the technical partnership; keep the
+[affiliation framing](../ibm.md#partnership--affiliation) intact when you reference it.
+
+---
+
+## What the program is
+
+The IBM User Group Directory lists community-run user groups so members can find
+and join them. As of this contact the program is **platform-agnostic**: IBM does
+not require you to host on their stack. You point them at a public URL for your
+group, and they add it to the directory with a link.
+
+---
+
+## The offer (hosting options)
+
+IBM gave two routes:
+
+| # | Option | What it is | Who maintains it |
+|---|--------|------------|------------------|
+| 1 | **Self-hosted** | Host the group page on any platform you choose — IBM suggested Luma, Meetup, or LinkedIn — and send them the URL. The program is platform-agnostic, so **any** public URL works. | us |
+| 2 | **IBM Community page** | IBM stands up a dedicated page for the group on IBM Community and gives us the URL. Comes with an onboarding call, and runs "for as long as IBM supports it." | IBM |
+
+IBM also flagged three resources, independent of the hosting choice:
+
+- **User Group Benefits Application** — apply for benefits/support for group events and activities.
+- **Add Event to Event Listings** — submit upcoming events to be featured in IBM's user-group event listings.
+- **Leaders & Liaisons Call** — a recurring call for group leaders to share tips.
+
+---
+
+## Decision: self-host on three.ws
+
+**Pick Option 1 and use our own platform as the canonical home.** Reasoning:
+
+- **We own the audience.** three.ws already has a live community surface at
+ [three.ws/community](https://three.ws/community), plus $THREE holders on
+ Telegram, X ([@trythreews](https://x.com/trythreews)), and the public
+ [changelog](https://three.ws/changelog). Routing the group through Meetup/Luma/
+ LinkedIn would hand our community and its traffic to a third party. Self-hosting
+ keeps the hub on-brand and one click from the product.
+- **It showcases the platform.** three.ws is a platform that builds community and
+ agent surfaces. Sending IBM a polished page on our own domain *is* the pitch.
+- **Zero lock-in, zero wait.** Option 2 lives "for as long as IBM supports it" and
+ requires a setup call. Our page is live today and fully under our control.
+- **Events still get the right tool.** Use **Luma** purely for event RSVPs/ops and
+ link it from our hub — keep the canonical group page on three.ws. Submit those
+ same events to IBM's event listings (resource above).
+
+**Canonical URL to give IBM:** `https://three.ws/community`
+
+Optional upgrade (recommended, not blocking): add a dedicated, directory-facing
+landing at `https://three.ws/community/ibm` (or `/user-group`) framed for IBM's
+audience — what the group is, who it's for, how to join, upcoming events, and the
+IBM-Business-Partner context. Give IBM that URL instead once it's live. Register
+any new page in [`data/pages.json`](../../data/pages.json) so it flows into the
+sitemap and changelog automatically.
+
+---
+
+## Action checklist
+
+- [ ] Confirm the canonical URL is presentable for an external directory:
+ visit [three.ws/community](https://three.ws/community), check it loads, has a
+ clear "what this is / how to join" header, and links out to Telegram + X.
+- [ ] (Recommended) Build the dedicated `/community/ibm` landing and register it in
+ [`data/pages.json`](../../data/pages.json); run `npm run build:pages`.
+- [ ] Submit the next event(s) to IBM's event listings (link in Ben's email).
+- [ ] File the User Group Benefits Application (link in Ben's email).
+- [ ] Add a recurring reminder for the Leaders & Liaisons call if we want to attend.
+- [ ] Once IBM confirms the directory entry is live, add a row to
+ [`docs/listings.md`](../listings.md) and a holder-readable
+ [changelog](../../data/changelog.json) entry (tag: `docs`).
+---
+
diff --git a/src/footer-bot.js b/src/footer-bot.js
index 4ba658f3b..d50d7cc1e 100644
--- a/src/footer-bot.js
+++ b/src/footer-bot.js
@@ -11,6 +11,7 @@ import {
AnimationMixer,
} from 'three';
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
+import { getMeshoptDecoder } from './viewer/internal.js';
import { reserveWebGLContext } from './webgl-budget.js';
// The footer bot is purely decorative. Every failure mode here — no mount
@@ -81,14 +82,37 @@ import { reserveWebGLContext } from './webgl-budget.js';
}
}
+ // Both bot assets ship with EXT_meshopt_compression, so the loader must have
+ // the meshopt decoder wired before it can parse a single bufferView —
+ // otherwise GLTFLoader throws "setMeshoptDecoder must be called before loading
+ // compressed files". One loader, built once; getMeshoptDecoder is memoized and
+ // shared with the rest of the app, and pulls only the small meshopt module
+ // (no draco/KTX2 — these assets use neither).
+ let _loaderPromise = null;
+ function getLoader() {
+ if (!_loaderPromise) {
+ _loaderPromise = getMeshoptDecoder().then((decoder) => {
+ const loader = new GLTFLoader();
+ loader.setMeshoptDecoder(decoder);
+ return loader;
+ });
+ }
+ return _loaderPromise;
+ }
+
function loadBot(index = 0, retried = false) {
if (index >= BOT_ASSETS.length) return; // every source exhausted — leave the canvas empty
const url = BOT_ASSETS[index];
- new GLTFLoader().load(url, mountBot, undefined, () => {
- // Retry the same source once (transient fetch failures usually clear),
- // then advance to the next fallback asset.
- if (!retried) loadBot(index, true);
- else loadBot(index + 1, false);
+ getLoader().then((loader) => {
+ loader.load(url, mountBot, undefined, () => {
+ // Retry the same source once (transient fetch failures usually clear),
+ // then advance to the next fallback asset.
+ if (!retried) loadBot(index, true);
+ else loadBot(index + 1, false);
+ });
+ }).catch(() => {
+ // Decoder module import failed (offline / blocked CDN). Decorative — leave
+ // the canvas empty rather than surface an uncaught rejection.
});
}
diff --git a/src/play/arena.js b/src/play/arena.js
index 3f577d9bf..cb091b8f3 100644
--- a/src/play/arena.js
+++ b/src/play/arena.js
@@ -597,8 +597,8 @@ async function mountJoystick() {
zone.style.display = 'block';
const stick = nipplejs.create({ zone, mode: 'static', position: { left: '60px', bottom: '70px' }, color: 'rgba(110,231,255,0.6)', size: 110 });
stick.on('move', (_e, d) => {
- const f = (d.force || 0);
- const a = d.angle?.radian ?? 0;
+ const f = (d?.force || 0);
+ const a = d?.angle?.radian ?? 0;
world.setJoystick(Math.cos(a) * Math.min(1, f), Math.sin(a) * Math.min(1, f));
});
stick.on('end', () => world.setJoystick(0, 0));
diff --git a/src/three-economy.js b/src/three-economy.js
index cdd4e55de..bfbd70d4a 100644
--- a/src/three-economy.js
+++ b/src/three-economy.js
@@ -13,6 +13,13 @@
// scarcity=violet — so the same value is recognizable in the flow, the stats, and
// the catalog. Motion is purposeful and fully reduced-motion aware.
+// Holder access reads go through the shared, wallet-aware data layer (three-access.js)
+// so a connected wallet's tier surfaces here exactly as it does in the nav chip and
+// Forge — one source of truth, no independent fetch. Wallet connect reuses the global
+// connect button (initWalletButton wires the hidden #connect-wallet-btn this page mounts).
+import { getAccess } from './three-access.js';
+import { initWalletButton } from './wallet.js';
+
const API = '/api/three';
const MINT = 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump';
const REDUCED_MOTION =
@@ -280,6 +287,8 @@ function injectStyles() {
.ec-progress .fill { height:100%; border-radius:999px; background:linear-gradient(90deg,var(--green),#a8f0c8);
width:0; transition:width 1s var(--ease); }
.ec-progress .lbl { display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted); margin-top:9px; }
+ .ec-tier-connect { margin-top:18px; }
+ .ec-tier-connect .ec-muted { margin:10px 0 0; font-size:12.5px; line-height:1.55; max-width:520px; }
/* Your access (personal feature matrix) */
.ta-panel { border:1px solid var(--line); border-radius:16px; overflow:hidden;
@@ -774,7 +783,13 @@ function tiersHTML(tierData, features) {
if (f) f.style.width = `${pct}%`;
}, 80);
} else if (cur == null) {
- progress = `<p class="ec-muted" style="margin-top:18px;font-size:13px">Sign in and link a Solana wallet to see your tier and track progress to the next one.</p>`;
+ // No resolved tier yet (no connected wallet, no session). Offer the lowest-friction
+ // path — connect a wallet and read the tier straight from on-chain $THREE. The
+ // button is wired in wireTierConnect() after every render.
+ progress = `<div class="ec-tier-connect">
+ <button class="ec-btn primary" id="ec-tier-connect" type="button">Connect wallet to see your tier</button>
+ <p class="ec-muted">Reads your tier straight from your on-chain $THREE — no account needed. Or sign in below to link a wallet and track progress.</p>
+ </div>`;
}
return `<div class="ec-tiers">${cards}</div>${progress}`;
}
@@ -972,6 +987,7 @@ let DISCOUNT_BPS = 0; // current holder's tier discount
let _accessBound = false; // wallet:changed listener attached once
let _tierData = null; // last /api/three/tier payload (ladder + current tier + progress)
let _accessFeatures = null; // last gated-feature matrix from /api/three/access (Live/Planned)
+let _synthTier = false; // true when _tierData was synthesized from a connected wallet (no session)
// Render the holder-tier ladder from whatever we know so far: the ladder + current
// tier from /api/three/tier, and the live gated-feature matrix from /api/three/access