3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
:root { font-family: 'DM Sans', system-ui, sans-serif; color: #edf0ef; background: #25292d; font-synthesis: none; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: 100%; height: 100svh; min-height: 600px; position: relative; overflow: hidden; }
#viewport { display: block; width: 100%; height: 100%; touch-action: none; outline-offset: -5px; cursor: grab; }
#viewport:active { cursor: grabbing; }
button, select, a, fieldset, label, footer { user-select: none; }
button, select { font: inherit; }
button { color: inherit; background: #ffffff09; padding: 11px 16px; border: 0; border-radius: 8px; cursor: pointer; transition: background 150ms; }
button:hover { background: #ffffff17; }
button[aria-pressed=true] { background: #b7eddf19; color: #b7eddf; }
button:disabled { opacity: 0.6; cursor: wait; }
:focus-visible { outline: 2px solid #b7eddf; outline-offset: 4px; }
.toolbar { position: absolute; inset: 30px 40px auto; display: flex; align-items: center; gap: 26px; }
.brand { color: #f5f6f5; text-decoration: none; font-weight: 700; font-size: 31px; letter-spacing: -2px; }
.brand span { font-weight: 450; color: #a4b0b6; }
.studio-nav { display: flex; gap: 6px; }
.studio-nav a { text-decoration: none; color: #a6b1b6; font-size: 13px; padding: 9px 12px; border-radius: 7px; }
.studio-nav a[aria-current] { color: #edf0ef; background: #ffffff09; }
.toolbar-actions { margin-left: auto; display: flex; flex-shrink: 0; gap: 10px; }
.toolbar-actions button { white-space: nowrap; min-height: 40px; }
.primary { background: #b7eddf; color: #19312c; font-weight: 600; }
.primary:hover { background: #cdf7ec; }
.primary span { margin-left: 14px; }
.object-info { position: absolute; left: 5%; top: 27%; pointer-events: none; max-width: 340px; }
h1 { font-weight: 450; font-size: clamp(32px, 3.4vw, 55px); line-height: 1.1; letter-spacing: -2px; margin: 0 0 22px; }
.object-info p { color: #aab5bc; font-size: 14px; line-height: 1.8; margin: 0; }
.object-caption { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 12px; color: #c4cfce; }
.status-dot { color: #b7eddf; font-size: 8px; }
.caption-separator { color: #69757d; margin: 0 2px; }
.controls { position: absolute; right: 36px; top: 20%; width: 202px; padding: 18px; background: #20262bc9; border-radius: 16px; backdrop-filter: blur(15px); font-size: 12px; }
.assembly-control { margin-bottom: 25px; }
.assembly-control label { display: flex; justify-content: space-between; }
.assembly-control input { margin: 14px 0 8px; }
.assembly-endpoints { display: flex; justify-content: space-between; color: #aab5bc; font-size: 10px; }
.layer-actions { display: flex; gap: 4px; margin-top: 14px; }
.layer-actions button { padding: 8px 10px; font-size: 11px; flex: 1; }
fieldset { padding: 0; margin: 0 0 28px; border: 0; }
legend { color: #c5cecf; padding: 0; margin-bottom: 13px; }
.finishes { display: flex; gap: 14px; margin-bottom: 12px; }
.swatch { width: 27px; height: 27px; padding: 0; background: var(--swatch); border-radius: 50%; box-shadow: inset 0 0 0 1px #ffffff35; }
.swatch:hover { background: var(--swatch); transform: scale(1.08); }
.swatch.selected { outline: 1px solid #d6e6e0; outline-offset: 4px; }
.swatch[aria-pressed=true] { background: var(--swatch); }
#finish-name { color: #93a4ac; }
.exposure-label { display: flex; justify-content: space-between; }
output { color: #98aaa9; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; margin: 14px 0 25px; accent-color: #b7eddf; cursor: pointer; }
.view-actions { display: grid; gap: 8px; }
.view-actions button { padding: 10px 7px; text-align: left; font-size: 12px; }
.quality-label { display: grid; gap: 10px; margin-top: 22px; color: #b8c3c6; }
select { width: 100%; border: 0; background: #ffffff09; border-radius: 6px; padding: 8px; font-size: 12px; color: #d2dcdd; }
footer { position: absolute; inset: auto 40px 26px; display: flex; align-items: center; gap: 25px; font-size: 12px; color: #a2afb5; }
.hint { margin: 0; }
.hint span { padding: 0 10px; }
.metrics { display: flex; gap: 20px; margin-left: auto; font-variant-numeric: tabular-nums; }
footer button { font-size: 12px; }
.notice { position: absolute; left: 50%; bottom: 85px; transform: translateX(-50%); background: #20262b; padding: 14px 20px; border-radius: 9px; max-width: min(90vw, 600px); font-size: 13px; }
.benchmark-result { position: absolute; left: 40px; bottom: 90px; background: #20262bf5; border-radius: 15px; padding: 24px; max-width: min(520px, calc(100% - 80px)); }
h2 { font-weight: 500; font-size: 20px; margin: 0 0 15px; }
#benchmark-summary { white-space: pre-line; line-height: 1.9; font-size: 14px; font-variant-numeric: tabular-nums; }
.benchmark-note { font-size: 12px; line-height: 1.7; color: #a2afb5; }
.controls { top:96px; max-height:calc(100svh - 96px - 84px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#b7eddf66 transparent; }
@property --controls-fade { syntax:'<length>'; inherits:false; initial-value:0px; }
@keyframes controls-fade-until-end { from, 90% { --controls-fade:36px; } to { --controls-fade:0px; } }
@supports (animation-timeline: scroll()) {
.controls { mask-image:linear-gradient(#000 calc(100% - var(--controls-fade)), transparent); animation:controls-fade-until-end linear both; animation-timeline:scroll(self block); }
}
@media (min-width: 701px) {
.assembly-control { margin-bottom:18px; }
fieldset { margin-bottom:20px; }
.controls input[type=range] { margin-bottom:16px; }
}
@media (max-width: 1100px) {
.toolbar { inset-inline: 24px; gap: 12px; }
.studio-nav { gap: 2px; }
body .studio-nav a { padding-inline: 8px; }
.toolbar-actions { gap: 6px; }
.toolbar-actions button { padding-inline: 12px; }
.primary span { margin-left: 8px; }
.object-info { top: 19%; max-width: 250px; }
h1 { font-size: 35px; }
.object-info p { font-size: 12px; }
.metrics { gap: 10px; }
.hint { display: none; }
}
@media (max-width: 700px) {
main { min-height: 800px; }
#viewport { position: absolute; top: 200px; height: calc(100% - 570px); }
.toolbar { inset: 18px 20px auto; gap: 15px; }
.brand { font-size: 27px; }
.studio-nav { position: absolute; top: 50px; left: 0; }
.studio-nav a { padding: 7px 12px; }
.toolbar-actions { gap: 5px; }
.toolbar-actions button { padding: 10px 12px; font-size: 12px; }
.object-info { top: 120px; left: 24px; max-width: 100%; }
h1 { font-size: 29px; letter-spacing: -1px; margin-bottom: 10px; }
h1 br { display: none; }
.object-info p { line-height: 1.5; }
.object-info p br { display: none; }
.object-caption { margin-top: 10px; font-size: 11px; }
.controls { inset: auto 20px 84px; width: auto; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.assembly-control { grid-column: span 2; margin: 0 0 10px; }
fieldset { margin: 0; grid-row: span 2; }
legend { margin-bottom: 12px; }
.finishes { margin-bottom: 10px; }
.exposure-label { align-self: end; }
input[type=range] { margin: 0; }
.view-actions { grid-column: span 2; display: flex; gap: 12px; }
.quality-label { display: none; }
footer { inset: auto 20px 20px; display: grid; gap: 8px; }
.metrics { margin: 0; font-size: 10px; justify-content: space-between; }
footer button { padding: 5px 0; min-height: 32px; text-align: left; font-size: 11px; background: transparent; }
.notice { bottom: 360px; }
.benchmark-result { left: 20px; bottom: 85px; max-width: calc(100% - 40px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width:700px) {
main { height:auto; min-height:100svh; overflow:visible; }
.toolbar { position:relative; inset:auto; padding:18px 20px; flex-wrap:wrap; gap:14px; }
.studio-nav { position:static; order:3; width:100%; }
#viewport { position:relative; top:auto; margin-top:0; height:380px; }
.controls { position:relative; inset:auto; margin:16px 20px 24px; max-height:none; }
footer { position:relative; inset:auto; padding:0 20px 24px; }
.object-info { position:relative; top:auto; left:auto; margin:8px 24px 20px; }
.controls > .quality-label { display:grid; grid-column:span 2; }
.controls > .demo-presets, .controls > .quality-label { grid-column:span 2; margin-top:4px; }
}