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
Feature 15: live activity ticker and hype moments
A live world should feel alive even when you just stand there. The market already drives world FX (market-reactor.js) and the chart jumbotron streams real trades; what is missing is a human-readable pulse: who joined, who bought, what just happened. Build the ticker and the hype moments on top of the feeds we already have.
Where the code lives
- Market-to-world FX:
src/game/market-reactor.js(it already detonates a beam over the totem on a whale-sized trade, so the hype moment extends that hook rather than adding a second one); trade feeds:src/game/chart-screen.js(/api/pump/coin-trades,/api/robinhood/coin-tradesfor hoodchain worlds). The chart badge now has astalestate after three consecutive failed polls, with the tape's age drawn under it: the ticker must go quiet on a stale tape, never celebrate from it.api/robinhood/coin-trades.jsdrops a malformed firehose event instead of 500ing the poll, so a quiet ticker means a quiet market, not a dead feed - Player joins/leaves: the Colyseus room state in
src/game/community-net.js(the HUD online count already consumes it) - In-world purchases worth celebrating: cosmetics buys, wheel wins, x402 payments (
agent-commerce.js,x402-jumbotron.js); war results already reach the platform feed aswar-resultevents (multiplayer/src/feed.js) and the war portal holds a 9 s win takeover on its board (HYPE_MSinsrc/game/war-portal.js), the nearest precedent for a hype moment with a cooldown - HUD layer + toast precedent:
src/game/coincommunities-ui.js, styles insrc/game/coincommunities.css
What to build
- The ticker. A compact, low-key activity feed (bottom corner opposite chat, collapsible, off by default on small screens) streaming real events: player joined, buy of size X, wheel win, cosmetic purchase, quest completion if Feature 13 landed. Real data only; if a feed is quiet the ticker is quiet. Cap the DOM (virtualize or prune old rows) so an hours-long session never leaks nodes.
- Hype moments. Threshold-based celebrations sourced from the real trade feed: a genuinely large buy for this coin triggers a short world moment (jumbotron flash, sound if unmuted, brief FX through the existing market-reactor hooks). Tune thresholds per-coin from recent trade sizes, not a hardcoded dollar number, so small coins get moments too. Strict cooldown so a volatile minute cannot strobe the world.
- Privacy and abuse. Wallet addresses truncated, player names as rendered in nameplates only, no external links from ticker rows, and coin metadata treated as untrusted display text (it never becomes markup or instructions).
- Performance envelope. Zero per-frame cost when nothing is happening; the ticker must respect the frame governor and never touch layout during the render loop.
Verify
- On
npm run devagainst the live trade feed for the $THREE mint: rows appear on real trades, a simulated large-trade payload (dev-only injection through the same code path, removed before commit is not required if it is a proper debug hook gated off in production) triggers exactly one hype moment with cooldown honored. - Two-browser join/leave shows in the ticker. DOM node count stays bounded after 15 minutes.
npm testgreen; add a unit test for the threshold tuner.
Report format
Files shipped, the threshold logic in two sentences, measured DOM/node behavior over a soak, and the data/changelog.json entry.