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
fix(avatar): projection believed the front of the head pointed away from the lens
nirholasb6381bd99577
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5ca52e2cc..996ea1433 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -31,7 +31,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Coin charts show a clean no-data state for dead markets** — Asking for the price chart of a coin with no market history returned an error that looked like an outage. It now returns an empty series and the chart renders its no-data state instead. (`/coins`) `[fix]`- **Large token images no longer break coin launches** — Uploading a big token image (a phone photo, a high-resolution PNG) during a coin launch used to fail with an unhelpful error because the image outgrew a server upload limit. The launch flow now shrinks oversized images right in your browser before uploading, and the server accepts everything the launch form allows, so any image you pick just works. (`/studio`) `[fix]`- **Paying agents now get an honest answer when settlement capacity runs dry** — Our x402 payment rail sponsors the network fee on Solana settlements from a platform wallet, and it refuses to settle when that wallet drops below its safety floor: that guard is deliberate and stays. What was wrong is how the refusal read from the outside. Buyers received a generic server error (HTTP 502) after they had already signed a payment, so agent trust monitors scored the platform as broken, and buying agents burned calls signing payments that could never complete during a dry spell. Now the whole path degrades honestly: while the sponsor wallet is below its floor, paid endpoints stop advertising the Solana payment option up front (other networks stay available), anything that still reaches settlement answers with a proper temporarily-unavailable status (HTTP 503) that tells clients to retry later, and no signed payment is ever consumed by a doomed attempt. Everything springs back automatically the moment the wallet is topped up, and a genuinely unexplained settlement failure still reports as the hard error it is. (`/x402`) `[fix, improvement]`-- **Selfie avatars now get your ears, jaw and neck, not just your face** — Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 38%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented. (`/create/selfie`) `[feature, improvement]`+- **Selfie avatars now get your ears, jaw and neck, not just your face** — Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 41%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented. (`/create/selfie`) `[feature, improvement]`- **Sniper fleet learns faster: honest honeypot verdicts and no more invisible losers** — Two fixes to the autonomous trading fleet from auditing its own record. The trade firewall now checks which leg of the simulated buy-and-sell round-trip failed: only a failed sell (the real cannot-exit shape) blocks a coin, while a buy leg that could not fund or price the probe is a warning instead of a false honeypot verdict. And the self-tuning optimizer no longer lets a strategy that has never won keep betting at full size below the minimum sample: zero wins over six or more real trades now triggers an automatic size reduction. (`/blog/autonomous-trading-experiment`) `[improvement, fix]`- **Text-to-animation works again, from a second GPU region** — Describe a motion in words and get an animation clip back: that lane had been silently dead. Every graphics card slot in our primary compute region was pinned by the always-on 3D generation engines, so the motion model's server could never get a card to start on, and every request failed. We had a second region with three granted GPU slots sitting completely unused, so the motion service now runs there, with the platform routed to it. A three-second test through the public API returned a finished 90-frame clip in under half a minute. The primary-region copy stays parked as spare capacity for when our larger GPU quota request is granted, and the always-on engines keep their cards; nothing else moved. `[fix, infra]`- **The agent economy now refuels itself when its gas wallet runs low** — This morning the agent-to-agent payment rail stalled for the second time in two days: the wallet that pays Solana network fees drifted below its safety floor while holding plenty of USDC, and the automatic rebalancer could not see that it needed SOL, only that its USDC looked fine. Payments are flowing again, and the root cause is fixed: the rebalancer now watches both sides of that wallet and automatically converts a small slice of its own USDC into SOL the moment fee runway runs low, so the loop refuels itself instead of waiting for a human. The economy also runs at a calmer, more efficient rhythm: fewer, larger payments per minute, which delivers more dollar volume for a fraction of the network fees. (`/forged`) `[fix, improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex bdcecd105..99264822b 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -16220,7 +16220,7 @@{"date": "2026-07-26","title": "Selfie avatars now get your ears, jaw and neck, not just your face",- "summary": "Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 38%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented.",+ "summary": "Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 41%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented.","tags": ["feature","improvement"diff --git a/docs/avatar-fidelity-program.md b/docs/avatar-fidelity-program.mdindex dc159a403..8eb1f5f79 100644--- a/docs/avatar-fidelity-program.md+++ b/docs/avatar-fidelity-program.md@@ -224,18 +224,36 @@ pixel. Anything failing a gate keeps its existing colour. The result blendswarp already applies, and is capped at `MAX_BLEND` so a slightly-wrong posedegrades to a tint rather than to a visibly wrong image.-**Measured on the shipped Wolf3D head** (`eval/measure_projection_coverage.py`),-photographic coverage of the head goes from **10.4% to 37.5%, a 3.6x increase**,-and holds up as the subject turns (37.4% at 15 degrees, 38.0% at 30):--| Camera | Projection reaches | New beyond the oval | Total photographic |-|---|---|---|---|-| Frontal | 36.1% | 27.1% | **37.5%** |-| 15 deg turn | 37.4% | 28.5% | 38.8% |-| 30 deg turn | 38.0% | 29.1% | 39.5% |+**Measured on the shipped Wolf3D head with real faces**+(`eval/measure_projection_coverage.py`), photographic coverage of the head goes+from **10.5% to 41.3%, a 3.9x increase**:++| | Share of the head's texels |+|---|---|+| Face-oval warp (what existed before) | 10.5% |+| New surface from projection | 30.8% |+| **Total photographic** | **41.3%** |++The harness reports the oval and the projection separately on purpose, and that+is what caught the sign bug below: while the signs were inverted, "new" came out+exactly equal to "projected", meaning the projected region and the face oval did+not overlap at all. That is impossible for a real camera, since the face is the+most camera-facing surface on the head. A single headline coverage number would+have looked healthy (it read 47%, higher than the correct 41%) and hidden it.Two decisions are worth recording because both nearly went the wrong way.+**The signs.** Depth and view direction were both inverted, so the pipeline+believed the front of the head pointed away from the lens. Every gate then+rejected the face and painted the back of the head instead. All ten unit tests+passed throughout, because each one *selects its test region by facing* and so+adapts to whichever sign is in force. Only an absolute claim catches this, and+there is now a test asserting that the surface the landmarks sit on faces the+camera (it fails at -0.89 with the old signs). Umeyama's reflection guard forces+a proper rotation and can absorb a sign flip in the correspondence, so the fitted+frame's handedness cannot be reasoned about from MediaPipe's documented z+convention; it has to be measured.+**The camera model.** The obvious approach, `cv2.solvePnP` against the head'slandmark vertices, does not work here and the synthetic tests did not catch it:they generated 2D points by projecting the same 3D points, so thediff --git a/docs/avatar-reconstruction.md b/docs/avatar-reconstruction.mdindex 4cd5f9174..e8d178573 100644--- a/docs/avatar-reconstruction.md+++ b/docs/avatar-reconstruction.md@@ -145,8 +145,9 @@ pose degrades to a tint rather than a visibly wrong image.Measured on the shipped template by[`eval/measure_projection_coverage.py`](../workers/avatar-reconstruction/eval/measure_projection_coverage.py),-photographic coverage of the head rises from **10.4% to 37.5%, a 3.6x increase**,-holding up as the subject turns (38.8% at 15 degrees, 39.5% at 30).+photographic coverage of the head rises from **10.5% to 41.3%, a 3.9x increase**:+the face oval keeps its 10.5% and projection adds 30.8% of ears, jawline, neck+and forehead that no landmark describes.Toggle with `PROJECTIVE_TEXTURE` (default `1`). Like the morph, it degradescleanly: a pose that will not solve logs and leaves the warp-only skin in place.diff --git a/public/changelog.json b/public/changelog.jsonindex 0aa5574ab..e21ed9fc0 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-27T17:53:26.317Z",+ "generated_at": "2026-07-27T17:56:11.589Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -241,7 +241,7 @@"date": "2026-07-26","type": "update","title": "Selfie avatars now get your ears, jaw and neck, not just your face",- "summary": "Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 38%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented.",+ "summary": "Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 41%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented.","link": "/create/selfie","tags": ["feature",diff --git a/public/changelog.xml b/public/changelog.xmlindex f4e354848..0c18288b1 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -188,7 +188,7 @@<guid isPermaLink="false">2026-07-26:Selfie avatars now get your ears, jaw and neck, not just your face</guid><pubDate>Sun, 26 Jul 2026 12:00:00 GMT</pubDate><category>feature</category>- <description>Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 38%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented.</description>+ <description>Until now a selfie avatar only carried your real appearance on the face itself, which is about a tenth of the head. Everything else, the ears, the jawline, the neck and the forehead up to the hairline, was a stock texture nudged toward your skin tone. The reason was technical: the face-tracking landmarks that guide the transfer only exist on the face, so there was nothing to guide it anywhere else. The avatar now works out where the camera was standing and paints the photo directly onto the 3D head, which needs no landmarks at all. Photographic coverage of the head goes from 10% to 41%. It only paints what the camera genuinely saw: anything angled away, hidden behind the nose or jaw, or outside your silhouette keeps the stock texture rather than being invented.</description></item><item><title>Sniper fleet learns faster: honest honeypot verdicts and no more invisible losers</title>diff --git a/public/features.json b/public/features.jsonindex 2bb9a6cfe..5794b609d 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-27T17:51:43.281Z",+ "generated_at": "2026-07-27T17:56:11.582Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",