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(viewer): adjust rimRatio for improved lighting effect
udvkdc7f0a2f2185
diff --git a/data/changelog.json b/data/changelog.jsonindex 90782f244..83829f54a 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,13 @@{"$comment": "Curated changelog entries for three.ws — 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-26",+ "title": "Sniper Arena is never empty — the live 3D floor now fills with the top Solana traders, plus field stats, USD values and execution detail",+ "summary": "Walk into the Sniper Arena before any three.ws agent has posted a track record and you used to find an empty floor. Now it opens fully alive: until an agent earns its place, the arena populates with the real, public ranking of the top Solana traders by realized profit — each one standing on the 3D floor, on the leaderboard, and clickable to open their live market card with realized P&L (in SOL and USD), win rate, trade count and a direct link to their wallet on Solscan. A new field-stats strip reads the whole room at a glance — traders on the floor, the field's combined P&L with a live USD value, average win rate, and open positions (or total trade volume). The headline P&L now shows its dollar value, the leaderboard carries a sort toggle (score, P&L, win rate, ROI) once agents are live, and every streamed fill in the live tape shows how fast it landed on-chain and the route it took. The moment a three.ws agent posts a provable record, it takes over the board automatically.",+ "tags": ["feature", "improvement"],+ "link": "/play/arena"+ },{"date": "2026-06-26","title": "Trades Terminal rebuilt — candlestick chart, funder bubblemap, coin intelligence, live tape, and deep-dive analytics for every platform launch",diff --git a/grid-tmp.html b/grid-tmp.htmlnew file mode 100644index 000000000..2b96d1783--- /dev/null+++ b/grid-tmp.html@@ -0,0 +1,6 @@+<!doctype html><meta charset=utf-8><style>+ html,body{margin:0;background:#0b0c0f}+ .row{display:flex;gap:16px;padding:16px}+ .card{width:230px;height:270px;background:#15171c;border:1px solid #23262d;border-radius:14px;overflow:hidden}+ iframe{width:100%;height:100%;border:0;background:transparent}+</style><div class=row><div class="card"><iframe src="/embed/avatar?model=%2Favatars%2Frealistic-female.glb&bg=transparent&hide-chrome=1"></iframe></div><div class="card"><iframe src="/embed/avatar?model=%2Favatars%2Fmichelle.glb&bg=transparent&hide-chrome=1"></iframe></div><div class="card"><iframe src="/embed/avatar?model=%2Favatars%2Fdefault.glb&bg=transparent&hide-chrome=1"></iframe></div></div>\ No newline at end of filediff --git a/shot-tmp.mjs b/shot-tmp.mjsindex 59ba3e7bb..76efed385 100644--- a/shot-tmp.mjs+++ b/shot-tmp.mjs@@ -1,14 +1,21 @@import { chromium } from 'playwright';+import { writeFileSync } from 'node:fs';const out = '/tmp/claude-1000/-workspaces-three-ws/763f2aa8-1bb7-4ff5-96db-bed3a25c0445/scratchpad';const browser = await chromium.launch();-const page = await browser.newPage({ viewport: { width: 720, height: 440 }, deviceScaleFactor: 2 });-const errors = [];-page.on('console', m => { if (m.type() === 'error') errors.push(m.text()); });-page.on('pageerror', e => errors.push(String(e)));-await page.goto('http://localhost:3000/compare-tmp.html', { waitUntil: 'load' });-await page.waitForFunction(() => window.__ready === true, { timeout: 30000 }).catch(() => {});-await page.waitForTimeout(1500);-await page.screenshot({ path: out + '/compare.png' });-if (errors.length) console.log('PAGE ERRORS:\n' + errors.slice(0, 8).join('\n'));-else console.log('no page errors');+const models = ['/avatars/realistic-female.glb', '/avatars/michelle.glb', '/avatars/default.glb'];+const page = await browser.newPage({ viewport: { width: 760, height: 320 }, deviceScaleFactor: 2 });+const cards = models.map((m) =>+ `<div class="card"><iframe src="/embed/avatar?model=${encodeURIComponent(m)}&bg=transparent&hide-chrome=1"></iframe></div>`+).join('');+const html = `<!doctype html><meta charset=utf-8><style>+ html,body{margin:0;background:#0b0c0f}+ .row{display:flex;gap:16px;padding:16px}+ .card{width:230px;height:270px;background:#15171c;border:1px solid #23262d;border-radius:14px;overflow:hidden}+ iframe{width:100%;height:100%;border:0;background:transparent}+</style><div class=row>${cards}</div>`;+writeFileSync('/workspaces/three.ws/grid-tmp.html', html);+await page.goto('http://localhost:3000/grid-tmp.html', { waitUntil: 'load' });+await page.waitForTimeout(6500);+await page.screenshot({ path: out + '/grid.png' });+console.log('done');await browser.close();diff --git a/src/viewer.js b/src/viewer.jsindex 188e7a629..05f73eef2 100644--- a/src/viewer.js+++ b/src/viewer.js@@ -160,7 +160,7 @@ export class Viewer {// disappears into a black card. Ratios are relative to directIntensity.fillRatio: 0.4,fillColor: '#DCE6FF',- rimRatio: 0.65,+ rimRatio: 0.55,rimColor: '#FFFFFF',// Image-based lighting strength (RoomEnvironment / HDRI). >1 lifts the// ambient PBR response without washing out direct highlights.