3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
:root { font-family: system-ui, sans-serif; color: #edf0f2; background: #20252b; font-synthesis: none; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; color: inherit; cursor: pointer; border-radius: 6px; background: #354047; padding: 10px 14px; }
button:hover { background: #45515a; }
button:disabled { cursor: default; opacity: .5; }
a[aria-disabled='true'] { opacity: .5; pointer-events: none; }
:focus-visible { outline: 2px solid #a9d7c7; outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: 12px; padding: 12px; z-index: 10; background: #edf0f2; color: #191d22; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.navigation { position:sticky; top:0; z-index:5; width:100%; padding:18px max(24px, calc((100vw - 1352px) / 2)); display:flex; flex-direction:row; align-items:center; gap:20px; }
.brand { font-size: 37px; font-weight: 650; letter-spacing: -2px; line-height: 1; }
.brand span { font-weight: 400; color: #b7c1c8; }
.library-description { margin: 13px 0 17px; font-size: 13px; color: #b8c1c7; }
.version { font-family: ui-monospace, monospace; font-size: 12px; color: #a9d7c7; }
nav { display: flex; flex-direction: column; gap: 7px; width: 100%; margin-top: 40px; }
nav a { font-size: 14px; padding: 11px 12px; margin-left: -12px; border-radius: 6px; }
nav a:hover, nav a[aria-current] { background: #edf0f20a; }
nav a[aria-current] { color: #b8e6d2; }
.navigation-note { margin: auto 0 0; font-size: 12px; line-height: 1.8; color: #a3aeb7; }
main { max-width: 1500px; margin: 0 auto; padding: 42px 44px 60px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 550; letter-spacing: -1.2px; margin-bottom: 14px; }
h2 { font-size: 21px; font-weight: 550; letter-spacing: -.5px; margin-bottom: 24px; }
h3 { font-size: 17px; font-weight: 550; margin: 0; }
p { line-height: 1.6; color: #b9c4cc; font-size: 14px; }
.introduction { display: flex; align-items: center; gap: 28px; justify-content: space-between; margin-bottom: 30px; }
.introduction p { max-width: 570px; margin-bottom: 0; }
.start-link { white-space: nowrap; font-size: 14px; color: #b8e6d2; }
.start-link:hover, .release-links a:hover { text-decoration: underline; }
.install { margin-bottom: 43px; }
.install-label { display: flex; gap: 9px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.npm-icon { width: 19px; height: 19px; fill: #dc6262; }
.command-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 14px 12px 18px; background: #151a1e; border-radius: 8px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.command-row code { color: #c5e2d4; font-size: 13px; overflow-wrap: anywhere; line-height: 1.65; }
.command-row button { flex-shrink: 0; font-size: 12px; }
.release-feedback { display: flex; gap: 12px; align-items: center; margin-top: 9px; }
.release-feedback p { margin: 0; font-size: 12px; color: #aebbb6; }
.release-feedback button { font-size: 12px; padding: 5px 10px; }
[data-release-status][data-status='error'] { color: #f0b995; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 33px 26px; }
.example { display: block; min-width: 0; }
.example img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #171c20; display: block; border-radius: 8px; }
.example:hover img { filter: brightness(1.06); }
.example-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 7px; }
.example-caption > span { color: #a9b6c0; font-size: 12px; }
.example p { font-size: 13px; margin-bottom: 0; }
.downloads { margin-top: 54px; scroll-margin-top: 30px; }
.section-heading { display: flex; gap: 16px; align-items: center; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading > span { font-size: 12px; color: #a9d7c7; font-family: ui-monospace, monospace; margin-bottom: 12px; }
.download-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 23px 0; }
.download { padding: 22px; background: #293139; border-radius: 8px; display: flex; flex-direction: column; gap: 9px; }
.download:hover { background: #313c43; }
.download strong { font-size: 15px; font-weight: 550; }
.download > span { font-size: 13px; color: #bbc7cf; }
.release-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: #b8e6d2; }
.docs section { margin-top: 36px; }
.docs { max-width: 1120px; }
.docs h2 { margin-bottom: 14px; }
.docs ol { padding-left: 22px; color: #b9c4cc; font-size: 14px; line-height: 1.9; }
.docs pre { overflow-x: auto; background: #151a1e; border-radius: 8px; padding: 24px; font-size: 13px; line-height: 1.7; color: #c5e2d4; }
.docs pre code { color: inherit; }
.docs .install { margin-top: 24px; margin-bottom: 30px; }
@media (max-width: 1100px) { main { padding: 34px 30px 50px; } .introduction { align-items: flex-start; flex-direction: column; gap: 18px; } }
@media (max-width: 760px) {
.navigation { padding:16px 22px; display:grid; grid-template-columns:1fr auto; gap:12px; }
.brand { font-size: 30px; }
.library-description, .navigation-note { display: none; }
.version { align-self: center; }
nav { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 4px 15px; margin-top: 5px; }
nav a { padding: 8px 0; margin-left: 0; font-size: 13px; }
nav a[aria-current] { background: transparent; }
main { margin-left: 0; padding: 30px 22px 44px; }
h1 { font-size: 29px; }
.introduction { margin-bottom: 26px; }
.gallery { grid-template-columns: 1fr; gap: 28px; }
.command-row { align-items: flex-start; padding: 15px; flex-direction: column; gap: 12px; }
.command-row button { align-self: flex-end; }
.example-caption { margin-top: 13px; }
.download-links { grid-template-columns: 1fr; gap: 12px; }
.docs pre { font-size: 12px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
.api-list { padding-left: 22px; color: #b9c4cc; font-size: 14px; line-height: 1.9; }
.api-list li { margin-bottom: 9px; }
.docs p code, .docs li code { color: #c5e2d4; }
/* Rounded surfaces and a static pixel dither keep the shared CodePawl theme. */
:root { color:var(--text); background:var(--window); }
.navigation { background-color:var(--bg); background-image:var(--dither); border:0; }
.navigation nav { flex-direction:row; width:auto; margin:0 0 0 auto; gap:6px; }
.navigation nav a { display:flex; align-items:center; min-height:44px; padding:12px 14px; margin-left:0; border-radius:var(--radius); }
.navigation nav a:hover, .navigation nav a[aria-current] { background-color:var(--surface); background-image:var(--dither); }
main { max-width:1440px; }
.library-description, p, .example-caption > span, .navigation-note { color:var(--muted); }
.version, .section-heading > span, .start-link, .release-links, nav a[aria-current], .command-row code, .docs pre, .docs p code, .docs li code { color:var(--text); }
.command-row, .docs pre { background:var(--bg); border:1px solid var(--border); border-radius:var(--panel-radius); }
button { background:var(--surface); }
button:hover { background:var(--border); }
.download { background-color:var(--bg); background-image:var(--dither); border-radius:var(--panel-radius); }
.download:hover { background:var(--surface); }
.download { position:relative; padding-right:70px; }
.download-symbol { position:absolute; right:22px; top:50%; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:12px; background-color:var(--surface); }
.download-symbol .icon { width:20px; height:20px; margin:0; }
.package-install { padding:24px; background-color:var(--bg); background-image:var(--dither); border-radius:var(--panel-radius); }
.package-managers { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.package-managers button { min-height:40px; padding:10px 16px; background:transparent; color:var(--muted); }
.package-managers button[aria-pressed=true] { background:var(--surface); color:var(--text); box-shadow:0 0 0 1px var(--border); }
.package-install .command-row { background:var(--window); border-radius:14px; }
.package-note { margin:18px 0; font-size:13px; }
.package-links { display:flex; flex-wrap:wrap; gap:12px 22px; }
.package-links a { display:inline-flex; align-items:center; gap:8px; font-size:13px; min-height:36px; }
.package-links .icon { margin:0; }
@media (max-width:760px) { .package-install { padding:18px; } .package-managers button { padding:10px 12px; } }
.example img { aspect-ratio:16/9; border-radius:var(--panel-radius); border:1px solid var(--border); }
.hero { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; gap:40px; margin:16px 0 48px; }
.hero .introduction { margin:0; padding:20px 0; min-width:0; }
.hero .introduction > div { width:100%; min-width:0; }
.home-install { scroll-margin-top:24px; margin-top:28px; }
.home-install .package-install { padding:20px; }
.home-install .command-row { flex-wrap:wrap; gap:12px; padding:16px; }
.home-install .command-row code { flex:1 1 240px; min-width:0; }
.home-install .package-links { gap:4px 16px; margin-top:14px; }
.home-install .package-links a { font-size:13px; }
@media (max-width:760px) {
.home-install .command-row code { flex:0 1 auto; width:100%; }
.home-install .package-install { padding:16px; }
}
.hero .feature-showcase { margin:0; min-width:0; }
.hero .live-showcase canvas { height:clamp(320px,30vw,430px); }
@media (max-width:960px) {
.hero { grid-template-columns:1fr; gap:24px; margin-top:0; }
.hero .introduction { padding:10px 0; }
}
.introduction h1 { max-width:780px; font-size:clamp(34px,4vw,56px); line-height:1.06; letter-spacing:-2px; font-weight:600; }
.feature-showcase h2 { margin:0; }
.introduction p { font-size:17px; max-width:620px; margin:20px 0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.hero-actions a { padding:12px 18px; border-radius:var(--radius); background:var(--text); color:var(--window); font-size:14px; }
.hero-actions a+ a { background:var(--bg); color:var(--text); border:1px solid var(--border); }
.feature-showcase { margin:26px 0 42px; border-radius:var(--panel-radius); background:transparent; overflow:hidden; position:relative; }
.live-showcase canvas { display:block; width:100%; height:clamp(280px,42vw,540px); touch-action:pan-y; cursor:grab; }
.live-showcase canvas:active { cursor:grabbing; }
.live-showcase canvas:focus-visible { outline-offset:-4px; }
#home-preview-status { position:absolute; top:20px; left:20px; right:20px; margin:0; font-size:13px; color:var(--muted); pointer-events:none; }
.downloads-page { max-width:1000px; }
.downloads-page > .downloads { margin:20px 0; }
.downloads-page .section-heading h1 { margin-bottom:16px; }
.downloads-page .package-install { margin:26px 0; }
.package-managers button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; }
.package-logo { display:inline-block; flex:none; width:20px; height:20px; background:currentColor; mask:center / contain no-repeat; }
.package-logo-npm { mask-image:url('/logos/npm.svg'); }
.package-logo-pnpm { mask-image:url('/logos/pnpm.svg'); }
.package-logo-yarn { mask-image:url('/logos/yarn.svg'); }
.package-logo-bun { mask-image:url('/logos/bun.svg'); }
body:has(.navigation) { --navigation-height:80px; }
@media (max-width:760px) {
body:has(.navigation) { --navigation-height:120px; }
.navigation nav { grid-column:1 / -1; justify-content:center; width:100%; margin:0; gap:4px; }
.navigation nav a { padding:10px 12px; }
}
@media (max-width:440px) {
.navigation nav { flex-wrap:wrap; }
.navigation nav a { padding:10px 8px; gap:6px; font-size:12px; white-space:nowrap; }
.package-managers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.workflow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-bottom:46px; }
.workflow h3 { margin:12px 0 8px; }
.workflow p { font-size:14px; margin:0; }
.workflow .icon { width:24px; height:24px; }
.docs-page { max-width:1450px; }
.docs-page header { max-width:740px; }
.docs-search { display:flex; flex-direction:column; gap:10px; font-size:14px; margin-top:28px; max-width:560px; }
.docs-search input { width:100%; padding:13px 15px; background:var(--bg); border:1px solid var(--border); color:var(--text); border-radius:var(--radius); font:inherit; }
.docs-layout { display:grid; grid-template-columns:190px minmax(0,780px); gap:36px; }
#doc-toc { position:sticky; top:24px; align-self:start; margin:16px 0; gap:2px; max-height:calc(100vh - 50px); overflow-y:auto; }
#doc-toc a { font-size:13px; padding:8px; margin:0; line-height:1.35; border-radius:var(--radius); }
#doc-article { min-width:0; }
#doc-article section { scroll-margin-top:24px; margin-top:24px; margin-bottom:46px; }
#doc-article p { font-size:15px; line-height:1.85; }
#doc-article a { text-decoration:underline; }
.table-scroll { overflow-x:auto; }
table { border-collapse:collapse; width:100%; font-size:13px; line-height:1.6; margin:20px 0; }
td, th { text-align:left; padding:12px; border-bottom:0; vertical-align:top; }
.docs pre { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:14px; padding:18px; overflow:visible; }
.docs pre code { display:block; min-width:0; overflow-x:auto; padding:6px 0; }
.docs ol { color:var(--muted); }
.copy-code { align-self:start; font-size:12px; padding:8px 12px; min-height:32px; }
@media (prefers-color-scheme:light) {
body:has(.navigation) { --window:#fff; --bg:#f7f7f8; --surface:#f1f1f1; --text:#1f1f1f; --muted:#555; --border:#e5e5e5; --focus:#576b99; color-scheme:light; color:var(--text); background:var(--window); }
body:has(.navigation) { --dither:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath fill='black' fill-opacity='.04' d='M0 0h1v1H0zM4 4h1v1H4zM2 6h1v1H2zM6 2h1v1H6z'/%3E%3C/svg%3E"); }
.brand, .brand span { color:var(--text); }
body:has(.navigation) .brand .brand-mark { filter:invert(1); content:url("/brand/crucible-mark.svg"); }
nav a:hover, nav a[aria-current] { background:#17171708; }
.release-feedback p, .download > span { color:var(--muted); }
}
@media (max-width:960px) { .docs-layout { grid-template-columns:1fr; gap:0; } #doc-toc { position:static; max-height:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .workflow { grid-template-columns:1fr; gap:24px; } .introduction h1 { font-size:38px; letter-spacing:-1.3px; } .docs-page h1 { font-size:32px; } .docs-search input { font-size:16px; } }
.hero-actions a:hover, .hero-actions a:focus-visible { box-shadow:0 0 28px color-mix(in srgb,var(--text) 24%,transparent); }
.navigation nav a:hover .icon, .navigation nav a:focus-visible .icon { filter:drop-shadow(0 0 5px currentColor); }
.preview-assembly { width:min(100%,440px); margin:12px auto 0; padding:0 16px; }
.preview-assembly-label { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; }
.preview-assembly-label output { color:var(--muted); font-size:12px; }
.preview-assembly input { display:block; width:100%; min-height:44px; margin:6px 0; cursor:ew-resize; }
.preview-assembly p { font-size:12px; text-align:center; margin:0; }
body:has(.navigation) { display:flex; flex-direction:column; min-height:100vh; }
body:has(.navigation) > main { flex:1; width:100%; }
.package-links { margin-top:20px; }
.site-footer { display:flex; align-items:center; justify-content:space-between; gap:28px; width:calc(100% - 48px); max-width:1352px; margin:24px auto; padding:28px; border-radius:var(--panel-radius); background-color:var(--bg); background-image:var(--dither); }
.footer-introduction .brand { font-size:24px; }
.footer-introduction .brand-mark { width:26px; height:26px; }
.footer-introduction p { margin:10px 0 0; font-size:13px; line-height:1.7; }
.footer-introduction p a { color:var(--text); }
.footer-links { display:flex; flex-wrap:wrap; align-items:center; gap:4px 18px; }
.footer-links a { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:13px; }
.footer-links .icon { margin:0; }
@media (max-width:760px) { .site-footer { align-items:flex-start; flex-direction:column; width:calc(100% - 32px); padding:22px; gap:16px; } }
/* Front page: install, code example, capability grid, agent section and documentation links. */
.package-logo-github { mask-image:url('/logos/github.svg'); }
.brand-npm { color:#cb3837; }
.hero { margin-bottom:88px; }
.hero .live-showcase canvas { height:clamp(340px,34vw,500px); }
.home-install { margin-bottom:24px; }
.hero-actions a { display:inline-flex; align-items:center; gap:8px; min-height:44px; }
.hero-actions .icon { margin:0; }
.hero-actions .package-logo { width:18px; height:18px; }
.hero-actions a:first-child { background:var(--text); color:var(--window); }
.code-section, .examples, .agents, .documentation-links { margin-bottom:88px; }
.code-section { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); align-items:center; gap:40px; }
.code-copy { min-width:0; }
.code-result { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:var(--panel-radius); border:1px solid var(--border); background:var(--bg); }
.code-block { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:14px; padding:18px; border-radius:var(--panel-radius); background:var(--bg); }
.code-block pre { margin:0; overflow-x:auto; font-size:13px; line-height:1.7; color:var(--text); user-select:text; }
.code-block code { display:block; padding:6px 0; user-select:text; }
.code-block button { font-size:12px; min-height:36px; padding:6px 12px; }
.capability-list { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 32px; padding:0; list-style:none; }
.capability-list li { padding:7px 14px; border-radius:var(--radius); background:var(--surface); color:var(--muted); font-size:13px; }
.gallery { grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 24px; }
.example-caption { margin:14px 0 4px; }
.example p { font-size:14px; }
.agents { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; align-items:center; padding:40px; border-radius:var(--panel-radius); background:var(--bg); }
.agents .code-block { background:var(--window); align-items:center; }
.agents-intro p { margin-bottom:24px; font-size:16px; }
.agent-cards { display:grid; gap:12px; }
.agent-cards a { display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:16px; align-items:center; padding:18px 20px; border-radius:var(--radius); background:var(--surface); }
.agent-cards a:hover, .doc-links a:hover { background:var(--border); }
.agent-cards .icon { grid-row:span 2; width:26px; height:26px; margin:0; }
.agent-cards p { margin:2px 0 0; font-size:14px; }
.doc-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.doc-links a { display:flex; align-items:center; gap:12px; min-height:60px; padding:16px 20px; border-radius:var(--radius); background:var(--bg); font-size:15px; }
.doc-links .icon { margin:0; width:22px; height:22px; }
@media (max-width:1100px) {
.gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
.doc-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:960px) {
.code-section, .agents { grid-template-columns:1fr; gap:28px; }
}
.agents .code-block pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.introduction p { max-width:680px; text-wrap:balance; }
.documentation-links { margin-bottom:48px; }
.preview-assembly { padding-bottom:8px; }
@media (max-width:760px) {
.hero { margin-bottom:64px; }
.code-section, .examples, .agents, .documentation-links { margin-bottom:64px; }
.gallery, .doc-links { grid-template-columns:1fr; }
.agents { padding:22px; }
.code-block { padding:14px; }
.code-block pre { font-size:12px; }
.hero-actions a { padding:10px 14px; }
}