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: replace SVG features graphic with new design and update README.md
nirholas44ee4d515162
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex e0df846ea..4ddd493b1 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -7,7 +7,7 @@ Thanks for your interest in contributing! This guide covers everything you need## Quick Start```bash-git clone https://github.com/nirholas/3D.git+git clone https://github.com/nirholas/3d-agent.gitcd 3Dnpm installnpm run dev@@ -21,8 +21,8 @@ Open [http://localhost:3000](http://localhost:3000) and verify the default model### Report a Bug-1. Check [existing issues](https://github.com/nirholas/3D/issues) to avoid duplicates-2. Open a [new issue](https://github.com/nirholas/3D/issues/new) with:+1. Check [existing issues](https://github.com/nirholas/3d-agent/issues) to avoid duplicates+2. Open a [new issue](https://github.com/nirholas/3d-agent/issues/new) with:- Browser and OS- Steps to reproduce- Expected vs. actual behavior@@ -133,7 +133,7 @@ Use the [Khronos glTF Sample Assets](https://github.com/KhronosGroup/glTF-SampleLooking for something to work on? Here are areas that welcome contributions:-- **Bug fixes** — check the [issues page](https://github.com/nirholas/3D/issues)+- **Bug fixes** — check the [issues page](https://github.com/nirholas/3d-agent/issues)- **New environment maps** — add more HDR options- **Accessibility** — improve keyboard navigation and screen reader support- **Performance** — reduce re-renders, optimize disposal, add lazy loadingdiff --git a/README.md b/README.mdindex 2507b3625..7cd6a2450 100644--- a/README.md+++ b/README.md@@ -4,7 +4,7 @@ description: 3D Agent** is an open-source, browser-native 3D model viewer built---<p align="center">- <img src="public/3DAgent.png" width="500" height="500">+ <img src="public/ddd.png" width="500" height="500"></p><p align="center">@@ -13,7 +13,7 @@ description: 3D Agent** is an open-source, browser-native 3D model viewer built<a href="#-features"><strong>Features</strong></a> · <a href="#-tutorials"><strong>Tutorials</strong></a> · <a href="#-documentation"><strong>Docs</strong></a> · - <a href="https://github.com/nirholas/3D/issues/new"><strong>Feedback</strong></a>+ <a href="https://github.com/nirholas/3d-agent/issues/new"><strong>Feedback</strong></a></p>---@@ -55,72 +55,7 @@ It's built for **3D artists** previewing exports, **game developers** debugging<br/><p align="center">- <svg xmlns="http://www.w3.org/2000/svg" width="650" height="320" viewBox="0 0 650 320">- <defs>- <linearGradient id="c1" x1="0%" y1="0%" x2="100%" y2="100%">- <stop offset="0%" style="stop-color:#00d2ff;stop-opacity:0.15"/>- <stop offset="100%" style="stop-color:#00d2ff;stop-opacity:0.03"/>- </linearGradient>- <linearGradient id="c2" x1="0%" y1="0%" x2="100%" y2="100%">- <stop offset="0%" style="stop-color:#7b2ff7;stop-opacity:0.15"/>- <stop offset="100%" style="stop-color:#7b2ff7;stop-opacity:0.03"/>- </linearGradient>- <linearGradient id="c3" x1="0%" y1="0%" x2="100%" y2="100%">- <stop offset="0%" style="stop-color:#ff0080;stop-opacity:0.15"/>- <stop offset="100%" style="stop-color:#ff0080;stop-opacity:0.03"/>- </linearGradient>- <linearGradient id="c4" x1="0%" y1="0%" x2="100%" y2="100%">- <stop offset="0%" style="stop-color:#00ff88;stop-opacity:0.15"/>- <stop offset="100%" style="stop-color:#00ff88;stop-opacity:0.03"/>- </linearGradient>- <linearGradient id="c5" x1="0%" y1="0%" x2="100%" y2="100%">- <stop offset="0%" style="stop-color:#ff6b35;stop-opacity:0.15"/>- <stop offset="100%" style="stop-color:#ff6b35;stop-opacity:0.03"/>- </linearGradient>- <linearGradient id="c6" x1="0%" y1="0%" x2="100%" y2="100%">- <stop offset="0%" style="stop-color:#ffe66d;stop-opacity:0.15"/>- <stop offset="100%" style="stop-color:#ffe66d;stop-opacity:0.03"/>- </linearGradient>- </defs>- <rect width="650" height="320" rx="14" fill="#0d0d14"/>- <!-- Row 1 -->- <rect x="20" y="20" width="195" height="130" rx="10" fill="url(#c1)" stroke="#00d2ff" stroke-opacity="0.2"/>- <text x="117" y="60" text-anchor="middle" font-size="24">📂</text>- <text x="117" y="84" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="600" fill="#00d2ff">DRAG & DROP</text>- <text x="117" y="104" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Load .glTF / .GLB files</text>- <text x="117" y="118" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">instantly from disk</text>-- <rect x="227" y="20" width="195" height="130" rx="10" fill="url(#c2)" stroke="#7b2ff7" stroke-opacity="0.2"/>- <text x="324" y="60" text-anchor="middle" font-size="24">💡</text>- <text x="324" y="84" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="600" fill="#7b2ff7">LIGHTING ENGINE</text>- <text x="324" y="104" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">HDR environments, tone</text>- <text x="324" y="118" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">mapping & exposure ctrl</text>-- <rect x="434" y="20" width="195" height="130" rx="10" fill="url(#c3)" stroke="#ff0080" stroke-opacity="0.2"/>- <text x="531" y="60" text-anchor="middle" font-size="24">🎬</text>- <text x="531" y="84" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="600" fill="#ff0080">ANIMATIONS</text>- <text x="531" y="104" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Play, pause & scrub</text>- <text x="531" y="118" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">all animation clips</text>-- <!-- Row 2 -->- <rect x="20" y="168" width="195" height="130" rx="10" fill="url(#c4)" stroke="#00ff88" stroke-opacity="0.2"/>- <text x="117" y="208" text-anchor="middle" font-size="24">🔍</text>- <text x="117" y="232" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="600" fill="#00ff88">VALIDATION</text>- <text x="117" y="252" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Full glTF spec validator</text>- <text x="117" y="266" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">with error reports</text>-- <rect x="227" y="168" width="195" height="130" rx="10" fill="url(#c5)" stroke="#ff6b35" stroke-opacity="0.2"/>- <text x="324" y="208" text-anchor="middle" font-size="24">🦴</text>- <text x="324" y="232" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="600" fill="#ff6b35">INSPECTION</text>- <text x="324" y="252" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Wireframe, skeleton,</text>- <text x="324" y="266" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">morph targets & grid</text>-- <rect x="434" y="168" width="195" height="130" rx="10" fill="url(#c6)" stroke="#ffe66d" stroke-opacity="0.2"/>- <text x="531" y="208" text-anchor="middle" font-size="24">📱</text>- <text x="531" y="232" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="600" fill="#ffe66d">RESPONSIVE</text>- <text x="531" y="252" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Desktop, tablet &</text>- <text x="531" y="266" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">mobile optimized</text>- </svg>+ <img src="assets/features.svg" width="650" height="320" alt="Features overview"/></p><br/>@@ -163,7 +98,7 @@ It's built for **3D artists** previewing exports, **game developers** debugging<!-- Step 1 --><circle cx="60" cy="50" r="20" fill="none" stroke="#00d2ff" stroke-width="2"/><text x="60" y="56" text-anchor="middle" font-family="Inter, sans-serif" font-size="16" font-weight="700" fill="#00d2ff">1</text>- <text x="100" y="46" font-family="SF Mono, Fira Code, monospace" font-size="13" fill="#e0e0e0">git clone https://github.com/nirholas/3D.git</text>+ <text x="100" y="46" font-family="SF Mono, Fira Code, monospace" font-size="13" fill="#e0e0e0">git clone https://github.com/nirholas/3d-agent.git</text><text x="100" y="64" font-family="SF Mono, Fira Code, monospace" font-size="13" fill="#666">cd 3D</text><!-- Step 2 --><circle cx="60" cy="110" r="20" fill="none" stroke="#7b2ff7" stroke-width="2"/>@@ -178,7 +113,7 @@ It's built for **3D artists** previewing exports, **game developers** debugging</p>```bash-git clone https://github.com/nirholas/3D.git+git clone https://github.com/nirholas/3d-agent.gitcd 3Dnpm installnpm run dev@@ -555,7 +490,7 @@ The viewer uses `EXRLoader` + `PMREMGenerator` to process equirectangular HDR ma3. Make your changes and test locally with `npm run dev`4. Submit a pull request-File issues and feature requests at [github.com/nirholas/3D/issues](https://github.com/nirholas/3D/issues).+File issues and feature requests at [github.com/nirholas/3d-agent/issues](https://github.com/nirholas/3d-agent/issues).See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide.diff --git a/assets/features.svg b/assets/features.svgnew file mode 100644index 000000000..bdc13952e--- /dev/null+++ b/assets/features.svg@@ -0,0 +1,75 @@+<svg xmlns="http://www.w3.org/2000/svg" width="650" height="320" viewBox="0 0 650 320">+ <defs>+ <!-- shared card gradient: white glow top-left fading to near-black -->+ <linearGradient id="card" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" style="stop-color:#ffffff;stop-opacity:0.12"/>+ <stop offset="100%" style="stop-color:#ffffff;stop-opacity:0.02"/>+ </linearGradient>+ <!-- radial sheen that makes white "shine" -->+ <radialGradient id="sheen" cx="30%" cy="30%" r="60%">+ <stop offset="0%" style="stop-color:#ffffff;stop-opacity:0.18"/>+ <stop offset="100%" style="stop-color:#ffffff;stop-opacity:0"/>+ </radialGradient>+ <filter id="glow">+ <feGaussianBlur in="SourceGraphic" stdDeviation="2.5" result="blur"/>+ <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>+ </filter>+ </defs>++ <!-- background -->+ <rect width="650" height="320" rx="14" fill="#0a0a0a"/>+ <!-- subtle grid lines -->+ <line x1="215" y1="0" x2="215" y2="320" stroke="#ffffff" stroke-opacity="0.04"/>+ <line x1="422" y1="0" x2="422" y2="320" stroke="#ffffff" stroke-opacity="0.04"/>+ <line x1="0" y1="160" x2="650" y2="160" stroke="#ffffff" stroke-opacity="0.04"/>++ <!-- Row 1 -->+ <rect x="20" y="20" width="195" height="130" rx="10" fill="url(#card)"/>+ <rect x="20" y="20" width="195" height="130" rx="10" fill="url(#sheen)"/>+ <rect x="20" y="20" width="195" height="130" rx="10" fill="none" stroke="#ffffff" stroke-opacity="0.25" stroke-width="0.75"/>+ <text x="117" y="60" text-anchor="middle" font-size="24">📂</text>+ <text x="117" y="84" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="700" fill="#ffffff" filter="url(#glow)">DRAG & DROP</text>+ <text x="117" y="104" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Load .glTF / .GLB files</text>+ <text x="117" y="118" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">instantly from disk</text>++ <rect x="227" y="20" width="195" height="130" rx="10" fill="url(#card)"/>+ <rect x="227" y="20" width="195" height="130" rx="10" fill="url(#sheen)"/>+ <rect x="227" y="20" width="195" height="130" rx="10" fill="none" stroke="#ffffff" stroke-opacity="0.25" stroke-width="0.75"/>+ <text x="324" y="60" text-anchor="middle" font-size="24">💡</text>+ <text x="324" y="84" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="700" fill="#ffffff" filter="url(#glow)">LIGHTING ENGINE</text>+ <text x="324" y="104" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">HDR environments, tone</text>+ <text x="324" y="118" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">mapping & exposure ctrl</text>++ <rect x="434" y="20" width="195" height="130" rx="10" fill="url(#card)"/>+ <rect x="434" y="20" width="195" height="130" rx="10" fill="url(#sheen)"/>+ <rect x="434" y="20" width="195" height="130" rx="10" fill="none" stroke="#ffffff" stroke-opacity="0.25" stroke-width="0.75"/>+ <text x="531" y="60" text-anchor="middle" font-size="24">🎬</text>+ <text x="531" y="84" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="700" fill="#ffffff" filter="url(#glow)">ANIMATIONS</text>+ <text x="531" y="104" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Play, pause & scrub</text>+ <text x="531" y="118" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">all animation clips</text>++ <!-- Row 2 -->+ <rect x="20" y="168" width="195" height="130" rx="10" fill="url(#card)"/>+ <rect x="20" y="168" width="195" height="130" rx="10" fill="url(#sheen)"/>+ <rect x="20" y="168" width="195" height="130" rx="10" fill="none" stroke="#ffffff" stroke-opacity="0.25" stroke-width="0.75"/>+ <text x="117" y="208" text-anchor="middle" font-size="24">🔍</text>+ <text x="117" y="232" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="700" fill="#ffffff" filter="url(#glow)">VALIDATION</text>+ <text x="117" y="252" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Full glTF spec validator</text>+ <text x="117" y="266" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">with error reports</text>++ <rect x="227" y="168" width="195" height="130" rx="10" fill="url(#card)"/>+ <rect x="227" y="168" width="195" height="130" rx="10" fill="url(#sheen)"/>+ <rect x="227" y="168" width="195" height="130" rx="10" fill="none" stroke="#ffffff" stroke-opacity="0.25" stroke-width="0.75"/>+ <text x="324" y="208" text-anchor="middle" font-size="24">🦴</text>+ <text x="324" y="232" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="700" fill="#ffffff" filter="url(#glow)">INSPECTION</text>+ <text x="324" y="252" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Wireframe, skeleton,</text>+ <text x="324" y="266" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">morph targets & grid</text>++ <rect x="434" y="168" width="195" height="130" rx="10" fill="url(#card)"/>+ <rect x="434" y="168" width="195" height="130" rx="10" fill="url(#sheen)"/>+ <rect x="434" y="168" width="195" height="130" rx="10" fill="none" stroke="#ffffff" stroke-opacity="0.25" stroke-width="0.75"/>+ <text x="531" y="208" text-anchor="middle" font-size="24">📱</text>+ <text x="531" y="232" text-anchor="middle" font-family="Inter, sans-serif" font-size="12" font-weight="700" fill="#ffffff" filter="url(#glow)">RESPONSIVE</text>+ <text x="531" y="252" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">Desktop, tablet &</text>+ <text x="531" y="266" text-anchor="middle" font-family="Inter, sans-serif" font-size="10" fill="#888">mobile optimized</text>+</svg>diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.mdindex 49cc27bd3..c4cd60f91 100644--- a/docs/DEVELOPMENT.md+++ b/docs/DEVELOPMENT.md@@ -22,7 +22,7 @@ Everything you need to know to work on 3D Agent locally.## Setup```bash-git clone https://github.com/nirholas/3D.git+git clone https://github.com/nirholas/3d-agent.gitcd 3Dnpm install```diff --git a/public/3DAgent.png b/public/3DAgent.pngdeleted file mode 100644index 8b3337e02..000000000Binary files a/public/3DAgent.png and /dev/null differdiff --git a/public/ddd.png b/public/ddd.pngnew file mode 100644index 000000000..f5998260bBinary files /dev/null and b/public/ddd.png differdiff --git a/src/components/footer.jsx b/src/components/footer.jsxindex 63ca24b94..cb4e20c74 100644--- a/src/components/footer.jsx+++ b/src/components/footer.jsx@@ -16,7 +16,7 @@ export function Footer() {<aclass="item"target="_blank"- href="https://github.com/nirholas/3D/issues/new"+ href="https://github.com/nirholas/3d-agent/issues/new">help & feedback</a>@@ -25,7 +25,7 @@ export function Footer() {|</span>- <a class="item" target="_blank" href="https://github.com/nirholas/3D" aria-label="GitHub">+ <a class="item" target="_blank" href="https://github.com/nirholas/3d-agent" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg></a></footer>diff --git a/src/components/validator-report.jsx b/src/components/validator-report.jsxindex e0b2e0e64..418990b74 100644--- a/src/components/validator-report.jsx+++ b/src/components/validator-report.jsx@@ -73,7 +73,7 @@ export function ValidatorReport({below refer only to extensions that could not be scanned by thevalidation suite, and may still have rendered correctly. See:{' '}<a- href="https://github.com/nirholas/3D/issues/122"+ href="https://github.com/nirholas/3d-agent/issues/122"target="_blank">3D-Agent#122diff --git a/src/viewer.js b/src/viewer.jsindex b74be803e..993aeeb6a 100644--- a/src/viewer.js+++ b/src/viewer.js@@ -219,7 +219,7 @@ export class Viewer {MANAGER.setURLModifier((url, path) => {// URIs in a glTF file may be escaped, or not. Assume that assetMap is// from an un-escaped source, and decode all URIs before lookups.- // See: https://github.com/nirholas/3D/issues/146+ // See: https://github.com/nirholas/3d-agent/issues/146const normalizedURL =rootPath +decodeURI(url)@@ -282,7 +282,7 @@ export class Viewer {setContent(object, clips) {this.clear();- object.updateMatrixWorld(); // nirholas/3D#330+ object.updateMatrixWorld(); // nirholas/3d-agent#330const box = new Box3().setFromObject(object);const size = box.getSize(new Vector3()).length();