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
/* hood-js docs — dark-first, one accent gradient, system type stack */
:root {
--bg: #0a0a0c;
--bg-raised: #121216;
--bg-inset: #0e0e11;
--border: #232329;
--border-strong: #34343c;
--text: #ededf0;
--text-dim: #9c9ca6;
--text-faint: #62626c;
--accent-a: #7ef29a;
--accent-b: #4cc9f0;
--accent-grad: linear-gradient(96deg, var(--accent-a), var(--accent-b));
--mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
--sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--up: #6fe08a;
--down: #f26d7e;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #fbfbfc;
--bg-raised: #ffffff;
--bg-inset: #f2f2f4;
--border: #e3e3e8;
--border-strong: #cccdd4;
--text: #16161a;
--text-dim: #55555f;
--text-faint: #85858f;
}
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font: 15px/1.6 var(--sans);
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-a); }
a:focus-visible, button:focus-visible, input:focus-visible {
outline: 2px solid var(--accent-b);
outline-offset: 2px;
border-radius: 4px;
}
code, pre { font-family: var(--mono); font-size: 0.86em; }
pre {
background: var(--bg-inset);
border: 1px solid var(--border);
border-radius: 10px;
padding: 16px 18px;
overflow-x: auto;
line-height: 1.55;
}
code:not(pre code) {
background: var(--bg-raised);
border: 1px solid var(--border);
border-radius: 5px;
padding: 1px 6px;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
/* nav */
nav.top {
position: sticky; top: 0; z-index: 10;
background: color-mix(in srgb, var(--bg) 82%, transparent);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
}
nav.top .wrap { display: flex; align-items: center; gap: 22px; height: 56px; }
.brand { font-weight: 700; letter-spacing: -0.02em; font-size: 16px; }
.brand .tick { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.top .links { display: flex; gap: 18px; margin-left: auto; font-size: 14px; color: var(--text-dim); }
nav.top .links a { padding: 4px 2px; transition: color 0.15s ease; }
/* hero */
.hero { padding: 84px 0 40px; }
.hero h1 {
font-size: clamp(30px, 5.4vw, 52px);
line-height: 1.08;
letter-spacing: -0.035em;
margin: 0 0 14px;
font-weight: 750;
}
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { color: var(--text-dim); font-size: 17px; max-width: 620px; margin: 0 0 26px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
display: inline-flex; align-items: center; gap: 8px;
border-radius: 8px; padding: 9px 18px; font-size: 14px; font-weight: 600;
border: 1px solid var(--border-strong);
background: var(--bg-raised);
color: var(--text);
cursor: pointer;
transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { border-color: var(--accent-a); color: var(--text); transform: translateY(-1px); }
.btn.primary { background: var(--accent-grad); color: #0a0f0b; border: none; }
.btn.primary:hover { filter: brightness(1.06); color: #0a0f0b; }
.install {
font-family: var(--mono); font-size: 13.5px;
color: var(--text-dim);
background: var(--bg-inset);
border: 1px solid var(--border);
border-radius: 8px; padding: 10px 16px;
display: inline-flex; gap: 10px; align-items: center;
}
.install .dollar { color: var(--accent-a); user-select: none; }
/* REPL */
.repl-head { display: flex; align-items: baseline; gap: 12px; margin: 46px 0 14px; flex-wrap: wrap; }
.repl-head h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.status { font-size: 12.5px; color: var(--text-faint); }
.status .dot {
display: inline-block; width: 7px; height: 7px; border-radius: 50%;
background: var(--text-faint); margin-right: 6px;
vertical-align: 1px;
transition: background 0.3s ease;
}
.status.live .dot { background: var(--up); box-shadow: 0 0 6px color-mix(in srgb, var(--up) 70%, transparent); }
.status.error .dot { background: var(--down); }
.repl {
background: var(--bg-inset);
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.repl-out {
padding: 16px 18px;
min-height: 220px;
max-height: 420px;
overflow-y: auto;
font-family: var(--mono);
font-size: 13.5px;
line-height: 1.6;
}
.repl-line { margin: 0 0 4px; white-space: pre-wrap; word-break: break-word; }
.repl-line.in { color: var(--text); }
.repl-line.in .prompt { color: var(--accent-a); margin-right: 6px; }
.repl-line.out { color: var(--accent-b); }
.repl-line.err { color: var(--down); }
.repl-line.hint { color: var(--text-faint); }
.repl-form {
display: flex; align-items: center; gap: 10px;
border-top: 1px solid var(--border);
padding: 10px 14px;
}
.repl-form .prompt { color: var(--accent-a); font-family: var(--mono); font-size: 13.5px; }
.repl-form input {
flex: 1;
background: transparent;
border: none;
color: var(--text);
font-family: var(--mono);
font-size: 13.5px;
outline: none;
}
.repl-form button {
background: var(--accent-grad);
color: #0a0f0b;
border: none;
border-radius: 6px;
font-weight: 600;
font-size: 13px;
padding: 6px 14px;
cursor: pointer;
transition: filter 0.12s ease;
}
.repl-form button:hover { filter: brightness(1.08); }
.repl-form button:disabled { opacity: 0.5; cursor: default; }
.repl-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.chip {
font-family: var(--mono); font-size: 12px;
background: var(--bg-raised);
border: 1px solid var(--border);
border-radius: 999px;
padding: 5px 12px;
cursor: pointer;
color: var(--text-dim);
transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--accent-a); color: var(--text); }
/* sections */
section.block { margin: 64px 0; }
section.block h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
section.block p.sub { color: var(--text-dim); margin: 0 0 20px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card {
background: var(--bg-raised);
border: 1px solid var(--border);
border-radius: 12px;
padding: 18px 20px;
transition: border-color 0.15s ease, transform 0.12s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.card h3 { margin: 0 0 6px; font-size: 15px; }
.card h3 code { font-size: 13px; }
.card p { margin: 0; color: var(--text-dim); font-size: 13.5px; }
.disclosure {
border: 1px solid var(--border);
border-left: 3px solid var(--accent-b);
background: var(--bg-inset);
border-radius: 10px;
padding: 14px 18px;
color: var(--text-dim);
font-size: 13.5px;
margin: 26px 0;
}
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
th, td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--text-faint); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
tr:last-child td { border-bottom: none; }
td code { white-space: nowrap; }
footer {
border-top: 1px solid var(--border);
margin-top: 80px; padding: 28px 0 44px;
color: var(--text-faint); font-size: 13.5px;
}
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 720px) {
.hero { padding: 56px 0 28px; }
nav.top .links { gap: 12px; }
nav.top .links a.hide-sm { display: none; }
.repl-form { flex-wrap: wrap; }
}