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: #e9edeb; background: #171c20; color-scheme: dark; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 100dvh; padding: 24px 30px; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button, select { background: #2e363d; border: 0; border-radius: 6px; color: inherit; padding: 10px 14px; cursor: pointer; }
button:hover, select:hover { background: #39454b; }
:focus-visible { outline: 2px solid #a9ddc7; outline-offset: 4px; }
.motion-header { max-width: 1320px; margin: 0 auto 22px; display: flex; align-items: center; gap: 32px; }
.brand { font-size: 27px; font-weight: 650; letter-spacing: -1.2px; }
.brand span { color: #b6c2c5; font-weight: 400; }
nav { display: flex; gap: 6px; }
nav a { padding: 8px 12px; border-radius: 6px; font-size: 14px; }
nav a[aria-current], nav a:hover { background: #ffffff0a; }
.motion-stage { aspect-ratio: 16 / 9; width: min(100%, 1120px); max-height: calc(100dvh - 270px); margin: auto; overflow: hidden; background: #252b30; border-radius: 10px; }
.motion-stage[data-aspect='portrait'] { aspect-ratio: 9 / 16; width: min(100%, calc((100dvh - 270px) * 9 / 16)); }
.motion-stage[data-aspect='square'] { aspect-ratio: 1; width: min(100%, calc(100dvh - 270px)); }
canvas { width: 100%; height: 100%; display: block; }
canvas:focus-visible { outline-offset: -5px; }
.motion-controls { max-width: 1120px; margin: 21px auto 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 20px; }
h1 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.6px; font-weight: 550; }
.description p { margin: 0; color: #b4c1c6; font-size: 13px; }
.playback-controls { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.playback-controls label { display: flex; align-items: center; gap: 8px; color: #b4c1c6; }
.timeline-label { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 13px; color: #b4c1c6; }
output { font-variant-numeric: tabular-nums; }
input[type='range'] { grid-column: 1 / -1; margin: -8px 0 0; width: 100%; accent-color: #a9ddc7; cursor: pointer; }
.motion-details { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #a3b3b9; font-size: 12px; gap: 15px; }
.motion-error { background: #edf0ed; color: #914622; padding: 16px 20px; border-radius: 8px; max-width: 1120px; margin: 20px auto; font-size: 14px; }
.export-mode main { padding: 0; min-height: 0; }
.export-mode .interface { display: none !important; }
.export-mode .motion-stage { position: fixed; inset: 0; max-height: none; margin: 0; border-radius: 0; }
[hidden] { display: none !important; }
.motion-header { flex-wrap:wrap; }
.motion-header nav { flex-wrap:wrap; }
@media (max-width: 700px) {
main { padding: 18px 18px 28px; }
.motion-header { gap: 16px; margin-bottom: 20px; }
nav { gap: 0; }
nav a { padding: 8px; font-size: 12px; }
.motion-controls { grid-template-columns: 1fr; gap: 17px; }
.playback-controls { justify-content: space-between; gap: 7px; }
.playback-controls button, .playback-controls select { padding: 10px; font-size: 12px; }
.motion-stage { max-height: calc(100dvh - 330px); }
.motion-stage[data-aspect='portrait'] { width: min(100%, calc((100dvh - 330px) * 9 / 16)); }
.motion-stage[data-aspect='square'] { width: min(100%, calc(100dvh - 330px)); }
}