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(flow): stop requesting map avatars in CORS mode so a cached thumbnail still renders
nirholas04332c156454
diff --git a/src/flow-map.js b/src/flow-map.jsindex 484a191ad..96c17c1ba 100644--- a/src/flow-map.js+++ b/src/flow-map.js@@ -125,7 +125,13 @@ function preloadAvatars() {for (const n of state.view?.nodes || []) {if (!n.avatar_thumbnail_url || state.images.has(n.id)) continue;const img = new Image();- img.crossOrigin = 'anonymous';+ // Deliberately NOT crossOrigin: the map only ever drawImage()s these+ // thumbnails, never reads the canvas back, so the CORS request mode buys+ // nothing. It costs plenty though. The same R2 thumbnails render as plain+ // <img> all over the platform (gallery, agent cards, explore), and Chrome+ // refuses to reuse a cached no-CORS response for a CORS request: every+ // avatar the visitor had already seen elsewhere failed here with "blocked+ // by CORS policy" and left its node without a face.img.decoding = 'async';img.onload = () => { state.images.set(n.id, img); draw(); };// A missing thumbnail is normal, not an error: the node falls back to its