Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

feat(docs): redesign landing page (#421)

christopherkindl48d5aebcd329
diff --git a/apps/docs/app/[lang]/(home)/components/architecture.tsx b/apps/docs/app/[lang]/(home)/components/architecture.tsx
index ecd638e94..e9cfe738d 100644
--- a/apps/docs/app/[lang]/(home)/components/architecture.tsx
+++ b/apps/docs/app/[lang]/(home)/components/architecture.tsx
@@ -1,136 +1,324 @@
"use client";
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
+import { SiDocker, SiPostgresql, SiSnowflake } from "@icons-pack/react-simple-icons";
+import {
+ IconArrowUpRightSmall,
+ IconLinked,
+ IconMessage,
+ IconOpenai,
+ IconSandbox,
+ IconSparkles,
+ IconWorkflow,
+ IconWrench,
+} from "@vercel/geistdocs/assets/icons";
+import { IconArrowUpRight } from "@vercel/geistdocs/assets/icons/icon-arrow-up-right";
+import { LogoEve } from "@vercel/geistdocs/assets/logos/logo-eve";
+import { LogoIconVercel } from "@vercel/geistdocs/assets/logos/logo-icon-vercel";
+import { Switch } from "@vercel/geistdocs/components/switch";
+import Link from "next/link";
+import { type ComponentType, type JSX, type ReactNode, useState } from "react";
+import { cn } from "@/lib/utils";
+import { GradientBorder } from "./gradient-border";
+
+type Mode = "managed" | "self-hosted";
+
+type LogoComponent = ComponentType<{
+ size?: number;
+ color?: string;
+ className?: string;
+}>;
+
+interface Backend {
+ label: string;
+ Logo: LogoComponent;
+}
+
+interface Primitive {
+ icon: ReactNode;
+ title: string;
+ /** Overrides `title` per mode (e.g. the SDK only exists on managed infra). */
+ titleByMode?: Record<Mode, string>;
+ description: string;
+ href?: string;
+ /** Drop the link in self-hosted mode (the linked product is Vercel-only). */
+ managedOnlyHref?: boolean;
+ /** Concrete backend shown inside the card, swapped by the managed/self-hosted toggle. */
+ backend?: Record<Mode, Backend>;
+}
+
+const RUNTIME_ITEMS: Primitive[] = [
+ {
+ icon: <IconSparkles className="mt-0.5 shrink-0 text-gray-1000" size={18} />,
+ title: "AI SDK",
+ description: "Model calls, streaming",
+ href: "https://ai-sdk.dev/",
+ backend: {
+ managed: { label: "AI Gateway", Logo: LogoIconVercel },
+ "self-hosted": { label: "GPT-5.4 API", Logo: IconOpenai },
+ },
+ },
+ {
+ icon: <IconSandbox className="mt-0.5 shrink-0 text-gray-1000" size={18} />,
+ title: "Sandbox SDK",
+ titleByMode: { managed: "Vercel Sandbox SDK", "self-hosted": "Sandbox" },
+ description: "Isolated execution",
+ href: "https://vercel.com/docs/sandbox/sdk-reference",
+ managedOnlyHref: true,
+ backend: {
+ managed: { label: "Vercel Sandbox", Logo: LogoIconVercel },
+ "self-hosted": { label: "Docker", Logo: SiDocker },
+ },
+ },
+ {
+ icon: <IconLinked className="mt-0.5 shrink-0 text-gray-1000" size={18} />,
+ title: "Connection SDK",
+ titleByMode: {
+ managed: "Vercel Connection SDK",
+ "self-hosted": "Connection",
+ },
+ description: "MCP/HTTP endpoints",
+ href: "https://vercel.com/docs/connect",
+ managedOnlyHref: true,
+ backend: {
+ managed: { label: "Vercel Connect", Logo: LogoIconVercel },
+ "self-hosted": { label: "Snowflake API", Logo: SiSnowflake },
+ },
+ },
+ {
+ icon: <IconWrench className="mt-0.5 shrink-0 text-gray-1000" size={18} />,
+ title: "Tools & Subagents",
+ description: "Functions, child agents",
+ },
+];
+
+const WORKFLOW_BACKEND: Record<Mode, Backend> = {
+ managed: { label: "Vercel Workflows", Logo: LogoIconVercel },
+ "self-hosted": {
+ label: "Postgres (@workflow/world-postgres)",
+ Logo: SiPostgresql,
+ },
+};
+
+const CHANNELS = [
+ "Slack",
+ "Discord",
+ "Web Chat",
+ "Google Chat",
+ "Microsoft Teams",
+ "WhatsApp",
+ "API",
+ "Cron",
+ "Twilio",
+ "Linear",
+ "GitHub",
+ "Telegram",
+];
+
+const CAPTIONS: Record<Mode, string> = {
+ managed:
+ "Fully managed via Vercel. Sandboxes, durable workflows, model routing, and observability handled for you.",
+ "self-hosted":
+ "You can deploy anywhere. Postgres-backed durability, Docker sandbox, Ansible deploy, zero managed services.",
+};
+
+function SectionLabel({ children }: { children: string }): JSX.Element {
+ return (
+ <span className="font-mono font-medium uppercase tracking-[0.1em] text-gray-1000 text-label-14">
+ {children}
+ </span>
+ );
+}
+
+function BackendChip({ backend }: { backend: Backend }): JSX.Element {
+ return (
+ <div className="mt-2 inline-flex w-fit items-center gap-1.5 rounded-md border px-2 py-1 text-gray-1000 motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-200 motion-safe:ease-out">
+ <backend.Logo className="shrink-0" color="default" size={13} />
+ <span className="text-gray-1000 text-copy-13">{backend.label}</span>
+ </div>
+ );
+}
+
+function PrimitiveCard({
+ icon,
+ title,
+ description,
+ href,
+ backend,
+}: {
+ icon: ReactNode;
+ title: string;
+ description: string;
+ href?: string;
+ backend?: Backend;
+}): JSX.Element {
+ const body = (
+ <>
+ {icon}
+ <div className="flex flex-col gap-1">
+ <span className="font-medium text-gray-1000 text-copy-14">{title}</span>
+ <span className="text-gray-900 text-copy-14">{description}</span>
+ {backend ? <BackendChip key={backend.label} backend={backend} /> : null}
+ </div>
+ </>
+ );
+
+ if (!href) {
+ return <div className="flex items-start gap-2.5 rounded-lg p-4 material-small">{body}</div>;
+ }
+
+ return (
+ <Link
+ href={href}
+ className="group relative flex items-start gap-2.5 rounded-lg p-4 transition-colors material-small hover:bg-background-200"
+ >
+ {body}
+ <IconArrowUpRight
+ className="absolute top-3 right-3 text-gray-900 opacity-0 transition-opacity group-hover:opacity-100"
+ size={14}
+ />
+ </Link>
+ );
+}
export function ArchitectureDiagram() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.2 });
+ const [mode, setMode] = useState<Mode>("self-hosted");
+ const selfHosted = mode === "self-hosted";
return (
- <section className="px-4 py-24 sm:px-12" ref={ref}>
+ <section className="py-24 px-4">
<div className="mx-auto max-w-5xl">
- <h2 className="text-center text-3xl font-bold tracking-tighter text-gray-1000 sm:text-4xl">
- Three layers, cleanly separated
+ <h2 className="text-center font-medium! text-heading-32 tracking-tighter text-gray-1000 sm:text-heading-40 text-balance">
+ Built on open-source SDKs, yours to self-host
</h2>
- <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900">
- The <span className="font-semibold text-gray-1000">runtime</span> owns durability and
- state. The <span className="font-semibold text-gray-1000">harness</span> executes AI work.
- The <span className="font-semibold text-gray-1000">channel</span> is where your agent gets
- surfaced.
+ <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900 text-balance">
+ Swap any backend and self-host the whole runtime, with zero managed-infrastructure
+ dependencies.
</p>
- <motion.div
- initial={{ opacity: 0, y: 24 }}
- animate={isInView ? { opacity: 1, y: 0 } : {}}
- transition={{ duration: 0.6, ease: [0.22, 1, 0.36, 1] }}
- className="mt-16 flex flex-col gap-4 md:flex-row"
- >
- {/* Left column: Harness above Runtime */}
- <div className="flex flex-1 flex-col gap-4">
- {/* Harness */}
- <motion.div
- initial={{ opacity: 0 }}
- animate={isInView ? { opacity: 1 } : {}}
- transition={{ delay: 0.1, duration: 0.4 }}
- className="rounded-md border-2 border-dashed border-purple-800 dark:border-purple-600 bg-background px-5 py-4"
+ {/* Managed vs. self-hosted toggle drives the backend shown inside each card. */}
+ <div className="mt-12 flex items-center justify-center gap-4 text-copy-14">
+ <button
+ type="button"
+ onClick={() => setMode(selfHosted ? "managed" : "self-hosted")}
+ aria-pressed={!selfHosted}
+ className={cn(
+ "cursor-pointer transition-colors",
+ selfHosted ? "text-gray-900 hover:text-gray-1000" : "text-gray-1000",
+ )}
+ >
+ Managed
+ </button>
+ <Switch
+ checked={selfHosted}
+ onCheckedChange={(checked) => setMode(checked ? "self-hosted" : "managed")}
+ aria-label="Toggle deployment target"
+ className="cursor-pointer"
+ />
+ <span className="text-copy-14">
+ <button
+ type="button"
+ onClick={() => setMode(selfHosted ? "managed" : "self-hosted")}
+ aria-pressed={selfHosted}
+ className={cn(
+ "cursor-pointer transition-colors",
+ selfHosted ? "text-gray-1000" : "text-gray-900 hover:text-gray-1000",
+ )}
>
- <div className="flex items-center gap-2">
- <div className="h-2.5 w-2.5 rounded-full bg-purple-700 dark:bg-purple-500" />
- <div className="text-sm font-bold uppercase tracking-widest text-purple-800 dark:text-purple-500">
- Harness
- </div>
- </div>
- <div className="mt-1 text-sm text-gray-900">
- Executes one unit of AI work per workflow step
- </div>
- </motion.div>
-
- {/* Runtime (contains workflow + primitives) */}
- <motion.div
- initial={{ opacity: 0 }}
- animate={isInView ? { opacity: 1 } : {}}
- transition={{ delay: 0.2, duration: 0.4 }}
- className="flex flex-1 flex-col rounded-md border-2 border-dashed border-green-800 dark:border-green-600 bg-background p-5"
+ Self-hosted
+ </button>{" "}
+ <Link
+ href="https://github.com/vercel-labs/steve"
+ className="text-gray-900 underline decoration-gray-400 underline-offset-2 transition-colors hover:text-gray-1000"
>
- <div className="mb-1 flex items-center gap-2">
- <div className="h-2.5 w-2.5 rounded-full bg-green-700 dark:bg-green-500" />
- <div className="text-sm font-bold uppercase tracking-widest text-green-800 dark:text-green-500">
- Runtime
- </div>
- </div>
- <div className="mb-5 text-sm text-gray-900">
+ (example)
+ </Link>
+ </span>
+ </div>
+
+ <LogoEve className="mt-10 ml-5 text-gray-1000" height={13} />
+ <div className="mt-3 flex flex-col gap-4 lg:flex-row">
+ {/* Runtime */}
+ <div className="relative flex flex-1 flex-col gap-4 rounded-xl p-5">
+ <GradientBorder />
+ <div className="flex flex-col gap-1">
+ <SectionLabel>Runtime</SectionLabel>
+ <span className="text-gray-900 text-copy-14">
Durable execution, state persistence, event streaming
- </div>
+ </span>
+ </div>
- {/* Durable Workflow */}
- <div className="mb-4 flex items-center gap-3 rounded-md border bg-gray-100 px-4 py-3">
- <span className="text-xl text-green-700 dark:text-green-500">&#x21bb;</span>
- <div>
- <div className="text-sm font-semibold text-gray-1000">Durable Workflow</div>
- <div className="text-sm text-gray-900">
- Checkpointed steps, park between messages, resume on delivery
- </div>
- </div>
- </div>
+ <PrimitiveCard
+ icon={<IconWorkflow className="mt-0.5 shrink-0 text-gray-1000" size={18} />}
+ title="Durable Workflow"
+ description="Checkpointed steps, park between messages, resume on delivery"
+ href="https://workflow-sdk.dev/worlds"
+ backend={WORKFLOW_BACKEND[mode]}
+ />
- {/* Primitives (inside runtime) */}
- <div className="grid flex-1 grid-cols-2 gap-3 md:grid-cols-4">
- <div className="rounded-md border bg-gray-100 px-4 py-3">
- <div className="text-sm font-semibold text-blue-800 dark:text-blue-500">
- AI SDK
- </div>
- <div className="text-sm text-gray-900">Model calls, streaming</div>
- </div>
- <div className="rounded-md border bg-gray-100 px-4 py-3">
- <div className="text-sm font-semibold text-amber-800 dark:text-amber-500">
- Sandbox SDK
- </div>
- <div className="text-sm text-gray-900">Isolated execution</div>
- </div>
- <div className="rounded-md border bg-gray-100 px-4 py-3">
- <div className="text-sm font-semibold text-pink-800 dark:text-pink-600">
- Connection SDK
- </div>
- <div className="text-sm text-gray-900">MCP/HTTP endpoints</div>
- </div>
- <div className="rounded-md border bg-gray-100 px-4 py-3">
- <div className="text-sm font-semibold text-gray-1000">Tools & Subagents</div>
- <div className="text-sm text-gray-900">Functions, child agents</div>
- </div>
- </div>
- </motion.div>
+ <div className="grid grid-cols-1 gap-4 sm:grid-cols-2">
+ {RUNTIME_ITEMS.map((item) => (
+ <PrimitiveCard
+ key={item.title}
+ icon={item.icon}
+ title={item.titleByMode?.[mode] ?? item.title}
+ description={item.description}
+ href={item.managedOnlyHref && selfHosted ? undefined : item.href}
+ backend={item.backend?.[mode]}
+ />
+ ))}
+ </div>
</div>
- {/* Channel (right side, stretches full height) */}
- <motion.div
- initial={{ opacity: 0, x: 16 }}
- animate={isInView ? { opacity: 1, x: 0 } : {}}
- transition={{ delay: 0.5, duration: 0.5 }}
- className="flex w-full flex-col rounded-md border-2 border-dashed border-cyan-800 dark:border-cyan-600 bg-background p-5 md:w-[180px]"
- >
- <div className="mb-1 flex items-center gap-2">
- <div className="h-2.5 w-2.5 rounded-full bg-cyan-700 dark:bg-cyan-500" />
- <div className="text-sm font-bold uppercase tracking-widest text-cyan-800 dark:text-cyan-500">
- Channel
- </div>
+ {/* Channel */}
+ <div className="relative flex flex-col gap-4 rounded-xl p-5 lg:w-[240px] lg:shrink-0">
+ <GradientBorder />
+ <div className="flex flex-col gap-1">
+ <SectionLabel>Channel</SectionLabel>
+ <span className="text-gray-900 text-copy-14">Where your agent gets surfaced</span>
</div>
- <div className="mb-5 text-sm text-gray-900">Where your agent gets surfaced</div>
- <div className="space-y-2">
- {["Slack", "Web Chat", "API", "Cron"].map((ch) => (
- <div
- key={ch}
- className="rounded-md border bg-gray-100 px-4 py-2 text-sm text-gray-1000"
- >
- {ch}
+
+ <Link
+ href="https://chat-sdk.dev/"
+ className="group relative flex items-start gap-2.5 overflow-hidden rounded-lg p-4 transition-colors material-small hover:bg-background-200 lg:h-0 lg:min-h-0 lg:grow"
+ >
+ <IconMessage className="mt-0.5 shrink-0 text-gray-1000" size={18} />
+ <div className="flex flex-1 flex-col gap-2">
+ <span className="font-medium text-gray-1000 text-copy-14">Chat SDK</span>
+ <div className="grid grid-cols-2 gap-x-6 gap-y-0.5 lg:grid-cols-1">
+ {CHANNELS.map((channel) => (
+ <span key={channel} className="text-gray-1000 text-copy-14">
+ {channel}
+ </span>
+ ))}
</div>
- ))}
- <div className="rounded-md border border-dashed px-4 py-2 text-sm text-gray-500">
- other channels
</div>
- </div>
- </motion.div>
- </motion.div>
+ <IconArrowUpRight
+ className="absolute top-3 right-3 z-10 text-gray-900 opacity-0 transition-opacity group-hover:opacity-100"
+ size={14}
+ />
+ <div
+ aria-hidden
+ className="pointer-events-none absolute inset-x-0 bottom-0 hidden h-20 bg-linear-to-t from-background-100 to-transparent lg:block"
+ />
+ </Link>
+ </div>
+ </div>
+
+ <p className="mx-auto mt-6 max-w-2xl text-center text-gray-900 text-copy-14 text-balance">
+ {CAPTIONS[mode]}
+ {selfHosted ? (
+ <>
+ {" "}
+ <Link
+ href="https://github.com/vercel-labs/steve"
+ className="inline-flex items-center gap-0 text-gray-1000 underline decoration-gray-400 underline-offset-2"
+ >
+ See the example
+ <IconArrowUpRightSmall className="text-gray-900" size={16} />
+ </Link>
+ </>
+ ) : null}
+ </p>
</div>
</section>
);
diff --git a/apps/docs/app/[lang]/(home)/components/cta.tsx b/apps/docs/app/[lang]/(home)/components/cta.tsx
index 8ca76b53f..b39c26bae 100644
--- a/apps/docs/app/[lang]/(home)/components/cta.tsx
+++ b/apps/docs/app/[lang]/(home)/components/cta.tsx
@@ -4,7 +4,7 @@ import Link from "next/link";
export function CTA() {
return (
<section className="flex flex-col items-center justify-between gap-4 px-8 py-10 md:flex-row sm:px-12">
- <h2 className="text-xl font-semibold tracking-tighter text-gray-1000 sm:text-2xl md:text-3xl lg:text-[40px]">
+ <h2 className="font-medium! text-heading-32 tracking-tighter text-gray-1000 sm:text-heading-40">
Build your first agent today.
</h2>
<Button asChild size="lg" className="w-fit text-base h-12">
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx
new file mode 100644
index 000000000..3a8e409e0
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx
@@ -0,0 +1,216 @@
+"use client";
+
+import { App, Device, type VGPUAdapter } from "@vgpu/core";
+import { useEffect, useRef, useState } from "react";
+import { decodeGltfMesh, meshAspect } from "./mesh";
+import { BLOOM_RADIUS, createEve5Renderer, type RenderControls } from "./render";
+
+class BrowserAdapter implements VGPUAdapter {
+ async requestDevice(): Promise<Device> {
+ const adapter = await navigator.gpu?.requestAdapter();
+ if (!adapter) throw new Error("WebGPU adapter unavailable.");
+ return new Device(await adapter.requestDevice(), null);
+ }
+}
+
+const MODEL_URL = "/eve-5/eve-logo.gltf";
+const DEFAULT_LOGO_ASPECT = 78 / 25;
+const DEFAULT_CONTROLS: RenderControls = {
+ yaw: 0,
+ pitch: 0,
+ radius: 1.9,
+ fov: 35,
+ envYaw: 0,
+ insideRendering: true,
+ outsideRendering: true,
+ material: "glass",
+ wireframe: false,
+ showEnv: false,
+};
+const LOGO_RENDER_HEIGHT = 500;
+const MAX_DEVICE_PIXEL_RATIO = 2;
+const MAX_ENV_YAW = 0.45;
+const ENV_YAW_LERP_SPEED = 3;
+
+function getCurrentTheme(): "light" | "dark" {
+ if (typeof document === "undefined") return "light";
+ const root = document.documentElement;
+ if (root.classList.contains("dark") || root.dataset.theme === "dark") return "dark";
+ if (root.classList.contains("light") || root.dataset.theme === "light") return "light";
+ return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
+}
+
+function useResolvedTheme() {
+ const [theme, setTheme] = useState<"light" | "dark">("light");
+
+ useEffect(() => {
+ const syncTheme = () => setTheme(getCurrentTheme());
+ const media = window.matchMedia("(prefers-color-scheme: dark)");
+ const observer = new MutationObserver(syncTheme);
+
+ syncTheme();
+ observer.observe(document.documentElement, {
+ attributes: true,
+ attributeFilter: ["class", "data-theme"],
+ });
+ media.addEventListener("change", syncTheme);
+
+ return () => {
+ observer.disconnect();
+ media.removeEventListener("change", syncTheme);
+ };
+ }, []);
+
+ return theme;
+}
+
+export function EveLogoShader() {
+ const theme = useResolvedTheme();
+ const canvasRef = useRef<HTMLCanvasElement>(null);
+ const controlsRef = useRef<RenderControls>({ ...DEFAULT_CONTROLS });
+ const [logoAspect, setLogoAspect] = useState(DEFAULT_LOGO_ASPECT);
+
+ useEffect(() => {
+ let cancelled = false;
+ let animationFrame = 0;
+ let targetEnvYaw = controlsRef.current.envYaw;
+ let previousFrameTime = performance.now();
+
+ const updateEnvYaw = (clientX: number) => {
+ const viewportWidth = Math.max(1, window.innerWidth || 1);
+ const normalizedX = Math.max(-1, Math.min(1, (clientX / viewportWidth) * 2 - 1));
+ targetEnvYaw = normalizedX * MAX_ENV_YAW;
+ };
+ const onPointerMove = (event: PointerEvent) => updateEnvYaw(event.clientX);
+ window.addEventListener("pointermove", onPointerMove, { passive: true });
+
+ async function start() {
+ const renderTheme = theme;
+ const canvas = canvasRef.current;
+ const context = canvas?.getContext("webgpu");
+ if (!canvas || !context || !navigator.gpu) return;
+
+ const mesh = await loadMesh();
+ if (cancelled) return;
+ setLogoAspect(meshAspect(mesh));
+ await nextFrame();
+ resizeCanvas(canvas);
+
+ const app = await App.create({ adapter: new BrowserAdapter() });
+ if (cancelled) {
+ app.device.destroy();
+ return;
+ }
+
+ const format = navigator.gpu.getPreferredCanvasFormat();
+ const alphaMode = renderTheme === "light" ? "premultiplied" : "opaque";
+ context.configure({ device: app.device.gpu, format, alphaMode });
+ const renderer = createEve5Renderer(app.device, format, mesh, { theme: renderTheme });
+ previousFrameTime = performance.now();
+
+ const draw = (frameTime = performance.now()) => {
+ if (cancelled) return;
+
+ const deltaSeconds = Math.max(0, (frameTime - previousFrameTime) / 1000);
+ previousFrameTime = frameTime;
+ controlsRef.current.envYaw = safeLerp(controlsRef.current.envYaw, targetEnvYaw, deltaSeconds * ENV_YAW_LERP_SPEED);
+
+ resizeCanvas(canvas);
+ // The renderer pads the logical scene size by BLOOM_RADIUS on each side before allocating
+ // its offscreen back/depth targets. The canvas itself is that padded physical render target,
+ // so subtract the padding here. Passing CSS/logical logo dimensions would make the front
+ // shader's @builtin(position) sample different pixels from the back-side targets on DPR > 1.
+ const logicalWidth = Math.max(1, canvas.width - BLOOM_RADIUS * 2);
+ const logicalHeight = Math.max(1, canvas.height - BLOOM_RADIUS * 2);
+ renderer.render(context.getCurrentTexture().createView(), controlsRef.current, logicalWidth, logicalHeight);
+ animationFrame = requestAnimationFrame(draw);
+ };
+
+ draw();
+
+ return () => {
+ renderer.dispose();
+ app.device.destroy();
+ };
+ }
+
+ let cleanup: (() => void) | undefined;
+ start()
+ .then((dispose) => {
+ cleanup = dispose;
+ })
+ .catch(() => {
+ // The landing page must degrade silently when WebGPU or the GPU process is unavailable.
+ });
+
+ return () => {
+ cancelled = true;
+ cancelAnimationFrame(animationFrame);
+ window.removeEventListener("pointermove", onPointerMove);
+ cleanup?.();
+ };
+ }, [theme]);
+
+ const logicalSize = getLogicalRenderSize(logoAspect);
+ const paddedWidth = logicalSize.width + BLOOM_RADIUS * 2;
+ const paddedHeight = logicalSize.height + BLOOM_RADIUS * 2;
+
+ return (
+ <div
+ aria-hidden="true"
+ className="pointer-events-none absolute left-1/2 top-1/2 z-0 h-[6.5em] max-w-none -translate-x-1/2 translate-y-[calc(-50%-0.42em)]"
+ style={{
+ aspectRatio: `${paddedWidth} / ${paddedHeight}`,
+ }}
+ >
+ <canvas ref={canvasRef} className="block size-full" />
+ <div
+ className={`pointer-events-none absolute inset-0 bg-gradient-to-b from-transparent ${theme === "light" ? "to-background-200" : "to-black"}`}
+ />
+ </div>
+ );
+}
+
+async function loadMesh() {
+ const response = await fetch(MODEL_URL, { cache: "no-store" });
+ if (!response.ok) throw new Error(`Failed to load ${MODEL_URL}: ${response.status}`);
+ return decodeGltfMesh(await response.json(), (uri) => loadGltfBuffer(uri, MODEL_URL));
+}
+
+async function loadGltfBuffer(uri: string, modelUrl: string) {
+ if (uri.startsWith("data:application/octet-stream;base64,")) {
+ return Uint8Array.from(atob(uri.split(",")[1]!), (char) => char.charCodeAt(0)).buffer;
+ }
+ const url = new URL(uri, window.location.origin + modelUrl);
+ const response = await fetch(url, { cache: "no-store" });
+ if (!response.ok) throw new Error(`Failed to load glTF buffer ${url.pathname}: ${response.status}`);
+ return response.arrayBuffer();
+}
+
+function getLogicalRenderSize(aspect: number) {
+ return {
+ width: Math.max(1, Math.round(LOGO_RENDER_HEIGHT * aspect)),
+ height: LOGO_RENDER_HEIGHT,
+ };
+}
+
+function resizeCanvas(canvas: HTMLCanvasElement | null) {
+ if (!canvas) return;
+ const dpr = Math.min(window.devicePixelRatio || 1, MAX_DEVICE_PIXEL_RATIO);
+ const rect = canvas.getBoundingClientRect();
+ const width = Math.max(1, Math.floor(rect.width * dpr));
+ const height = Math.max(1, Math.floor(rect.height * dpr));
+ if (canvas.width !== width || canvas.height !== height) {
+ canvas.width = width;
+ canvas.height = height;
+ }
+}
+
+function safeLerp(from: number, to: number, amount: number) {
+ const safeAmount = Math.max(0, Math.min(1, amount));
+ return from + (to - from) * safeAmount;
+}
+
+function nextFrame() {
+ return new Promise<void>((resolve) => requestAnimationFrame(() => resolve()));
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/mesh.ts b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/mesh.ts
new file mode 100644
index 000000000..51abf81cb
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/mesh.ts
@@ -0,0 +1,151 @@
+import type { Bounds, MeshData } from "./render";
+
+type Vec3 = [number, number, number];
+
+type GltfDocument = {
+ buffers?: Array<{ uri: string }>;
+ bufferViews: Array<{ buffer: number; byteOffset?: number; byteLength: number; byteStride?: number }>;
+ accessors: Array<{ bufferView: number; byteOffset?: number; componentType: number; count: number }>;
+ meshes?: Array<{
+ primitives?: Array<{
+ mode?: number;
+ attributes?: { POSITION?: number; NORMAL?: number };
+ indices?: number;
+ }>;
+ }>;
+};
+
+const GLTF_MODE_TRIANGLES = 4;
+const GL_FLOAT = 5126;
+const GL_UNSIGNED_BYTE = 5121;
+const GL_UNSIGNED_SHORT = 5123;
+const GL_UNSIGNED_INT = 5125;
+const POSITION_COMPONENTS = 3;
+const NORMAL_COMPONENTS = 3;
+
+export async function decodeGltfMesh(
+ gltf: GltfDocument,
+ loadBuffer: (uri: string) => Promise<ArrayBufferLike>,
+): Promise<MeshData> {
+ const buffers = await Promise.all((gltf.buffers ?? []).map((buffer) => loadBuffer(buffer.uri)));
+ const positions: number[] = [];
+ const normals: number[] = [];
+ const indices: number[] = [];
+
+ for (const mesh of gltf.meshes ?? []) {
+ for (const primitive of mesh.primitives ?? []) {
+ if (primitive.mode !== undefined && primitive.mode !== GLTF_MODE_TRIANGLES) continue;
+
+ const positionAccessorIndex = primitive.attributes?.POSITION;
+ const positionAccessor = positionAccessorIndex === undefined ? undefined : gltf.accessors[positionAccessorIndex];
+ if (!positionAccessor) continue;
+
+ const normalAccessorIndex = primitive.attributes?.NORMAL;
+ const normalAccessor = normalAccessorIndex === undefined ? undefined : gltf.accessors[normalAccessorIndex];
+ const primitivePositions = readFloatAccessor(buffers, gltf, positionAccessor, POSITION_COMPONENTS);
+ const primitiveNormals = normalAccessor
+ ? readFloatAccessor(buffers, gltf, normalAccessor, NORMAL_COMPONENTS)
+ : fallbackNormals(primitivePositions);
+ const vertexOffset = positions.length / POSITION_COMPONENTS;
+
+ for (const value of primitivePositions) positions.push(value);
+ for (const value of primitiveNormals) normals.push(value);
+
+ if (primitive.indices !== undefined) {
+ const primitiveIndices = readIndexAccessor(buffers, gltf, gltf.accessors[primitive.indices]!);
+ for (const index of primitiveIndices) indices.push(vertexOffset + index);
+ } else {
+ for (let i = 0; i < primitivePositions.length / POSITION_COMPONENTS; i++) indices.push(vertexOffset + i);
+ }
+ }
+ }
+
+ if (!positions.length || !indices.length) throw new Error("No triangle mesh data found in glTF asset.");
+
+ const positionArray = new Float32Array(positions);
+ return {
+ positions: positionArray,
+ normals: new Float32Array(normals),
+ indices: new Uint32Array(indices),
+ bounds: meshBounds(positionArray),
+ };
+}
+
+export function meshAspect(mesh: MeshData) {
+ const width = mesh.bounds.max[0] - mesh.bounds.min[0];
+ const height = mesh.bounds.max[1] - mesh.bounds.min[1];
+ return width / height;
+}
+
+function readFloatAccessor(buffers: ArrayBufferLike[], gltf: GltfDocument, accessor: GltfDocument["accessors"][number], components: number) {
+ const view = gltf.bufferViews[accessor.bufferView]!;
+ const buffer = buffers[view.buffer]!;
+ const byteOffset = (view.byteOffset ?? 0) + (accessor.byteOffset ?? 0);
+ if (accessor.componentType !== GL_FLOAT) throw new Error(`Unsupported float accessor component type ${accessor.componentType}`);
+ if (!view.byteStride || view.byteStride === components * Float32Array.BYTES_PER_ELEMENT) {
+ return new Float32Array(buffer, byteOffset, accessor.count * components);
+ }
+
+ const source = new DataView(buffer, byteOffset, view.byteLength - (accessor.byteOffset ?? 0));
+ const out = new Float32Array(accessor.count * components);
+ for (let i = 0; i < accessor.count; i++) {
+ for (let component = 0; component < components; component++) {
+ out[i * components + component] = source.getFloat32(i * view.byteStride + component * Float32Array.BYTES_PER_ELEMENT, true);
+ }
+ }
+ return out;
+}
+
+function readIndexAccessor(buffers: ArrayBufferLike[], gltf: GltfDocument, accessor: GltfDocument["accessors"][number]) {
+ const view = gltf.bufferViews[accessor.bufferView]!;
+ const buffer = buffers[view.buffer]!;
+ const byteOffset = (view.byteOffset ?? 0) + (accessor.byteOffset ?? 0);
+ if (accessor.componentType === GL_UNSIGNED_BYTE) return new Uint8Array(buffer, byteOffset, accessor.count);
+ if (accessor.componentType === GL_UNSIGNED_SHORT) return new Uint16Array(buffer, byteOffset, accessor.count);
+ if (accessor.componentType === GL_UNSIGNED_INT) return new Uint32Array(buffer, byteOffset, accessor.count);
+ throw new Error(`Unsupported index accessor component type ${accessor.componentType}`);
+}
+
+function fallbackNormals(positions: Float32Array) {
+ const normals = new Float32Array(positions.length);
+ for (let i = 0; i < positions.length; i += 9) {
+ const normal = faceNormal(
+ [positions[i]!, positions[i + 1]!, positions[i + 2]!],
+ [positions[i + 3]!, positions[i + 4]!, positions[i + 5]!],
+ [positions[i + 6]!, positions[i + 7]!, positions[i + 8]!],
+ );
+ normals.set(normal, i);
+ normals.set(normal, i + 3);
+ normals.set(normal, i + 6);
+ }
+ return normals;
+}
+
+function meshBounds(positions: Float32Array): Bounds {
+ const min: Vec3 = [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY];
+ const max: Vec3 = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY];
+ for (let i = 0; i < positions.length; i += POSITION_COMPONENTS) {
+ min[0] = Math.min(min[0], positions[i]!);
+ min[1] = Math.min(min[1], positions[i + 1]!);
+ min[2] = Math.min(min[2], positions[i + 2]!);
+ max[0] = Math.max(max[0], positions[i]!);
+ max[1] = Math.max(max[1], positions[i + 1]!);
+ max[2] = Math.max(max[2], positions[i + 2]!);
+ }
+ return { min, max };
+}
+
+function faceNormal(a: Vec3, b: Vec3, c: Vec3): Vec3 {
+ const ux = b[0] - a[0];
+ const uy = b[1] - a[1];
+ const uz = b[2] - a[2];
+ const vx = c[0] - a[0];
+ const vy = c[1] - a[1];
+ const vz = c[2] - a[2];
+ return normalize3([uy * vz - uz * vy, uz * vx - ux * vz, ux * vy - uy * vx]);
+}
+
+function normalize3(v: Vec3): Vec3 {
+ const len = Math.hypot(v[0], v[1], v[2]) || 1;
+ return [v[0] / len, v[1] / len, v[2] / len];
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts
new file mode 100644
index 000000000..677c2fce6
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts
@@ -0,0 +1,1015 @@
+import { Device, type Buffer } from "@vgpu/core";
+import { createRenderPipeline, RenderPass } from "@vgpu/render";
+import { compile } from "@vgpu/wgsl";
+import glassBackWgsl from "./shaders/glass/back.wgsl";
+import glassFrontWgsl from "./shaders/glass/front.wgsl";
+import glassBackDepthWgsl from "./shaders/glass/back-depth.wgsl";
+import eveBloomBlurWgsl from "./shaders/bloom/blur.wgsl";
+import eveBloomCompositeWgsl from "./shaders/bloom/composite.wgsl";
+import eveLightCompositeWgsl from "./shaders/postprocess/light-composite.wgsl";
+import eveCubemapWgsl from "./shaders/cubemap/render.wgsl";
+import eveEnvBgWgsl from "./shaders/env/background.wgsl";
+import renderTargetPreviewWgsl from "./shaders/debug/render-target-preview.wgsl";
+
+export type Bounds = {
+ min: [number, number, number];
+ max: [number, number, number];
+};
+
+export type MeshData = {
+ positions: Float32Array;
+ normals: Float32Array;
+ indices: Uint32Array;
+ bounds: Bounds;
+};
+
+export type EveMaterial = "glass" | "normal" | "camera reflected normal" | "metallic" | "back-albedo" | "back-depth" | "thickness";
+
+export type RenderControls = {
+ yaw: number;
+ pitch: number;
+ radius: number;
+ fov: number;
+ envYaw: number;
+ insideRendering: boolean;
+ outsideRendering: boolean;
+ material: EveMaterial;
+ wireframe: boolean;
+ showEnv: boolean;
+};
+
+type GpuMesh = {
+ vertexBuffer: Buffer;
+ indexBuffer: Buffer;
+ lineIndexBuffer: Buffer;
+ indexCount: number;
+ lineIndexCount: number;
+};
+
+export type StudioCubemap = {
+ texture: GPUTexture;
+ view: GPUTextureView;
+ sampler: GPUSampler;
+ faceParams: Buffer;
+};
+
+const PARAMS_BYTE_SIZE = 144;
+const CUBE_PARAMS_BYTE_SIZE = 16;
+export const CUBE_SIZE = 256;
+export const CUBE_FACE_COUNT = 6;
+export const CUBE_FORMAT: GPUTextureFormat = "rgba16float";
+export const BLOOM_RADIUS = 16;
+export const SCENE_FORMAT: GPUTextureFormat = "rgba16float";
+export const BLOOM_STRENGTH = 0.85;
+export const BLOOM_THRESHOLD = 0;
+const BACK_DEPTH_FORMAT: GPUTextureFormat = "depth32float";
+
+// The shader renders the back side first, then the front side. Keeping two passes
+// preserves the acrylic depth/overlap cues while avoiding a depth buffer.
+const PASS_INSIDE = 0;
+const PASS_OUTSIDE = 1;
+const PASS_WIREFRAME = 2;
+const MATERIAL_KIND: Record<EveMaterial, number> = {
+ glass: 0,
+ normal: 1,
+ "camera reflected normal": 2,
+ metallic: 3,
+ "back-albedo": 0,
+ "back-depth": 0,
+ thickness: 4,
+};
+const CAMERA_NEAR = 0.05;
+const CAMERA_FAR = 20;
+const EVE_THICKNESS_SCALE_MULTIPLIER = 1.3;
+const PREVIEW_BACK_ALBEDO = 0;
+const PREVIEW_BACK_DEPTH = 1;
+
+type Mat4 = Float32Array;
+type Vec3 = [number, number, number];
+
+export function createEve5Renderer(
+ device: Device,
+ format: GPUTextureFormat,
+ mesh: MeshData,
+ options: { thicknessScale?: number; theme?: "light" | "dark" } = {},
+) {
+ const studioCubemap = createStudioCubemap(device);
+ renderStudioCubemap(device, studioCubemap);
+ const orbitTarget = meshOrbitTarget(mesh);
+ const thicknessScale = options.thicknessScale ?? meshThicknessScale(mesh.bounds);
+ const isLight = options.theme === "light";
+
+ const glassBackShader = device.createShader(compile(glassBackWgsl));
+ const glassFrontShader = device.createShader(compile(glassFrontWgsl));
+ const glassBackDepthShader = device.createShader(compile(glassBackDepthWgsl));
+ const vertexLayout: GPUVertexBufferLayout = {
+ arrayStride: 6 * 4,
+ attributes: [
+ { shaderLocation: 0, offset: 0, format: "float32x3" },
+ { shaderLocation: 1, offset: 3 * 4, format: "float32x3" },
+ ],
+ };
+
+ const backMaterialPipeline = createRenderPipeline(device, {
+ label: "eve-5-glass-back-material-pipeline",
+ shader: glassBackShader,
+ vertex: { entry: "vs_main", buffers: [vertexLayout] },
+ fragment: {
+ entry: "fs_main",
+ targets: [
+ {
+ format: SCENE_FORMAT,
+ blend: {
+ color: { srcFactor: "src-alpha", dstFactor: "one", operation: "add" },
+ alpha: { srcFactor: "one", dstFactor: "one-minus-src-alpha", operation: "add" },
+ },
+ },
+ ],
+ },
+ primitive: { topology: "triangle-list" },
+ depthStencil: { format: BACK_DEPTH_FORMAT, depthWriteEnabled: true, depthCompare: "less" },
+ });
+
+ const backDepthPipeline = createRenderPipeline(device, {
+ label: "eve-5-glass-back-depth-pipeline",
+ shader: glassBackDepthShader,
+ vertex: { entry: "vs_main", buffers: [vertexLayout] },
+ fragment: { entry: "fs_main", targets: [{ format: SCENE_FORMAT }] },
+ primitive: { topology: "triangle-list" },
+ depthStencil: { format: BACK_DEPTH_FORMAT, depthWriteEnabled: false, depthCompare: "less-equal" },
+ });
+
+ const frontMaterialPipeline = createRenderPipeline(device, {
+ label: "eve-5-glass-front-material-pipeline",
+ shader: glassFrontShader,
+ vertex: { entry: "vs_main", buffers: [vertexLayout] },
+ fragment: {
+ entry: "fs_main",
+ targets: [
+ {
+ format: SCENE_FORMAT,
+ blend: {
+ color: { srcFactor: "src-alpha", dstFactor: "one", operation: "add" },
+ alpha: { srcFactor: "one", dstFactor: "one-minus-src-alpha", operation: "add" },
+ },
+ },
+ ],
+ },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const frontDisplayPipeline = createRenderPipeline(device, {
+ label: "eve-5-glass-front-display-pipeline",
+ shader: glassFrontShader,
+ vertex: { entry: "vs_main", buffers: [vertexLayout] },
+ fragment: { entry: "fs_main", targets: [{ format }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const opaquePipeline = createRenderPipeline(device, {
+ label: "eve-5-opaque-material-pipeline",
+ shader: glassFrontShader,
+ vertex: { entry: "vs_main", buffers: [vertexLayout] },
+ fragment: {
+ entry: "fs_main",
+ targets: [
+ {
+ format: SCENE_FORMAT,
+ blend: {
+ color: { srcFactor: "one", dstFactor: "zero", operation: "add" },
+ alpha: { srcFactor: "one", dstFactor: "zero", operation: "add" },
+ },
+ },
+ ],
+ },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const wirePipeline = createRenderPipeline(device, {
+ label: "eve-5-wireframe-pipeline",
+ shader: glassFrontShader,
+ vertex: { entry: "vs_main", buffers: [vertexLayout] },
+ fragment: {
+ entry: "fs_main",
+ targets: [
+ {
+ format: SCENE_FORMAT,
+ blend: {
+ color: { srcFactor: "src-alpha", dstFactor: "one-minus-src-alpha", operation: "add" },
+ alpha: { srcFactor: "one", dstFactor: "one-minus-src-alpha", operation: "add" },
+ },
+ },
+ ],
+ },
+ primitive: { topology: "line-list" },
+ });
+
+ const blurPipeline = createRenderPipeline(device, {
+ label: "eve-5-bloom-blur-pipeline",
+ shader: device.createShader(compile(eveBloomBlurWgsl)),
+ vertex: { entry: "vs_main" },
+ fragment: { entry: "fs_main", targets: [{ format: SCENE_FORMAT }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const compositePipeline = createRenderPipeline(device, {
+ label: "eve-5-bloom-composite-pipeline",
+ shader: device.createShader(compile(eveBloomCompositeWgsl)),
+ vertex: { entry: "vs_main" },
+ fragment: { entry: "fs_main", targets: [{ format }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const lightCompositePipeline = createRenderPipeline(device, {
+ label: "eve-5-light-composite-pipeline",
+ shader: device.createShader(compile(eveLightCompositeWgsl)),
+ vertex: { entry: "vs_main" },
+ fragment: { entry: "fs_main", targets: [{ format }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const envBgPipeline = createRenderPipeline(device, {
+ label: "eve-5-env-bg-pipeline",
+ shader: device.createShader(compile(eveEnvBgWgsl)),
+ vertex: { entry: "vs_main" },
+ fragment: { entry: "fs_main", targets: [{ format: SCENE_FORMAT }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const previewPipeline = createRenderPipeline(device, {
+ label: "eve-5-render-target-preview-pipeline",
+ shader: device.createShader(compile(renderTargetPreviewWgsl)),
+ vertex: { entry: "vs_main" },
+ fragment: { entry: "fs_main", targets: [{ format }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const gpuMesh = createGpuMesh(device, mesh);
+ const insideParams = createBackParamsBinding(device, backMaterialPipeline, studioCubemap, "eve-5-inside-params");
+ const backDepthParams = createUniformParamsBinding(device, backDepthPipeline, "eve-5-back-depth-params");
+ const envBgParams = createEnvParamsBinding(device, envBgPipeline, studioCubemap, "eve-5-env-bg-params");
+ const outsideParams = createParamsBinding(device, frontMaterialPipeline, studioCubemap, "eve-5-outside-params");
+ const opaqueOutsideParams = createParamsBinding(device, opaquePipeline, studioCubemap, "eve-5-opaque-outside-params");
+ const wireParams = createParamsBinding(device, wirePipeline, studioCubemap, "eve-5-wire-params");
+ const blurParamsBuffer = device.createBuffer({
+ label: "eve-5-bloom-blur-params",
+ size: 16,
+ usage: ["uniform", "copy_dst"],
+ });
+ const compositeParamsBuffer = device.createBuffer({
+ label: "eve-5-bloom-composite-params",
+ size: 16,
+ usage: ["uniform", "copy_dst"],
+ });
+ compositeParamsBuffer.write(new Float32Array([BLOOM_STRENGTH, 0, 0, 0]));
+ const blurSampler = device.gpu.createSampler({
+ label: "eve-5-bloom-sampler",
+ magFilter: "linear",
+ minFilter: "linear",
+ addressModeU: "clamp-to-edge",
+ addressModeV: "clamp-to-edge",
+ });
+ const previewSampler = device.gpu.createSampler({
+ label: "eve-5-render-target-preview-sampler",
+ magFilter: "linear",
+ minFilter: "linear",
+ addressModeU: "clamp-to-edge",
+ addressModeV: "clamp-to-edge",
+ });
+ const previewMode = device.createBuffer({
+ label: "eve-5-render-target-preview-mode",
+ size: 16,
+ usage: ["uniform", "copy_dst"],
+ });
+ let bloomTargets: BloomTargets | undefined;
+
+ const writeParams = (target: { buffer: Buffer }, controls: RenderControls, logicalWidth: number, logicalHeight: number, passKind: number) => {
+ const padded = getPaddedRenderSize(logicalWidth, logicalHeight);
+ const fovRad = degreesToRadians(controls.fov);
+ const verticalScale = padded.height / logicalHeight;
+ const fovEff = 2 * Math.atan(verticalScale * Math.tan(fovRad * 0.5));
+ const aspect = padded.width / padded.height;
+ const eye = orbitEye(orbitTarget, controls.radius, controls.yaw, controls.pitch);
+ const proj = perspective(fovEff, aspect, CAMERA_NEAR, CAMERA_FAR);
+ const view = lookAt(eye, orbitTarget, [0, 1, 0]);
+ const viewProj = multiply(proj, view);
+ const basis = cameraBasis(eye, orbitTarget);
+ const data = new Float32Array(36);
+ data.set(viewProj, 0);
+ data[16] = eye[0];
+ data[17] = eye[1];
+ data[18] = eye[2];
+ data[19] = passKind;
+ data[20] = basis.right[0];
+ data[21] = basis.right[1];
+ data[22] = basis.right[2];
+ data[23] = fovEff;
+ data[24] = basis.up[0];
+ data[25] = basis.up[1];
+ data[26] = basis.up[2];
+ data[27] = aspect;
+ data[28] = basis.forward[0];
+ data[29] = basis.forward[1];
+ data[30] = basis.forward[2];
+ data[31] = MATERIAL_KIND[controls.material];
+ data[32] = thicknessScale;
+ data[33] = controls.envYaw;
+ target.buffer.write(data);
+ };
+
+ const ensureBloomTargets = (logicalWidth: number, logicalHeight: number) => {
+ const padded = getPaddedRenderSize(logicalWidth, logicalHeight);
+ if (bloomTargets?.width === padded.width && bloomTargets.height === padded.height) return bloomTargets;
+ bloomTargets?.scene.destroy();
+ bloomTargets?.backMaterial.destroy();
+ bloomTargets?.backDepth.destroy();
+ bloomTargets?.backSurfaceDepth.destroy();
+ bloomTargets?.horizontal.destroy();
+ bloomTargets?.vertical.destroy();
+ bloomTargets = {
+ width: padded.width,
+ height: padded.height,
+ scene: createBloomTexture(device, "eve-5-scene-linear-hdr", padded.width, padded.height),
+ backMaterial: createBloomTexture(device, "eve-5-back-material-linear-hdr", padded.width, padded.height),
+ backDepth: createBloomTexture(device, "eve-5-back-camera-axis-depth", padded.width, padded.height),
+ backSurfaceDepth: createBackDepthTexture(device, "eve-5-back-surface-depth", padded.width, padded.height),
+ horizontal: createBloomTexture(device, "eve-5-bloom-horizontal", padded.width, padded.height),
+ vertical: createBloomTexture(device, "eve-5-bloom-vertical", padded.width, padded.height),
+ };
+ return bloomTargets;
+ };
+
+ const renderBackMaterial = (target: GPUTextureView, depth: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
+ writeParams(insideParams, controls, logicalWidth, logicalHeight, PASS_INSIDE);
+ const pass = new RenderPass(device, {
+ label: "eve-5-back-material-pass",
+ colorAttachments: [{ view: target, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
+ depthStencilAttachment: {
+ view: depth,
+ depthClearValue: 1,
+ depthLoadOp: "clear",
+ depthStoreOp: "store",
+ },
+ });
+ if (controls.insideRendering) {
+ pass.setPipeline(backMaterialPipeline);
+ pass.setVertexBuffer(0, gpuMesh.vertexBuffer);
+ pass.gpu.setIndexBuffer(gpuMesh.indexBuffer.gpu, "uint32");
+ pass.setBindGroup(0, insideParams.bindGroup);
+ pass.gpu.drawIndexed(gpuMesh.indexCount, 1, 0, 0, 0);
+ }
+ pass.end();
+ };
+
+ const renderBackDepth = (target: GPUTextureView, depth: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
+ writeParams(backDepthParams, controls, logicalWidth, logicalHeight, PASS_INSIDE);
+ const pass = new RenderPass(device, {
+ label: "eve-5-back-depth-pass",
+ colorAttachments: [{ view: target, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
+ depthStencilAttachment: {
+ view: depth,
+ depthLoadOp: "load",
+ depthStoreOp: "store",
+ },
+ });
+ if (controls.insideRendering) {
+ pass.setPipeline(backDepthPipeline);
+ pass.setVertexBuffer(0, gpuMesh.vertexBuffer);
+ pass.gpu.setIndexBuffer(gpuMesh.indexBuffer.gpu, "uint32");
+ pass.setBindGroup(0, backDepthParams.bindGroup);
+ pass.gpu.drawIndexed(gpuMesh.indexCount, 1, 0, 0, 0);
+ }
+ pass.end();
+ };
+
+ const renderScene = (view: GPUTextureView, backMaterial: GPUTexture, backDepth: GPUTexture, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
+ writeParams(outsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
+ writeParams(wireParams, controls, logicalWidth, logicalHeight, PASS_WIREFRAME);
+ writeParams(envBgParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
+ writeParams(opaqueOutsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
+
+ const outsideBindGroup = createParamsBindGroup(
+ device,
+ frontMaterialPipeline,
+ studioCubemap,
+ outsideParams.buffer,
+ backMaterial.createView(),
+ backDepth.createView(),
+ "eve-5-outside-params-bind-group",
+ );
+
+ const pass = new RenderPass(device, {
+ label: "eve-5-scene-hdr-pass",
+ colorAttachments: [{ view, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, isLight ? 0 : 1] }],
+ });
+
+ // Optional environment background: draw the studio cubemap behind the logo so the lighting
+ // is visible. Fullscreen triangle, no vertex buffer, so do it before binding the mesh.
+ if (controls.showEnv) {
+ pass.setPipeline(envBgPipeline);
+ pass.setBindGroup(0, envBgParams.bindGroup);
+ pass.draw(3);
+ }
+
+ pass.setVertexBuffer(0, gpuMesh.vertexBuffer);
+
+ const needsBackTargets = controls.material === "glass" || controls.material === "thickness";
+ pass.gpu.setIndexBuffer(gpuMesh.indexBuffer.gpu, "uint32");
+ if (needsBackTargets) {
+ // The back/inside material and camera-axis depth have already been rendered into offscreen
+ // targets. The main scene draws only the front/outside material; glass and thickness debug
+ // both need the real back targets rather than the opaque/debug fallback bind group.
+ if (controls.outsideRendering) {
+ pass.setPipeline(frontMaterialPipeline);
+ pass.setBindGroup(0, outsideBindGroup);
+ pass.gpu.drawIndexed(gpuMesh.indexCount, 1, 0, 0, 0);
+ }
+ } else if (controls.outsideRendering) {
+ // Opaque/debug materials are single-surface views. Drawing the inside pass too would
+ // double-expose through the depthless transparent ordering used by glass.
+ pass.setPipeline(opaquePipeline);
+ pass.setBindGroup(0, opaqueOutsideParams.bindGroup);
+ pass.gpu.drawIndexed(gpuMesh.indexCount, 1, 0, 0, 0);
+ }
+
+ if (controls.wireframe) {
+ pass.setPipeline(wirePipeline);
+ pass.gpu.setIndexBuffer(gpuMesh.lineIndexBuffer.gpu, "uint32");
+ pass.setBindGroup(0, wireParams.bindGroup);
+ pass.gpu.drawIndexed(gpuMesh.lineIndexCount, 1, 0, 0, 0);
+ }
+
+ pass.end();
+ };
+
+ const renderTargetPreview = (view: GPUTextureView, targets: BloomTargets, controls: RenderControls) => {
+ const basis = cameraBasis(orbitEye(orbitTarget, controls.radius, controls.yaw, controls.pitch), orbitTarget);
+ const depthRange = cameraAxisDepthRange(mesh.bounds, basis.forward);
+ previewMode.write(
+ new Float32Array([
+ controls.material === "back-depth" ? PREVIEW_BACK_DEPTH : PREVIEW_BACK_ALBEDO,
+ depthRange.min,
+ depthRange.max,
+ 0,
+ ]),
+ );
+ const bindGroup = device.gpu.createBindGroup({
+ label: "eve-5-render-target-preview-bind-group",
+ layout: previewPipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: targets.backMaterial.createView() },
+ { binding: 1, resource: targets.backDepth.createView() },
+ { binding: 2, resource: previewSampler },
+ { binding: 3, resource: { buffer: previewMode.gpu } },
+ ],
+ });
+ const pass = new RenderPass(device, {
+ label: "eve-5-render-target-preview-pass",
+ colorAttachments: [{ view, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
+ });
+ pass.setPipeline(previewPipeline);
+ pass.setBindGroup(0, bindGroup);
+ pass.draw(3);
+ pass.end();
+ };
+
+ const renderThicknessDebug = (view: GPUTextureView, backMaterial: GPUTexture, backDepth: GPUTexture, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
+ writeParams(outsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
+ const outsideBindGroup = createParamsBindGroup(
+ device,
+ frontDisplayPipeline,
+ studioCubemap,
+ outsideParams.buffer,
+ backMaterial.createView(),
+ backDepth.createView(),
+ "eve-5-thickness-debug-params-bind-group",
+ );
+
+ const pass = new RenderPass(device, {
+ label: "eve-5-thickness-debug-pass",
+ colorAttachments: [{ view, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
+ });
+ pass.setVertexBuffer(0, gpuMesh.vertexBuffer);
+ pass.gpu.setIndexBuffer(gpuMesh.indexBuffer.gpu, "uint32");
+ if (controls.outsideRendering) {
+ pass.setPipeline(frontDisplayPipeline);
+ pass.setBindGroup(0, outsideBindGroup);
+ pass.gpu.drawIndexed(gpuMesh.indexCount, 1, 0, 0, 0);
+ }
+ pass.end();
+ };
+
+ const renderBlur = (source: GPUTexture, target: GPUTexture, direction: [number, number], extract: boolean) => {
+ blurParamsBuffer.write(new Float32Array([direction[0], direction[1], extract ? 1 : 0, BLOOM_THRESHOLD]));
+ const bindGroup = device.gpu.createBindGroup({
+ label: "eve-5-bloom-blur-bind-group",
+ layout: blurPipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: source.createView() },
+ { binding: 1, resource: blurSampler },
+ { binding: 2, resource: { buffer: blurParamsBuffer.gpu } },
+ ],
+ });
+ const pass = new RenderPass(device, {
+ label: `eve-5-bloom-${direction[0] > 0 ? "horizontal" : "vertical"}-pass`,
+ colorAttachments: [{ view: target.createView(), loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
+ });
+ pass.setPipeline(blurPipeline);
+ pass.setBindGroup(0, bindGroup);
+ pass.draw(3);
+ pass.end();
+ };
+
+ const renderComposite = (view: GPUTextureView, targets: BloomTargets) => {
+ const bindGroup = device.gpu.createBindGroup({
+ label: "eve-5-bloom-composite-bind-group",
+ layout: compositePipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: targets.scene.createView() },
+ { binding: 1, resource: targets.vertical.createView() },
+ { binding: 2, resource: blurSampler },
+ { binding: 3, resource: { buffer: compositeParamsBuffer.gpu } },
+ ],
+ });
+ const pass = new RenderPass(device, {
+ label: "eve-5-composite-tonemap-pass",
+ colorAttachments: [{ view, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
+ });
+ pass.setPipeline(compositePipeline);
+ pass.setBindGroup(0, bindGroup);
+ pass.draw(3);
+ pass.end();
+ };
+
+ const renderLightComposite = (view: GPUTextureView, targets: BloomTargets) => {
+ const bindGroup = device.gpu.createBindGroup({
+ label: "eve-5-light-composite-bind-group",
+ layout: lightCompositePipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: targets.scene.createView() },
+ { binding: 1, resource: blurSampler },
+ ],
+ });
+ const pass = new RenderPass(device, {
+ label: "eve-5-light-composite-premultiplied-pass",
+ colorAttachments: [{ view, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 0] }],
+ });
+ pass.setPipeline(lightCompositePipeline);
+ pass.setBindGroup(0, bindGroup);
+ pass.draw(3);
+ pass.end();
+ };
+
+ return {
+ render(target: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number) {
+ const safeWidth = Math.max(1, Math.round(logicalWidth));
+ const safeHeight = Math.max(1, Math.round(logicalHeight));
+ const targets = ensureBloomTargets(safeWidth, safeHeight);
+ const backSurfaceDepthView = targets.backSurfaceDepth.createView();
+ renderBackMaterial(targets.backMaterial.createView(), backSurfaceDepthView, controls, safeWidth, safeHeight);
+ renderBackDepth(targets.backDepth.createView(), backSurfaceDepthView, controls, safeWidth, safeHeight);
+ if (controls.material === "back-albedo" || controls.material === "back-depth") {
+ renderTargetPreview(target, targets, controls);
+ return;
+ }
+ if (controls.material === "thickness") {
+ renderThicknessDebug(target, targets.backMaterial, targets.backDepth, controls, safeWidth, safeHeight);
+ return;
+ }
+ renderScene(targets.scene.createView(), targets.backMaterial, targets.backDepth, controls, safeWidth, safeHeight);
+ if (isLight) {
+ renderLightComposite(target, targets);
+ return;
+ }
+ renderBlur(targets.scene, targets.horizontal, [1, 0], true);
+ renderBlur(targets.horizontal, targets.vertical, [0, 1], false);
+ renderComposite(target, targets);
+ },
+ dispose() {
+ gpuMesh.vertexBuffer.destroy();
+ gpuMesh.indexBuffer.destroy();
+ gpuMesh.lineIndexBuffer.destroy();
+ insideParams.buffer.destroy();
+ backDepthParams.buffer.destroy();
+ outsideParams.buffer.destroy();
+ outsideParams.fallbackBackMaterial.destroy();
+ outsideParams.fallbackBackDepth.destroy();
+ opaqueOutsideParams.buffer.destroy();
+ opaqueOutsideParams.fallbackBackMaterial.destroy();
+ opaqueOutsideParams.fallbackBackDepth.destroy();
+ wireParams.buffer.destroy();
+ wireParams.fallbackBackMaterial.destroy();
+ wireParams.fallbackBackDepth.destroy();
+ envBgParams.buffer.destroy();
+ blurParamsBuffer.destroy();
+ compositeParamsBuffer.destroy();
+ previewMode.destroy();
+ bloomTargets?.scene.destroy();
+ bloomTargets?.backMaterial.destroy();
+ bloomTargets?.backDepth.destroy();
+ bloomTargets?.backSurfaceDepth.destroy();
+ bloomTargets?.horizontal.destroy();
+ bloomTargets?.vertical.destroy();
+ studioCubemap.faceParams.destroy();
+ studioCubemap.texture.destroy();
+ },
+ };
+}
+
+type BloomTargets = {
+ width: number;
+ height: number;
+ scene: GPUTexture;
+ backMaterial: GPUTexture;
+ backDepth: GPUTexture;
+ backSurfaceDepth: GPUTexture;
+ horizontal: GPUTexture;
+ vertical: GPUTexture;
+};
+
+export function getPaddedRenderSize(width: number, height: number) {
+ return {
+ width: Math.max(1, Math.round(width)) + BLOOM_RADIUS * 2,
+ height: Math.max(1, Math.round(height)) + BLOOM_RADIUS * 2,
+ };
+}
+
+function createBloomTexture(device: Device, label: string, width: number, height: number) {
+ return device.gpu.createTexture({
+ label,
+ size: [width, height],
+ format: SCENE_FORMAT,
+ usage: GPUTextureUsage.RENDER_ATTACHMENT | GPUTextureUsage.TEXTURE_BINDING,
+ });
+}
+
+function createBackDepthTexture(device: Device, label: string, width: number, height: number) {
+ return device.gpu.createTexture({
+ label,
+ size: [width, height],
+ format: BACK_DEPTH_FORMAT,
+ usage: GPUTextureUsage.RENDER_ATTACHMENT,
+ });
+}
+
+export function createStudioCubemap(device: Device): StudioCubemap {
+ const texture = device.gpu.createTexture({
+ label: "eve-5-studio-hdr-cubemap",
+ size: { width: CUBE_SIZE, height: CUBE_SIZE, depthOrArrayLayers: CUBE_FACE_COUNT },
+ dimension: "2d",
+ format: CUBE_FORMAT,
+ usage: GPUTextureUsage.RENDER_ATTACHMENT | GPUTextureUsage.TEXTURE_BINDING,
+ });
+ // Dawn's node adapter runs in compatibility mode and validates cube views as 2D arrays.
+ // Keep the asset semantically as a cubemap, but bind/sample it as six array layers.
+ const view = texture.createView({ dimension: "2d-array", baseArrayLayer: 0, arrayLayerCount: CUBE_FACE_COUNT });
+ const sampler = device.gpu.createSampler({
+ label: "eve-5-studio-hdr-cubemap-sampler",
+ magFilter: "linear",
+ minFilter: "linear",
+ });
+ const faceParams = device.createBuffer({
+ label: "eve-5-studio-cubemap-face-params",
+ size: CUBE_PARAMS_BYTE_SIZE,
+ usage: ["uniform", "copy_dst"],
+ });
+ return { texture, view, sampler, faceParams };
+}
+
+export function renderStudioCubemap(device: Device, cubemap: StudioCubemap) {
+ const pipeline = createRenderPipeline(device, {
+ label: "eve-5-studio-cubemap-bake-pipeline",
+ shader: device.createShader(compile(eveCubemapWgsl)),
+ vertex: { entry: "vs_main" },
+ fragment: { entry: "fs_main", targets: [{ format: CUBE_FORMAT }] },
+ primitive: { topology: "triangle-list" },
+ });
+
+ const bindGroup = device.gpu.createBindGroup({
+ label: "eve-5-studio-cubemap-bake-bind-group",
+ layout: pipeline.getBindGroupLayout(0),
+ entries: [{ binding: 0, resource: { buffer: cubemap.faceParams.gpu } }],
+ });
+
+ for (let face = 0; face < CUBE_FACE_COUNT; face += 1) {
+ cubemap.faceParams.write(new Float32Array([face, 0, 0, 0]));
+ const pass = new RenderPass(device, {
+ label: `eve-5-studio-cubemap-face-${face}`,
+ colorAttachments: [
+ {
+ view: cubemap.texture.createView({ dimension: "2d", baseArrayLayer: face, arrayLayerCount: 1 }),
+ loadOp: "clear",
+ storeOp: "store",
+ clearValue: [0, 0, 0, 1],
+ },
+ ],
+ });
+ pass.setPipeline(pipeline);
+ pass.setBindGroup(0, bindGroup);
+ pass.draw(3);
+ pass.end();
+ }
+}
+
+function createEnvParamsBinding(device: Device, pipeline: GPURenderPipeline, cubemap: StudioCubemap, label: string) {
+ const buffer = device.createBuffer({ size: PARAMS_BYTE_SIZE, usage: ["uniform", "copy_dst"], label });
+ const bindGroup = device.gpu.createBindGroup({
+ label: `${label}-bind-group`,
+ layout: pipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: { buffer: buffer.gpu } },
+ { binding: 1, resource: cubemap.view },
+ { binding: 2, resource: cubemap.sampler },
+ ],
+ });
+ return { buffer, bindGroup };
+}
+
+function createBackParamsBinding(device: Device, pipeline: GPURenderPipeline, cubemap: StudioCubemap, label: string) {
+ const buffer = device.createBuffer({ size: PARAMS_BYTE_SIZE, usage: ["uniform", "copy_dst"], label });
+ const bindGroup = device.gpu.createBindGroup({
+ label: `${label}-bind-group`,
+ layout: pipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: { buffer: buffer.gpu } },
+ { binding: 1, resource: cubemap.view },
+ { binding: 2, resource: cubemap.sampler },
+ ],
+ });
+ return { buffer, bindGroup };
+}
+
+function createUniformParamsBinding(device: Device, pipeline: GPURenderPipeline, label: string) {
+ const buffer = device.createBuffer({ size: PARAMS_BYTE_SIZE, usage: ["uniform", "copy_dst"], label });
+ const bindGroup = device.gpu.createBindGroup({
+ label: `${label}-bind-group`,
+ layout: pipeline.getBindGroupLayout(0),
+ entries: [{ binding: 0, resource: { buffer: buffer.gpu } }],
+ });
+ return { buffer, bindGroup };
+}
+
+function createParamsBinding(
+ device: Device,
+ pipeline: GPURenderPipeline,
+ cubemap: StudioCubemap,
+ label: string,
+ backMaterialView?: GPUTextureView,
+ backDepthView?: GPUTextureView,
+) {
+ const buffer = device.createBuffer({ size: PARAMS_BYTE_SIZE, usage: ["uniform", "copy_dst"], label });
+ const fallbackBackMaterial = device.gpu.createTexture({
+ label: `${label}-empty-back-material`,
+ size: [1, 1],
+ format: SCENE_FORMAT,
+ usage: GPUTextureUsage.TEXTURE_BINDING,
+ });
+ const fallbackBackDepth = device.gpu.createTexture({
+ label: `${label}-empty-back-depth`,
+ size: [1, 1],
+ format: SCENE_FORMAT,
+ usage: GPUTextureUsage.TEXTURE_BINDING,
+ });
+ const bindGroup = createParamsBindGroup(
+ device,
+ pipeline,
+ cubemap,
+ buffer,
+ backMaterialView ?? fallbackBackMaterial.createView(),
+ backDepthView ?? fallbackBackDepth.createView(),
+ `${label}-bind-group`,
+ );
+ return { buffer, bindGroup, fallbackBackMaterial, fallbackBackDepth };
+}
+
+function createParamsBindGroup(
+ device: Device,
+ pipeline: GPURenderPipeline,
+ cubemap: StudioCubemap,
+ buffer: Buffer,
+ backMaterialView: GPUTextureView,
+ backDepthView: GPUTextureView,
+ label: string,
+) {
+ return device.gpu.createBindGroup({
+ label,
+ layout: pipeline.getBindGroupLayout(0),
+ entries: [
+ { binding: 0, resource: { buffer: buffer.gpu } },
+ { binding: 1, resource: cubemap.view },
+ { binding: 2, resource: cubemap.sampler },
+ { binding: 3, resource: backMaterialView },
+ { binding: 4, resource: backDepthView },
+ ],
+ });
+}
+
+function createGpuMesh(device: Device, mesh: MeshData): GpuMesh {
+ const vertices = normalizeMeshForGpu(mesh);
+ const lineIndices = triangleIndicesToLineIndices(mesh.indices);
+
+ const vertexBuffer = device.createBuffer({
+ label: "eve-5-logo-vertices",
+ size: vertices.byteLength,
+ usage: ["vertex", "copy_dst"],
+ });
+ vertexBuffer.write(vertices);
+
+ const indexBuffer = device.createBuffer({
+ label: "eve-5-logo-indices",
+ size: mesh.indices.byteLength,
+ usage: ["index", "copy_dst"],
+ });
+ indexBuffer.write(new Uint32Array(mesh.indices));
+
+ const lineIndexBuffer = device.createBuffer({
+ label: "eve-5-logo-line-indices",
+ size: lineIndices.byteLength,
+ usage: ["index", "copy_dst"],
+ });
+ lineIndexBuffer.write(lineIndices);
+
+ return {
+ vertexBuffer,
+ indexBuffer,
+ lineIndexBuffer,
+ indexCount: mesh.indices.length,
+ lineIndexCount: lineIndices.length,
+ };
+}
+
+function normalizeMeshForGpu(mesh: MeshData) {
+ const height = mesh.bounds.max[1] - mesh.bounds.min[1];
+ const centerX = (mesh.bounds.min[0] + mesh.bounds.max[0]) * 0.5;
+ const centerY = (mesh.bounds.min[1] + mesh.bounds.max[1]) * 0.5;
+ const frontZ = mesh.bounds.max[2];
+ const data = new Float32Array((mesh.positions.length / 3) * 6);
+
+ for (let i = 0, j = 0; i < mesh.positions.length; i += 3, j += 6) {
+ data[j] = (mesh.positions[i]! - centerX) / height;
+ data[j + 1] = (mesh.positions[i + 1]! - centerY) / height;
+ data[j + 2] = (mesh.positions[i + 2]! - frontZ) / height;
+ data[j + 3] = mesh.normals[i]!;
+ data[j + 4] = mesh.normals[i + 1]!;
+ data[j + 5] = mesh.normals[i + 2]!;
+ }
+
+ return data;
+}
+
+function triangleIndicesToLineIndices(indices: Uint32Array) {
+ const lines = new Uint32Array(indices.length * 2);
+ for (let i = 0, j = 0; i < indices.length; i += 3, j += 6) {
+ const a = indices[i]!;
+ const b = indices[i + 1]!;
+ const c = indices[i + 2]!;
+ lines[j] = a;
+ lines[j + 1] = b;
+ lines[j + 2] = b;
+ lines[j + 3] = c;
+ lines[j + 4] = c;
+ lines[j + 5] = a;
+ }
+ return lines;
+}
+
+function meshOrbitTarget(mesh: MeshData): Vec3 {
+ const height = mesh.bounds.max[1] - mesh.bounds.min[1] || 1;
+ const depth = mesh.bounds.max[2] - mesh.bounds.min[2];
+ return [0, 0, -depth / (height * 2)];
+}
+
+export function meshThicknessScale(bounds: Bounds) {
+ // The shader computes camera-axis depth from the normalized GPU mesh coordinates created in
+ // normalizeMeshForGpu(...), not raw glTF/model units. Keep the real EVE logo normalization in the
+ // same coordinate space; otherwise the tiny raw Z extent clamps the thickness debug to white.
+ const height = bounds.max[1] - bounds.min[1] || 1;
+ const normalizedZExtent = (bounds.max[2] - bounds.min[2]) / height;
+ return Math.max(normalizedZExtent * EVE_THICKNESS_SCALE_MULTIPLIER, 0.000001);
+}
+
+function cameraAxisDepthRange(bounds: Bounds, forward: Vec3) {
+ const corners: Vec3[] = [
+ [bounds.min[0], bounds.min[1], bounds.min[2]],
+ [bounds.min[0], bounds.min[1], bounds.max[2]],
+ [bounds.min[0], bounds.max[1], bounds.min[2]],
+ [bounds.min[0], bounds.max[1], bounds.max[2]],
+ [bounds.max[0], bounds.min[1], bounds.min[2]],
+ [bounds.max[0], bounds.min[1], bounds.max[2]],
+ [bounds.max[0], bounds.max[1], bounds.min[2]],
+ [bounds.max[0], bounds.max[1], bounds.max[2]],
+ ];
+ let minDepth = Infinity;
+ let maxDepth = -Infinity;
+ for (const corner of corners) {
+ const depth = dot(normalizePositionForGpu(corner, bounds), forward);
+ minDepth = Math.min(minDepth, depth);
+ maxDepth = Math.max(maxDepth, depth);
+ }
+ return { min: minDepth, max: maxDepth };
+}
+
+function normalizePositionForGpu(position: Vec3, bounds: Bounds): Vec3 {
+ const height = bounds.max[1] - bounds.min[1] || 1;
+ const centerX = (bounds.min[0] + bounds.max[0]) * 0.5;
+ const centerY = (bounds.min[1] + bounds.max[1]) * 0.5;
+ const frontZ = bounds.max[2];
+ return [(position[0] - centerX) / height, (position[1] - centerY) / height, (position[2] - frontZ) / height];
+}
+
+function orbitEye(target: Vec3, radius: number, yawRadians: number, pitchRadians: number): Vec3 {
+ const cp = Math.cos(pitchRadians);
+ return [
+ target[0] + radius * cp * Math.sin(yawRadians),
+ target[1] + radius * Math.sin(pitchRadians),
+ target[2] + radius * cp * Math.cos(yawRadians),
+ ];
+}
+
+function cameraBasis(eye: Vec3, target: Vec3) {
+ const forward = normalize(sub(target, eye));
+ const upRef: Vec3 = Math.abs(dot(forward, [0, 1, 0])) > 0.98 ? [0, 0, 1] : [0, 1, 0];
+ const right = normalize(cross(forward, upRef));
+ const up = cross(right, forward);
+ return { forward, right, up };
+}
+
+function perspective(fovYRadians: number, aspect: number, near: number, far: number): Mat4 {
+ const f = 1 / Math.tan(fovYRadians / 2);
+ const m = new Float32Array(16);
+ m[0] = f / aspect;
+ m[5] = f;
+ m[10] = far / (near - far);
+ m[11] = -1;
+ m[14] = (far * near) / (near - far);
+ return m;
+}
+
+function lookAt(eye: Vec3, target: Vec3, up: Vec3): Mat4 {
+ const z = normalize(sub(eye, target));
+ let x = cross(up, z);
+ if (length(x) < 1e-6) {
+ x = cross([0, 0, 1], z);
+ if (length(x) < 1e-6) x = cross([1, 0, 0], z);
+ }
+ x = normalize(x);
+ const y = cross(z, x);
+
+ const m = new Float32Array(16);
+ m[0] = x[0];
+ m[1] = y[0];
+ m[2] = z[0];
+ m[3] = 0;
+ m[4] = x[1];
+ m[5] = y[1];
+ m[6] = z[1];
+ m[7] = 0;
+ m[8] = x[2];
+ m[9] = y[2];
+ m[10] = z[2];
+ m[11] = 0;
+ m[12] = -dot(x, eye);
+ m[13] = -dot(y, eye);
+ m[14] = -dot(z, eye);
+ m[15] = 1;
+ return m;
+}
+
+function multiply(a: Mat4, b: Mat4): Mat4 {
+ const out = new Float32Array(16);
+ for (let col = 0; col < 4; col += 1) {
+ for (let row = 0; row < 4; row += 1) {
+ let sum = 0;
+ for (let k = 0; k < 4; k += 1) {
+ sum += a[k * 4 + row]! * b[col * 4 + k]!;
+ }
+ out[col * 4 + row] = sum;
+ }
+ }
+ return out;
+}
+
+function sub(a: Vec3, b: Vec3): Vec3 {
+ return [a[0] - b[0], a[1] - b[1], a[2] - b[2]];
+}
+
+function cross(a: Vec3, b: Vec3): Vec3 {
+ return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
+}
+
+function dot(a: Vec3, b: Vec3): number {
+ return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
+}
+
+function length(a: Vec3): number {
+ return Math.hypot(a[0], a[1], a[2]);
+}
+
+function normalize(a: Vec3): Vec3 {
+ const l = length(a) || 1;
+ return [a[0] / l, a[1] / l, a[2] / l];
+}
+
+function degreesToRadians(degrees: number) {
+ return (degrees * Math.PI) / 180;
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/blur.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/blur.wgsl
new file mode 100644
index 000000000..86835615f
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/blur.wgsl
@@ -0,0 +1,66 @@
+// Bloom blur pass.
+// Separable finite Gaussian blur; samples every integer texel in [-BLOOM_RADIUS, BLOOM_RADIUS]
+// with no skipped pixels. Pass 0 extracts bright pixels and blurs horizontally. Pass 1 blurs
+// vertically from the horizontal result.
+
+struct VertexOutput {
+ @builtin(position) position: vec4f,
+ @location(0) uv: vec2f,
+};
+
+struct BloomParams {
+ direction: vec2f,
+ extract: f32,
+ threshold: f32,
+};
+
+@group(0) @binding(0) var sourceTexture: texture_2d<f32>;
+@group(0) @binding(1) var sourceSampler: sampler;
+@group(0) @binding(2) var<uniform> params: BloomParams;
+
+const BLOOM_RADIUS: i32 = 16;
+const BLOOM_SIGMA: f32 = 5.3333335; // radius / 3.0; finite support reaches exactly 16px.
+
+@vertex
+fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
+ var positions = array<vec2f, 3>(
+ vec2f(-1.0, -3.0),
+ vec2f(-1.0, 1.0),
+ vec2f(3.0, 1.0),
+ );
+
+ var output: VertexOutput;
+ let position = positions[vertexIndex];
+ output.position = vec4f(position, 0.0, 1.0);
+ output.uv = position * vec2f(0.5, -0.5) + vec2f(0.5, 0.5);
+ return output;
+}
+
+fn bright_pass(color: vec3f) -> vec3f {
+ let luma = dot(color, vec3f(0.2126, 0.7152, 0.0722));
+ let keep = smoothstep(params.threshold, params.threshold + 0.08, luma);
+ return color * keep;
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let dims = vec2f(textureDimensions(sourceTexture));
+ let texel = 1.0 / dims;
+ var sum = vec3f(0.0);
+ var weightSum = 0.0;
+
+ for (var i = -BLOOM_RADIUS; i <= BLOOM_RADIUS; i = i + 1) {
+ let fi = f32(i);
+ let offsetUv = input.uv + params.direction * texel * fi;
+ let uv = clamp(offsetUv, vec2f(0.0), vec2f(1.0));
+ var color = textureSample(sourceTexture, sourceSampler, uv).rgb;
+ if (params.extract > 0.5) {
+ color = bright_pass(color);
+ }
+ let weight = exp(-(fi * fi) / (2.0 * BLOOM_SIGMA * BLOOM_SIGMA));
+ sum += color * weight;
+ weightSum += weight;
+ }
+
+ return vec4f(sum / max(weightSum, 1e-5), 1.0);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl
new file mode 100644
index 000000000..163287808
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl
@@ -0,0 +1,56 @@
+// Bloom composite pass. Adds finite-radius blurred bloom in linear HDR, then tonemaps once.
+
+struct VertexOutput {
+ @builtin(position) position: vec4f,
+ @location(0) uv: vec2f,
+};
+
+struct CompositeParams {
+ strength: f32,
+ _pad0: f32,
+ _pad1: f32,
+ _pad2: f32,
+};
+
+@group(0) @binding(0) var sceneTexture: texture_2d<f32>;
+@group(0) @binding(1) var bloomTexture: texture_2d<f32>;
+@group(0) @binding(2) var texSampler: sampler;
+@group(0) @binding(3) var<uniform> params: CompositeParams;
+
+const DISPLAY_GAMMA = 2.2;
+
+@vertex
+fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
+ var positions = array<vec2f, 3>(
+ vec2f(-1.0, -3.0),
+ vec2f(-1.0, 1.0),
+ vec2f(3.0, 1.0),
+ );
+
+ var output: VertexOutput;
+ let position = positions[vertexIndex];
+ output.position = vec4f(position, 0.0, 1.0);
+ output.uv = position * vec2f(0.5, -0.5) + vec2f(0.5, 0.5);
+ return output;
+}
+
+fn aces_tonemap(color: vec3f) -> vec3f {
+ let a = 2.51;
+ let b = 0.03;
+ let c = 2.43;
+ let d = 0.59;
+ let e = 0.14;
+ return clamp((color * (a * color + vec3f(b))) / (color * (c * color + vec3f(d)) + vec3f(e)), vec3f(0.0), vec3f(1.0));
+}
+
+fn linear_to_display(color: vec3f) -> vec3f {
+ return pow(max(color, vec3f(0.0)), vec3f(1.0 / DISPLAY_GAMMA));
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let scene = textureSample(sceneTexture, texSampler, input.uv).rgb;
+ let bloom = textureSample(bloomTexture, texSampler, input.uv).rgb;
+ let linearColor = scene + bloom * params.strength;
+ return vec4f(linear_to_display(aces_tonemap(linearColor)), 1.0);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl
new file mode 100644
index 000000000..80ec96765
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl
@@ -0,0 +1,85 @@
+struct CubeParams {
+ face: f32,
+ _pad0: f32,
+ _pad1: f32,
+ _pad2: f32,
+};
+
+struct VertexOutput {
+ @builtin(position) clipPosition: vec4f,
+ @location(0) uv: vec2f,
+};
+
+@group(0) @binding(0) var<uniform> params: CubeParams;
+
+@vertex
+fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
+ let xy = array<vec2f, 3>(
+ vec2f(-1.0, -1.0),
+ vec2f(3.0, -1.0),
+ vec2f(-1.0, 3.0),
+ );
+ let p = xy[vertexIndex];
+ var output: VertexOutput;
+ output.clipPosition = vec4f(p, 0.0, 1.0);
+ // The rasterizer writes clip-top (p.y = +1) to texel row 0, but cube_dir/cube_lookup_uv_face
+ // treat uv.y as texture-v growing DOWNWARD (p.y = 2v-1). Without flipping v here, the baked
+ // face is stored vertically mirrored relative to how the sampler reads it, which inverts +Y
+ // and disagrees with the /cube-camera rasterized capture. Flip v so bake matches read.
+ output.uv = vec2f(p.x * 0.5 + 0.5, 0.5 - p.y * 0.5);
+ return output;
+}
+
+fn cube_dir(face: f32, uv: vec2f) -> vec3f {
+ let p = uv * 2.0 - vec2f(1.0);
+ // WebGPU cube face order: +X, -X, +Y, -Y, +Z, -Z.
+ if (face < 0.5) {
+ return normalize(vec3f(1.0, -p.y, -p.x));
+ }
+ if (face < 1.5) {
+ return normalize(vec3f(-1.0, -p.y, p.x));
+ }
+ if (face < 2.5) {
+ return normalize(vec3f(p.x, 1.0, p.y));
+ }
+ if (face < 3.5) {
+ return normalize(vec3f(p.x, -1.0, -p.y));
+ }
+ if (face < 4.5) {
+ return normalize(vec3f(p.x, -p.y, 1.0));
+ }
+ return normalize(vec3f(-p.x, -p.y, -1.0));
+}
+
+fn spot(dir: vec3f, center: vec3f, radius: f32, softness: f32, luminance: f32) -> vec3f {
+ let d = distance(normalize(dir), normalize(center));
+ let soft = clamp(softness, 0.0, 1.0);
+ // Gaussian softboxes keep an HDR tail instead of clamping to exact zero at radius.
+ // This avoids content-driven hard cuts in reflected highlights when only one or two
+ // manually edited lights are enabled. Radius still controls apparent card size;
+ // softness widens/narrows the falloff without changing the desaturated white color.
+ let sigma = max(radius * mix(0.35, 0.85, soft), 0.001);
+ let t = exp(-0.5 * (d / sigma) * (d / sigma));
+ // White, desaturated studio softboxes. Units are scene-linear relative cd/m^2-ish values.
+ return vec3f(1.0) * (t * luminance);
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let dir = cube_dir(params.face, input.uv);
+
+ // Dim black studio with high-dynamic-range white cards/softboxes.
+ var radiance = vec3f(0.0);
+
+ // dir center radius softness luminance
+ radiance += spot(dir, vec3f(-1.4, 2., -0.4), 0.3, 0.02, 10.0); // top-left high
+ radiance += spot(dir, vec3f(-0.4, 1., 1.), 0.9, 0.02, 1.0); // front-left high
+
+ radiance += spot(dir, vec3f(0.5, 0., 1.)*10., 0.5, 0.1, 0.2); // front-right
+ radiance += spot(dir, vec3f(0.4, -0.3, -1.), 0.1, 1., 0.5); // back-right
+
+ radiance += spot(dir, vec3f(1.0, -2., -0.5), 0.2, 1., 5.); // front-bottom-right
+ radiance += spot(dir, vec3f(-0.3, -0.2, -0.2), 0.3, 4., 3.); // front-bottom-left
+
+ return vec4f(radiance, 1.0);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/debug/render-target-preview.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/debug/render-target-preview.wgsl
new file mode 100644
index 000000000..343b4897c
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/debug/render-target-preview.wgsl
@@ -0,0 +1,34 @@
+struct VertexOutput {
+ @builtin(position) position: vec4f,
+ @location(0) uv: vec2f,
+};
+
+@group(0) @binding(0) var backAlbedo: texture_2d<f32>;
+@group(0) @binding(1) var backDepthMap: texture_2d<f32>;
+@group(0) @binding(2) var sourceSampler: sampler;
+@group(0) @binding(3) var<uniform> mode: vec4f;
+
+@vertex
+fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
+ var positions = array<vec2f, 3>(vec2f(-1.0, -1.0), vec2f(3.0, -1.0), vec2f(-1.0, 3.0));
+ let position = positions[vertexIndex];
+ var output: VertexOutput;
+ output.position = vec4f(position, 0.0, 1.0);
+ output.uv = position * vec2f(0.5, -0.5) + vec2f(0.5, 0.5);
+ return output;
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let uv = clamp(input.uv, vec2f(0.0), vec2f(1.0));
+ if (mode.x < 0.5) {
+ let color = textureSample(backAlbedo, sourceSampler, uv);
+ return vec4f(color.rgb, 1.0);
+ }
+
+ let depth = textureSample(backDepthMap, sourceSampler, uv).r;
+ // backDepthMap stores raw camera-axis depth in its red channel. Normalize it for display with
+ // renderer-provided min/max bounds so negative or tiny model-space values remain inspectable.
+ let depth01 = clamp((depth - mode.y) / max(mode.z - mode.y, 0.000001), 0.0, 1.0);
+ return vec4f(vec3f(depth01), 1.0);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl
new file mode 100644
index 000000000..91d27f7ea
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl
@@ -0,0 +1,54 @@
+import { sample_cubemap_array_yaw } from "../shared/cube-sample.wgsl";
+
+// Environment background pass for eve-5.
+// Draws the fixed-world studio HDR cubemap from the same true orbit camera as the logo.
+
+struct Params {
+ viewProj: mat4x4f,
+ cameraPos: vec3f,
+ passKind: f32,
+ cameraRight: vec3f,
+ fov: f32,
+ cameraUp: vec3f,
+ aspect: f32,
+ cameraForward: vec3f,
+ materialKind: f32,
+ thicknessScale: f32,
+ envYaw: f32,
+};
+
+struct VertexOutput {
+ @builtin(position) clipPosition: vec4f,
+ @location(0) ndc: vec2f,
+};
+
+@group(0) @binding(0) var<uniform> params: Params;
+@group(0) @binding(1) var studioCube: texture_2d_array<f32>;
+@group(0) @binding(2) var studioSampler: sampler;
+
+@vertex
+fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
+ let xy = array<vec2f, 3>(
+ vec2f(-1.0, -1.0),
+ vec2f(3.0, -1.0),
+ vec2f(-1.0, 3.0),
+ );
+ let p = xy[vertexIndex];
+ var output: VertexOutput;
+ output.clipPosition = vec4f(p, 0.0, 1.0);
+ output.ndc = p;
+ return output;
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let focalY = 1.0 / tan(params.fov * 0.5);
+ let dir = normalize(
+ params.cameraForward +
+ params.cameraRight * (input.ndc.x * params.aspect / focalY) +
+ params.cameraUp * (input.ndc.y / focalY)
+ );
+ let hdr = sample_cubemap_array_yaw(studioCube, studioSampler, dir, params.envYaw);
+ // Scene target is linear HDR (ACES/gamma applied later in the composite pass).
+ return vec4f(hdr, 1.0);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl
new file mode 100644
index 000000000..e605f2d5d
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl
@@ -0,0 +1,23 @@
+import { Params, VertexInput, VertexOutput, glass_vs_main, is_back_facing_to_camera } from "../shared/glass-common.wgsl";
+
+@group(0) @binding(0) var<uniform> params: Params;
+@group(0) @binding(1) var studioCube: texture_2d_array<f32>;
+@group(0) @binding(2) var studioSampler: sampler;
+
+@vertex
+fn vs_main(input: VertexInput) -> VertexOutput {
+ return glass_vs_main(input, params);
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let ngeo = normalize(input.normal);
+ let v = normalize(input.viewDir);
+
+ // Match the back-material target: store only the camera-backfacing/inside surface depth.
+ if (!is_back_facing_to_camera(ngeo, v)) {
+ discard;
+ }
+
+ return vec4f(input.cameraAxisDepth, 0.0, 0.0, 1.0);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl
new file mode 100644
index 000000000..424d842d8
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl
@@ -0,0 +1,47 @@
+import { oriented_normal, env_reflect_dir, env_reflection_from_dir, encode_normal } from "../shared/material-core.wgsl";
+import { Params, VertexInput, VertexOutput, WIRE_PASS_THRESHOLD, glass_vs_main, is_back_facing_to_camera } from "../shared/glass-common.wgsl";
+import { shade_glass } from "../shared/glass-material.wgsl";
+
+@group(0) @binding(0) var<uniform> params: Params;
+@group(0) @binding(1) var studioCube: texture_2d_array<f32>;
+@group(0) @binding(2) var studioSampler: sampler;
+
+@vertex
+fn vs_main(input: VertexInput) -> VertexOutput {
+ return glass_vs_main(input, params);
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let ngeo = normalize(input.normal);
+ let v = normalize(input.viewDir);
+
+ if (params.passKind > WIRE_PASS_THRESHOLD) {
+ // Scene pass is linear HDR; this constant is the previous display grey converted to linear.
+ return vec4f(pow(vec3f(0.93), vec3f(2.2)), 0.55);
+ }
+
+ let n = oriented_normal(ngeo, v);
+ let reflected = env_reflect_dir(n, v);
+
+ // Back material: only render fragments facing away from the camera.
+ if (!is_back_facing_to_camera(ngeo, v)) {
+ discard;
+ }
+
+ let materialKind = u32(clamp(round(params.materialKind), 0.0, 3.0));
+ switch (materialKind) {
+ case 1u: {
+ return vec4f(encode_normal(n), 1.0);
+ }
+ case 2u: {
+ return vec4f(encode_normal(reflected), 1.0);
+ }
+ case 3u: {
+ return vec4f(env_reflection_from_dir(studioCube, studioSampler, reflected, params.envYaw), 1.0);
+ }
+ default: {
+ return shade_glass(studioCube, studioSampler, n, v, reflected, params.envYaw, true);
+ }
+ }
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl
new file mode 100644
index 000000000..48b688d4d
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl
@@ -0,0 +1,115 @@
+import { oriented_normal, env_reflect_dir, env_reflection_from_dir, encode_normal } from "../shared/material-core.wgsl";
+import { Params, VertexInput, VertexOutput, WIRE_PASS_THRESHOLD, glass_vs_main, is_back_facing_to_camera } from "../shared/glass-common.wgsl";
+import { shade_glass } from "../shared/glass-material.wgsl";
+
+@group(0) @binding(0) var<uniform> params: Params;
+@group(0) @binding(1) var studioCube: texture_2d_array<f32>;
+@group(0) @binding(2) var studioSampler: sampler;
+@group(0) @binding(3) var backMaterial: texture_2d<f32>;
+@group(0) @binding(4) var backDepth: texture_2d<f32>;
+
+const VOGEL_SAMPLE_COUNT = 8u;
+const GOLDEN_ANGLE = 2.399963229728653;
+const MAX_BACK_BLUR_RADIUS_UV = 0.01;
+const BACK_MIN_TRANSMISSION = 0.38;
+const BACK_ABSORPTION_TINT = vec3f(0.9);
+const TAU = 6.28318530718;
+
+fn hash12(p: vec2f) -> f32 {
+ let h = dot(p, vec2f(127.1, 311.7));
+ return fract(sin(h) * 43758.5453123);
+}
+
+fn normalized_thickness(input: VertexOutput, pixel: vec2i, backSize: vec2i) -> f32 {
+ // A 1x1 back-depth texture is the fallback used by renderers that have not produced a real
+ // back depth map. Treat it as zero thickness so the blur remains disabled there.
+ if (backSize.x <= 1 || backSize.y <= 1 || !all(pixel >= vec2i(0)) || !all(pixel < backSize)) {
+ return 0.0;
+ }
+
+ let backCameraAxisDepth = textureLoad(backDepth, pixel, 0).r;
+ let thickness = max(backCameraAxisDepth - input.cameraAxisDepth, 0.0);
+ return clamp(thickness / max(params.thicknessScale, 0.000001), 0.0, 1.0);
+}
+
+fn vogel_gaussian_blur(uv: vec2f, blurRadius: f32, baseRotation: f32) -> vec3f {
+ var color = vec3f(0.0);
+ var totalWeight = 0.0;
+
+ for (var i = 0u; i < VOGEL_SAMPLE_COUNT; i = i + 1u) {
+ let fi = f32(i);
+ let vogelRadius = sqrt((fi + 0.5) / f32(VOGEL_SAMPLE_COUNT));
+ let theta = fi * GOLDEN_ANGLE + baseRotation;
+ let sampleUv = uv + vec2f(cos(theta), sin(theta)) * vogelRadius * blurRadius;
+ let weight = exp(-vogelRadius * vogelRadius * 2.0);
+ color += textureSampleLevel(backMaterial, studioSampler, sampleUv, 0.0).rgb * weight;
+ totalWeight += weight;
+ }
+
+ return color / max(totalWeight, 0.0001);
+}
+
+@vertex
+fn vs_main(input: VertexInput) -> VertexOutput {
+ return glass_vs_main(input, params);
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let ngeo = normalize(input.normal);
+ let v = normalize(input.viewDir);
+
+ if (params.passKind > WIRE_PASS_THRESHOLD) {
+ // Scene pass is linear HDR; this constant is the previous display grey converted to linear.
+ return vec4f(pow(vec3f(0.93), vec3f(2.2)), 0.55);
+ }
+
+ let n = oriented_normal(ngeo, v);
+ let reflected = env_reflect_dir(n, v);
+
+ // Front material: only render fragments facing the camera.
+ if (is_back_facing_to_camera(ngeo, v)) {
+ discard;
+ }
+
+ let materialKind = u32(clamp(round(params.materialKind), 0.0, 4.0));
+ switch (materialKind) {
+ case 4u: {
+ let backSize = vec2i(textureDimensions(backDepth));
+ let pixel = vec2i(input.clipPosition.xy);
+ let normalizedThickness = normalized_thickness(input, pixel, backSize);
+ return vec4f(vec3f(normalizedThickness), 1.0);
+ }
+ case 1u: {
+ return vec4f(encode_normal(n), 1.0);
+ }
+ case 2u: {
+ return vec4f(encode_normal(reflected), 1.0);
+ }
+ case 3u: {
+ return vec4f(env_reflection_from_dir(studioCube, studioSampler, reflected, params.envYaw), 1.0);
+ }
+ default: {
+ var glass = shade_glass(studioCube, studioSampler, n, v, reflected, params.envYaw, false);
+ let backSize = vec2i(textureDimensions(backMaterial));
+ let pixel = vec2i(input.clipPosition.xy);
+ if (all(pixel >= vec2i(0)) && all(pixel < backSize)) {
+ let uv = (vec2f(pixel) + vec2f(0.5)) / vec2f(backSize);
+ let normalizedThickness = normalized_thickness(input, pixel, vec2i(textureDimensions(backDepth)));
+ let blurRadius = normalizedThickness * MAX_BACK_BLUR_RADIUS_UV;
+ let baseVogelRotation = hash12(uv) * TAU;
+ let blurredBackContribution = vogel_gaussian_blur(uv, blurRadius, baseVogelRotation);
+ let thicknessFade = pow(clamp(normalizedThickness, 0.0, 1.0), 0.5);
+ let transmission = mix(1.0, BACK_MIN_TRANSMISSION, thicknessFade);
+ let absorptionTint = mix(vec3f(1.0), BACK_ABSORPTION_TINT, thicknessFade);
+ let backContribution = blurredBackContribution * transmission * absorptionTint;
+ // The main scene uses additive alpha blending (`src-alpha + one`). The offscreen back
+ // texture already contains the blended back-side contribution, so divide by the front
+ // alpha before returning to preserve the previous two-draw visual result.
+ glass = vec4f(glass.rgb + backContribution / max(glass.a, 0.001), glass.a);
+ // glass = vec4f(normalizedThickness/10., 0., 0., 1.);
+ }
+ return glass;
+ }
+ }
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/postprocess/light-composite.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/postprocess/light-composite.wgsl
new file mode 100644
index 000000000..89b84ac93
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/postprocess/light-composite.wgsl
@@ -0,0 +1,47 @@
+// Light-mode composite pass. Tonemaps scene color and writes premultiplied alpha for a transparent canvas.
+
+struct VertexOutput {
+ @builtin(position) position: vec4f,
+ @location(0) uv: vec2f,
+};
+
+@group(0) @binding(0) var sceneTexture: texture_2d<f32>;
+@group(0) @binding(1) var texSampler: sampler;
+
+const DISPLAY_GAMMA = 2.2;
+
+@vertex
+fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
+ var positions = array<vec2f, 3>(
+ vec2f(-1.0, -3.0),
+ vec2f(-1.0, 1.0),
+ vec2f(3.0, 1.0),
+ );
+
+ var output: VertexOutput;
+ let position = positions[vertexIndex];
+ output.position = vec4f(position, 0.0, 1.0);
+ output.uv = position * vec2f(0.5, -0.5) + vec2f(0.5, 0.5);
+ return output;
+}
+
+fn aces_tonemap(color: vec3f) -> vec3f {
+ let a = 2.51;
+ let b = 0.03;
+ let c = 2.43;
+ let d = 0.59;
+ let e = 0.14;
+ return clamp((color * (a * color + vec3f(b))) / (color * (c * color + vec3f(d)) + vec3f(e)), vec3f(0.0), vec3f(1.0));
+}
+
+fn linear_to_display(color: vec3f) -> vec3f {
+ return pow(max(color, vec3f(0.0)), vec3f(1.0 / DISPLAY_GAMMA));
+}
+
+@fragment
+fn fs_main(input: VertexOutput) -> @location(0) vec4f {
+ let scene = textureSample(sceneTexture, texSampler, input.uv);
+ let rgb = linear_to_display(aces_tonemap(scene.rgb));
+ let a = clamp(scene.a, 0.0, 1.0);
+ return vec4f(rgb * a, a);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl
new file mode 100644
index 000000000..d3e84159c
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl
@@ -0,0 +1,93 @@
+// Shared cubemap utilities for eve-5 shaders.
+// Face order is the repo convention used throughout eve-5: +X, -X, +Y, -Y, +Z, -Z.
+
+const CUBEMAP_UV_INSET = 0.001;
+
+export fn cube_dir(face: f32, uv: vec2f) -> vec3f {
+ let p = uv * 2.0 - vec2f(1.0);
+ if (face < 0.5) {
+ return normalize(vec3f(1.0, -p.y, -p.x));
+ }
+ if (face < 1.5) {
+ return normalize(vec3f(-1.0, -p.y, p.x));
+ }
+ if (face < 2.5) {
+ return normalize(vec3f(p.x, 1.0, p.y));
+ }
+ if (face < 3.5) {
+ return normalize(vec3f(p.x, -1.0, -p.y));
+ }
+ if (face < 4.5) {
+ return normalize(vec3f(p.x, -p.y, 1.0));
+ }
+ return normalize(vec3f(-p.x, -p.y, -1.0));
+}
+
+export fn cube_lookup_uv_face(direction: vec3f) -> vec3f {
+ let dir = normalize(direction);
+ let ad = abs(dir);
+ var face = 0.0;
+ var p = vec2f(0.0);
+
+ if (ad.x >= ad.y && ad.x >= ad.z) {
+ if (dir.x > 0.0) {
+ face = 0.0;
+ p = vec2f(-dir.z / ad.x, -dir.y / ad.x);
+ } else {
+ face = 1.0;
+ p = vec2f(dir.z / ad.x, -dir.y / ad.x);
+ }
+ } else if (ad.y >= ad.x && ad.y >= ad.z) {
+ if (dir.y > 0.0) {
+ face = 2.0;
+ p = vec2f(dir.x / ad.y, dir.z / ad.y);
+ } else {
+ face = 3.0;
+ p = vec2f(dir.x / ad.y, -dir.z / ad.y);
+ }
+ } else {
+ if (dir.z > 0.0) {
+ face = 4.0;
+ p = vec2f(dir.x / ad.z, -dir.y / ad.z);
+ } else {
+ face = 5.0;
+ p = vec2f(-dir.x / ad.z, -dir.y / ad.z);
+ }
+ }
+
+ let uv = clamp(p * 0.5 + vec2f(0.5), vec2f(CUBEMAP_UV_INSET), vec2f(1.0 - CUBEMAP_UV_INSET));
+ return vec3f(uv, face);
+}
+
+export fn rotate_y(direction: vec3f, yaw: f32) -> vec3f {
+ let s = sin(yaw);
+ let c = cos(yaw);
+ return normalize(vec3f(direction.x * c - direction.z * s, direction.y, direction.x * s + direction.z * c));
+}
+
+export fn sample_cubemap_array(envCube: texture_2d_array<f32>, envSampler: sampler, direction: vec3f) -> vec3f {
+ let lookup = cube_lookup_uv_face(direction);
+ return textureSample(envCube, envSampler, lookup.xy, i32(lookup.z)).rgb;
+}
+
+export fn sample_cubemap_array_yaw(envCube: texture_2d_array<f32>, envSampler: sampler, direction: vec3f, yaw: f32) -> vec3f {
+ return sample_cubemap_array(envCube, envSampler, rotate_y(direction, yaw));
+}
+
+export fn sample_cubemap_array_level(envCube: texture_2d_array<f32>, envSampler: sampler, direction: vec3f) -> vec3f {
+ let lookup = cube_lookup_uv_face(direction);
+ return textureSampleLevel(envCube, envSampler, lookup.xy, i32(lookup.z), 0.0).rgb;
+}
+
+export fn aces_tonemap(color: vec3f) -> vec3f {
+ let a = 2.51;
+ let b = 0.03;
+ let c = 2.43;
+ let d = 0.59;
+ let e = 0.14;
+ return clamp((color * (a * color + vec3f(b))) / (color * (c * color + vec3f(d)) + vec3f(e)), vec3f(0.0), vec3f(1.0));
+}
+
+export fn linear_to_display(color: vec3f) -> vec3f {
+ return pow(max(color, vec3f(0.0)), vec3f(1.0 / 2.2));
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl
new file mode 100644
index 000000000..b7162ceda
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl
@@ -0,0 +1,43 @@
+export struct Params {
+ viewProj: mat4x4f,
+ cameraPos: vec3f,
+ passKind: f32,
+ cameraRight: vec3f,
+ fov: f32,
+ cameraUp: vec3f,
+ aspect: f32,
+ cameraForward: vec3f,
+ materialKind: f32,
+ thicknessScale: f32,
+ envYaw: f32,
+};
+
+export struct VertexInput {
+ @location(0) position: vec3f,
+ @location(1) normal: vec3f,
+};
+
+export struct VertexOutput {
+ @builtin(position) clipPosition: vec4f,
+ @location(0) normal: vec3f,
+ @location(1) viewDir: vec3f,
+ @location(2) cameraAxisDepth: f32,
+};
+
+export const OUTSIDE_PASS_THRESHOLD = 0.5;
+export const WIRE_PASS_THRESHOLD = 1.5;
+
+export fn glass_vs_main(input: VertexInput, params: Params) -> VertexOutput {
+ var output: VertexOutput;
+ output.clipPosition = params.viewProj * vec4f(input.position, 1.0);
+ output.normal = normalize(input.normal);
+ output.viewDir = normalize(params.cameraPos - input.position);
+ // Depth along the camera forward axis in object/world space. Unlike view-space distance,
+ // this is independent of orbit radius, so front/back subtraction gives stable thickness.
+ output.cameraAxisDepth = dot(input.position, normalize(params.cameraForward));
+ return output;
+}
+
+export fn is_back_facing_to_camera(ngeo: vec3f, v: vec3f) -> bool {
+ return dot(ngeo, v) <= 0.0;
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl
new file mode 100644
index 000000000..b6b1c0865
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl
@@ -0,0 +1,67 @@
+import { env_reflection_from_dir } from "./material-core.wgsl";
+
+const IOR_ACRYLIC = 1.49;
+const F0_ACRYLIC = pow((IOR_ACRYLIC - 1.0) / (IOR_ACRYLIC + 1.0), 2.0);
+// reflections-debug learning: pure dielectric F0 (~0.039) leaves flat head-on faces almost
+// non-reflective, so the studio lights only appear at grazing edges. A small polished-acrylic
+// specular floor keeps the reflection readable across the whole face while Fresnel still ramps
+// reflectance up toward grazing angles.
+const REFLECTION_FLOOR = 0.22;
+
+export fn dielectric_fresnel_schlick(cosTheta: f32, f0: vec3f) -> vec3f {
+ let m = clamp(1.0 - cosTheta, 0.0, 1.0);
+ let factor = pow(m, 5.0);
+ return f0 + (vec3f(1.0) - f0) * factor;
+}
+
+export fn beer_lambert_transmittance(absorption: vec3f, thickness: f32) -> vec3f {
+ return exp(-absorption * thickness);
+}
+
+export fn shade_glass(
+ studioCube: texture_2d_array<f32>,
+ studioSampler: sampler,
+ n: vec3f,
+ v: vec3f,
+ reflected: vec3f,
+ envYaw: f32,
+ inside: bool,
+) -> vec4f {
+ let ndotv = clamp(dot(n, v), 0.0, 1.0);
+
+ let fresnel = dielectric_fresnel_schlick(ndotv, vec3f(F0_ACRYLIC));
+ // Learning from reflections-debug: a pure dielectric F0 (~0.039) makes head-on faces nearly
+ // non-reflective, so flat logo faces look dim/flat and the studio lights only show at grazing
+ // angles. Lift the specular floor so the polished-acrylic reflection reads across the face,
+ // while still ramping up toward grazing via Fresnel.
+ let specularReflectance = clamp(REFLECTION_FLOOR + fresnel, vec3f(0.0), vec3f(1.0));
+ let clearcoatSample = env_reflection_from_dir(studioCube, studioSampler, reflected, envYaw);
+ // Learning from the cube-camera mirror test: artificial >1.0 reflection boosts make the
+ // reflection brighter than the environment actually is (exaggerated). Keep the clearcoat a
+ // true 1:1 reflection weighted only by the (energy-conserving) specular reflectance.
+ let clearcoat = clearcoatSample * specularReflectance;
+
+ // Approximate the visible air -> acrylic interface for both front and back passes
+ // with the camera-facing normal, matching Three.js-style transmission direction.
+ let refracted = refract(-v, n, 1.0 / IOR_ACRYLIC);
+ let fallbackDir = normalize(mix(v, reflected, 0.25));
+ let refractValid = dot(refracted, refracted) > 0.0;
+ let transmissionDir = normalize(select(fallbackDir, refracted, refractValid));
+ let baseSample = env_reflection_from_dir(studioCube, studioSampler, transmissionDir, envYaw);
+
+ let baseThickness = select(0.22, 0.14, inside);
+ let approxThickness = clamp(baseThickness / max(ndotv, 0.08), 0.05, 2.0);
+ let absorptionCoeff = vec3f(0.18);
+ let transmission = beer_lambert_transmittance(absorptionCoeff, approxThickness);
+ let baseWeight = select(0.42, 0.28, inside);
+ let baseContribution = baseSample * transmission * (vec3f(1.0) - fresnel) * baseWeight;
+
+ // Removed the additive edgeLift haze: like the cube-camera mirror fix, a constant additive
+ // term brightens the surface beyond what the environment provides and washes out contrast.
+ let linearColor = clearcoat + baseContribution;
+
+ let alphaBase = select(0.32, 0.22, inside);
+ let alpha = clamp(alphaBase + fresnel.r * 0.12, 0.0, 1.0);
+
+ return vec4f(linearColor, alpha);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl
new file mode 100644
index 000000000..e2b9bcf21
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl
@@ -0,0 +1,26 @@
+import { sample_cubemap_array_yaw } from "./cube-sample.wgsl";
+
+// Shared material/reflection primitives for eve-5 mesh materials.
+// Keep camera-facing normal orientation and reflection direction here so glass,
+// metallic, and reflected-normal diagnostics cannot drift apart.
+export fn oriented_normal(ngeo: vec3f, v: vec3f) -> vec3f {
+ let n = normalize(ngeo);
+ let view = normalize(v);
+ return select(n, -n, dot(n, view) < 0.0);
+}
+
+export fn env_reflect_dir(n: vec3f, v: vec3f) -> vec3f {
+ return normalize(reflect(-normalize(v), normalize(n)));
+}
+
+export fn env_reflection_from_dir(envCube: texture_2d_array<f32>, envSampler: sampler, reflected: vec3f, envYaw: f32) -> vec3f {
+ return sample_cubemap_array_yaw(envCube, envSampler, reflected, envYaw);
+}
+
+export fn env_reflection(envCube: texture_2d_array<f32>, envSampler: sampler, n: vec3f, v: vec3f, envYaw: f32) -> vec3f {
+ return env_reflection_from_dir(envCube, envSampler, env_reflect_dir(n, v), envYaw);
+}
+
+export fn encode_normal(n: vec3f) -> vec3f {
+ return normalize(n) * 0.5 + vec3f(0.5);
+}
diff --git a/apps/docs/app/[lang]/(home)/components/feature-card.tsx b/apps/docs/app/[lang]/(home)/components/feature-card.tsx
deleted file mode 100644
index e6be1a029..000000000
--- a/apps/docs/app/[lang]/(home)/components/feature-card.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { ArrowRight } from "lucide-react";
-import Link from "next/link";
-import type { ReactNode } from "react";
-
-export function FeatureCard({
- title,
- description,
- icon,
- visual,
- href,
-}: {
- title: string;
- description: string;
- icon: ReactNode;
- visual: ReactNode;
- href: string;
-}) {
- return (
- <div className="group flex flex-col rounded-md border p-6 transition-colors hover:border-gray-300">
- <div className="flex items-start gap-3">
- <div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-md border bg-gray-100">
- {icon}
- </div>
- <div>
- <h3 className="font-semibold text-gray-1000">{title}</h3>
- <p className="mt-1 text-sm text-gray-900">{description}</p>
- </div>
- </div>
- <div className="mt-6 overflow-hidden rounded-md border bg-gray-100/50 p-4">{visual}</div>
- <div className="mt-4 flex flex-1 items-end justify-end">
- <Link
- href={href}
- className="flex items-center gap-1 text-sm text-gray-600 transition-colors hover:text-gray-1000"
- >
- Learn more
- <ArrowRight className="h-3.5 w-3.5" />
- </Link>
- </div>
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/components/feature-grid.tsx b/apps/docs/app/[lang]/(home)/components/feature-grid.tsx
index 4a88e4dad..8a9d7f854 100644
--- a/apps/docs/app/[lang]/(home)/components/feature-grid.tsx
+++ b/apps/docs/app/[lang]/(home)/components/feature-grid.tsx
@@ -1,78 +1,73 @@
-import { Bot, Database, FlaskConical, MessageSquare, Shield, Terminal } from "lucide-react";
-import { FeatureCard } from "./feature-card";
-import { ChannelsVisual } from "./visuals/channels";
-import { DurabilityVisual } from "./visuals/durability";
-import { EvalsVisual } from "./visuals/evals";
-import { HITLVisual } from "./visuals/hitl";
-import { SandboxVisual } from "./visuals/sandbox";
-import { SubagentsVisual } from "./visuals/subagents";
+import {
+ IconLogs,
+ IconMessage,
+ IconRobot,
+ IconSandbox,
+ IconUser,
+ IconWorkflow,
+} from "@vercel/geistdocs/assets/icons";
+import type { JSX, ReactNode } from "react";
-const features = [
+const FEATURES: { icon: ReactNode; label: string; description: string }[] = [
{
- title: "Durable Execution",
+ icon: <IconWorkflow className="text-gray-1000" size={16} />,
+ label: "Durable Execution",
description:
"Workflows survive crashes and restarts. Every step is checkpointed. Agents park when waiting, resume on the next message.",
- icon: <Database className="h-4 w-4 text-green-600" />,
- visual: <DurabilityVisual />,
- href: "/docs/concepts/sessions-runs-and-streaming",
},
{
- title: "Sandboxed Compute",
+ icon: <IconSandbox className="text-gray-1000" size={16} />,
+ label: "Sandboxed Compute",
description:
- "Agents spin up isolated VMs on demand. File system access, bash execution, and code runs, all completely isolated.",
- icon: <Terminal className="h-4 w-4 text-orange-600" />,
- visual: <SandboxVisual />,
- href: "/docs/sandbox",
+ "Agents run code in isolated sandboxes. File system access, bash execution, and code, all fully isolated.",
},
{
- title: "Multi-Channel Delivery",
+ icon: <IconMessage className="text-gray-1000" size={16} />,
+ label: "Multi-Channel Delivery",
description: "One agent codebase deploys to web chat, Slack, API, cron, CLI, and custom apps.",
- icon: <MessageSquare className="h-4 w-4 text-cyan-600" />,
- visual: <ChannelsVisual />,
- href: "/docs/channels/overview",
},
{
- title: "Human-in-the-Loop",
+ icon: <IconUser className="text-gray-1000" size={16} />,
+ label: "Human-in-the-Loop",
description:
"Tools that need confirmation trigger approval gates. Sessions park until resolved, then resume seamlessly.",
- icon: <Shield className="h-4 w-4 text-amber-600" />,
- visual: <HITLVisual />,
- href: "/docs/tools",
},
{
- title: "Subagents",
+ icon: <IconRobot className="text-gray-1000" size={16} />,
+ label: "Subagents",
description:
"Delegate specialized work to child agents with their own prompts, tools, and sandbox.",
- icon: <Bot className="h-4 w-4 text-indigo-600" />,
- visual: <SubagentsVisual />,
- href: "/docs/subagents",
},
{
- title: "Evaluations",
+ icon: <IconLogs className="text-gray-1000" size={16} />,
+ label: "Evaluations",
description:
"Define test suites with scoring rubrics. Run evals on every deployment and on a schedule.",
- icon: <FlaskConical className="h-4 w-4 text-pink-600" />,
- visual: <EvalsVisual />,
- href: "/docs/evals/overview",
},
];
-export function FeatureGrid() {
+export function FeatureGrid(): JSX.Element {
return (
- <section className="px-4 py-24 sm:px-12">
+ <section className="px-6 py-24">
<div className="mx-auto max-w-5xl">
- <h2 className="text-center text-3xl font-bold tracking-tighter text-gray-1000 sm:text-4xl">
+ <h2 className="text-center font-medium! text-heading-32 tracking-tighter text-gray-1000 sm:text-heading-40">
Everything you need for production agents
</h2>
- <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900">
- Enterprise governance, observability, and sandboxed compute come standard. Focus on
- building, not infrastructure.
+ <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900 text-balance">
+ Durability, sandboxing, human-in-the-loop, and evals are built into the framework. Focus
+ on building your agent.
</p>
- <div className="mt-16 grid gap-6 md:grid-cols-2">
- {features.map((feature) => (
- <FeatureCard key={feature.title} {...feature} />
+ <ul className="mt-16 grid list-none gap-8 sm:grid-cols-2 lg:grid-cols-3">
+ {FEATURES.map((feature) => (
+ <li key={feature.label} className="flex flex-col gap-3">
+ <div className="flex items-center gap-2">
+ {feature.icon}
+ <span className="font-medium! text-gray-1000 text-heading-16">{feature.label}</span>
+ </div>
+ <p className="text-gray-900 text-copy-16">{feature.description}</p>
+ </li>
))}
- </div>
+ </ul>
</div>
</section>
);
diff --git a/apps/docs/app/[lang]/(home)/components/file-tree-view.tsx b/apps/docs/app/[lang]/(home)/components/file-tree-view.tsx
new file mode 100644
index 000000000..bcaa13e0b
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/file-tree-view.tsx
@@ -0,0 +1,125 @@
+"use client";
+
+import { type ReactNode, useState } from "react";
+import { cn } from "@/lib/utils";
+
+export interface FileTreeItem {
+ /** Category name (unused by this layout). */
+ label: string;
+ /** File/folder name shown in the IDE file tree. */
+ name: string;
+ /** Full path shown in the code panel header. */
+ fileName: string;
+ /** Short, what-this-file-does line shown above the code. */
+ description: string;
+ /** Category icon (unused by this layout). */
+ navIcon: ReactNode;
+ /** Pre-highlighted code, rendered on the server through the geistdocs CodeBlock. */
+ code: ReactNode;
+}
+
+export function FileTreeView({ items, heading }: { items: FileTreeItem[]; heading?: ReactNode }) {
+ const [selectedIndex, setSelectedIndex] = useState(0);
+ const selected = items[selectedIndex];
+
+ const board = (
+ <div className="relative mt-12">
+ {/* Grid line aligned with the card header's border-b, fading out at the edges. */}
+ <div
+ aria-hidden
+ className="pointer-events-none absolute top-12 -left-4 -right-4 h-px sm:-left-14 sm:-right-14"
+ style={{
+ background:
+ "linear-gradient(to right, transparent, var(--ds-gray-400) 7.5%, var(--ds-gray-400) 92.5%, transparent)",
+ }}
+ />
+ <div className="mx-auto max-w-5xl">
+ <div className="relative overflow-hidden rounded-t-xl border bg-background-100">
+ <div className="grid grid-cols-[240px_1fr]">
+ {/* Sidebar — the building blocks; click any to view it. */}
+ <div className="border-r">
+ <div className="flex h-12 items-center border-b px-4">
+ <span className="font-medium text-gray-1000 text-sm">agent/</span>
+ </div>
+ <div className="space-y-0.5 p-2">
+ {items.map((item, i) => (
+ <button
+ key={item.name}
+ type="button"
+ onClick={() => setSelectedIndex(i)}
+ className={cn(
+ "group flex w-full cursor-pointer items-center rounded-md px-3 py-2 text-left text-sm transition-colors",
+ selectedIndex === i
+ ? "bg-gray-100 text-gray-1000"
+ : "text-gray-700 hover:bg-gray-100/60 hover:text-gray-1000",
+ )}
+ >
+ {item.name}
+ {i > 0 ? (
+ <span
+ className={cn(
+ "ml-auto font-mono text-label-12-mono!",
+ selectedIndex === i ? "text-gray-900" : "text-gray-500",
+ )}
+ >
+ optional
+ </span>
+ ) : null}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* Code panel — fixed height so the card never reflows; the code
+ area flexes to fill whatever the (content-hugging) description leaves. */}
+ <div className="flex min-h-[492px] min-w-0 flex-col">
+ <div className="flex h-12 items-center border-b px-4">
+ <span className="font-medium text-gray-1000 text-sm">{selected.fileName}</span>
+ </div>
+ <p className="border-b px-4 py-3 text-gray-900 text-copy-14">
+ {selected.description}
+ </p>
+ <div className="grow pb-6 [&>div]:mb-0">{selected.code}</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ aria-hidden
+ className="pointer-events-none absolute inset-x-0 -bottom-1 -mx-2 h-12 bg-linear-to-t from-background-200 to-transparent"
+ />
+ </div>
+ );
+
+ // Mobile: the sidebar/code-panel split is cramped on a phone, so each file
+ // simply shows its code block right beneath it in a stacked list.
+ const mobile = (
+ <div>
+ {heading}
+ <div className="mt-8 space-y-4">
+ {items.map((item, i) => (
+ <div key={item.name} className="overflow-hidden rounded-xl border bg-background-100">
+ <div className="flex h-12 items-center border-b px-4">
+ <span className="font-medium text-gray-1000 text-sm">{item.fileName}</span>
+ {i > 0 ? (
+ <span className="ml-auto font-mono text-gray-500 text-label-12-mono">optional</span>
+ ) : null}
+ </div>
+ <p className="border-b px-4 py-3 text-gray-900 text-copy-14">{item.description}</p>
+ <div className="pb-2 [&>div]:mb-0">{item.code}</div>
+ </div>
+ ))}
+ </div>
+ </div>
+ );
+
+ return (
+ <>
+ <div className="md:hidden">{mobile}</div>
+ <div className="mt-4 hidden md:block">
+ {heading}
+ {board}
+ </div>
+ </>
+ );
+}
diff --git a/apps/docs/app/[lang]/(home)/components/file-tree.tsx b/apps/docs/app/[lang]/(home)/components/file-tree.tsx
index 53b5838d9..24c203d03 100644
--- a/apps/docs/app/[lang]/(home)/components/file-tree.tsx
+++ b/apps/docs/app/[lang]/(home)/components/file-tree.tsx
@@ -1,443 +1,245 @@
-"use client";
-
-import type { LucideIcon } from "lucide-react";
+import { CodeBlock } from "@vercel/geistdocs/components/code-block";
+import { geistShikiTheme } from "@vercel/geistdocs/shiki-theme";
+import { highlight } from "fumadocs-core/highlight";
+import type { ComponentProps, JSX } from "react";
import {
- Bot,
- Clock,
- FileText,
- MessageSquare,
- Plug,
- Settings,
- Terminal,
- Wrench,
-} from "lucide-react";
-import { motion, useInView } from "motion/react";
-import type { ReactNode } from "react";
-import { useRef, useState } from "react";
+ IconAgents,
+ IconClock,
+ IconFileText,
+ IconFolderOpen,
+ IconLinked,
+ IconMessage,
+ IconSandbox,
+ IconSparkles,
+ IconWorkflow,
+ IconWrench,
+} from "@vercel/geistdocs/assets/icons";
+import { cn } from "@/lib/utils";
+import { FileTreeView } from "./file-tree-view";
-function Kw({ children }: { children: ReactNode }) {
- return <span className="text-[#cf222e] dark:text-[#ff7b72]">{children}</span>;
-}
-function Str({ children }: { children: ReactNode }) {
- return <span className="text-[#0a3069] dark:text-[#a5d6ff]">{children}</span>;
-}
-function Fn({ children }: { children: ReactNode }) {
- return <span className="text-[#8250df] dark:text-[#d2a8ff]">{children}</span>;
-}
-function Ty({ children }: { children: ReactNode }) {
- return <span className="text-[#0550ae] dark:text-[#79c0ff]">{children}</span>;
-}
-function Pl({ children, className }: { children: ReactNode; className?: string }) {
- return <span className={className ?? "text-gray-1000"}>{children}</span>;
-}
-
-interface TreeItem {
+interface Snippet {
+ /** Category name shown in the left "Configure your agent" column. */
+ label: string;
+ /** File/folder name shown in the IDE file tree. */
name: string;
+ /** Full path shown in the code panel header. */
fileName: string;
- icon: LucideIcon;
- color: string;
+ lang: string;
+ /** Category icon for the left column. */
+ NavIcon: (props: { size?: number; className?: string }) => JSX.Element;
+ /** Short, what-this-file-does line shown above the code. */
description: string;
- codeHighlighted: ReactNode;
- indent: number;
+ code: string;
}
-const treeItems: TreeItem[] = [
- {
- name: "agent.ts",
- fileName: "agent.ts",
- icon: Settings,
- color: "text-purple-600",
- description: "Model and runtime configuration.",
- codeHighlighted: (
- <>
- <Kw>import</Kw> <Pl>{"{ "}</Pl>
- <Fn>defineAgent</Fn>
- <Pl>{" }"}</Pl> <Kw>from</Kw> <Str>{'"eve"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- {"\n"}
- <Kw>export default</Kw> <Fn>defineAgent</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Ty>model</Ty>
- <Pl>:</Pl> <Str>{'"openai/gpt-5.4-mini"'}</Str>
- <Pl>,</Pl>
- {"\n"}
- <Pl>{"});"}</Pl>
- </>
- ),
- indent: 1,
- },
+const snippets: Snippet[] = [
{
+ label: "Instructions",
name: "instructions.md",
fileName: "instructions.md",
- icon: FileText,
- color: "text-green-600",
- description: "Always-on instructions. The agent's core identity.",
- codeHighlighted: (
- <>
- <Pl className="text-gray-1000 font-semibold">{"# Identity"}</Pl>
- {"\n"}
- {"\n"}
- <Pl>You are an expert weather assistant.</Pl>
- {"\n"}
- <Pl>You can fetch the weather for any</Pl>
- {"\n"}
- <Pl>city in the world.</Pl>
- </>
- ),
- indent: 1,
+ lang: "markdown",
+ NavIcon: IconFileText,
+ description:
+ "An instructions.md file is a complete agent. Describe its role in Markdown, then run eve.",
+ code: `# Identity
+
+You are an expert weather assistant.
+You can fetch the weather for any
+city in the world.`,
},
{
+ label: "Agent",
+ name: "agent.ts",
+ fileName: "agent.ts",
+ lang: "typescript",
+ NavIcon: IconSparkles,
+ description:
+ "eve uses a default model. Add agent.ts when you want to choose a model or configure the runtime.",
+ code: `import { defineAgent } from "eve";
+
+export default defineAgent({
+ model: "openai/gpt-5.4-mini",
+});`,
+ },
+ {
+ label: "Skills",
name: "skills/",
fileName: "skills/research.md",
- icon: FileText,
- color: "text-amber-600",
- description: "On-demand procedures loaded only when relevant.",
- codeHighlighted: (
- <>
- <Pl className="text-gray-600">{"---"}</Pl>
- {"\n"}
- <Ty>name</Ty>
- <Pl>:</Pl> <Str>research</Str>
- {"\n"}
- <Ty>description</Ty>
- <Pl>:</Pl> <Str>Research unfamiliar topics</Str>
- {"\n"}
- <Pl className="text-gray-600">{"---"}</Pl>
- {"\n"}
- {"\n"}
- <Pl>When the task is novel or ambiguous,</Pl>
- {"\n"}
- <Pl>gather evidence first, then answer.</Pl>
- </>
- ),
- indent: 1,
+ lang: "markdown",
+ NavIcon: IconWrench,
+ description:
+ "Skills are Markdown playbooks loaded only when relevant, so the agent gets focused guidance without carrying it in every prompt.",
+ code: `---
+name: research
+description: Research unfamiliar topics
+---
+
+When the task is novel or ambiguous,
+gather evidence first, then answer.`,
},
{
+ label: "Tools",
name: "tools/",
fileName: "tools/get_weather.ts",
- icon: Wrench,
- color: "text-orange-600",
- description: "Typed integrations exposed to the model. File name becomes the tool name.",
- codeHighlighted: (
- <>
- <Kw>import</Kw> <Pl>{"{ "}</Pl>
- <Fn>defineTool</Fn>
- <Pl>{" }"}</Pl> <Kw>from</Kw> <Str>{'"eve/tools"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- <Kw>import</Kw> <Pl>z</Pl> <Kw>from</Kw> <Str>{'"zod"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- {"\n"}
- <Kw>export default</Kw> <Fn>defineTool</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Ty>description</Ty>
- <Pl>:</Pl> <Str>{'"Get the weather for a city"'}</Str>
- <Pl>,</Pl>
- {"\n"}
- {" "}
- <Ty>inputSchema</Ty>
- <Pl>:</Pl> <Pl>z.</Pl>
- <Fn>object</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Ty>cityName</Ty>
- <Pl>:</Pl> <Pl>z.</Pl>
- <Fn>string</Fn>
- <Pl>(),</Pl>
- {"\n"}
- {" "}
- <Pl>{"}),"}</Pl>
- {"\n"}
- {" "}
- <Kw>async</Kw> <Fn>execute</Fn>
- <Pl>{"(input) {"}</Pl>
- {"\n"}
- {" "}
- <Kw>const</Kw> <Pl>res =</Pl> <Kw>await</Kw> <Fn>fetch</Fn>
- <Pl>(</Pl>
- {"\n"}
- {" "}
- <Str>{"`${"}</Str>
- <Pl>process.env.WEATHER_API_URL</Pl>
- <Str>{"}/current?city=${"}</Str>
- <Pl>input.cityName</Pl>
- <Str>{"}`"}</Str>
- {"\n"}
- {" "}
- <Pl>);</Pl>
- {"\n"}
- {" "}
- <Kw>const</Kw> <Pl>data =</Pl> <Kw>await</Kw> <Pl>res.</Pl>
- <Fn>json</Fn>
- <Pl>();</Pl>
- {"\n"}
- {" "}
- <Kw>return</Kw> <Pl>data.current_condition[</Pl>
- <Str>0</Str>
- <Pl>];</Pl>
- {"\n"}
- {" "}
- <Pl>{"},"}</Pl>
- {"\n"}
- <Pl>{"});"}</Pl>
- </>
- ),
- indent: 1,
+ lang: "typescript",
+ NavIcon: IconWorkflow,
+ description:
+ "Drop a TypeScript file in tools/ and the model can call it — the filename becomes the tool name, no registration required.",
+ code: `import { defineTool } from "eve/tools";
+import z from "zod";
+
+export default defineTool({
+ description: "Get the weather for a city",
+ inputSchema: z.object({
+ cityName: z.string(),
+ }),
+ async execute(input) {
+ const res = await fetch(
+ \`\${process.env.WEATHER_API_URL}/current?city=\${input.cityName}\`
+ );
+ const data = await res.json();
+ return data.current_condition[0];
+ },
+});`,
},
{
+ label: "Sandbox",
name: "sandbox/",
fileName: "sandbox/sandbox.ts",
- icon: Terminal,
- color: "text-red-600",
- description: "Isolated compute environments with lifecycle hooks.",
- codeHighlighted: (
- <>
- <Kw>import</Kw> <Pl>{"{ "}</Pl>
- <Fn>defineSandbox</Fn>
- <Pl>{" }"}</Pl> <Kw>from</Kw>
- {"\n"}
- {" "}
- <Str>{'"eve/sandbox"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- {"\n"}
- <Kw>export default</Kw> <Fn>defineSandbox</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Kw>async</Kw> <Fn>bootstrap</Fn>
- <Pl>{"({ sandbox }) {"}</Pl>
- {"\n"}
- {" "}
- <Kw>await</Kw> <Pl>sandbox.</Pl>
- <Fn>run</Fn>
- <Pl>(</Pl>
- {"\n"}
- {" "}
- <Str>{'"git clone repo /workspace"'}</Str>
- {"\n"}
- {" "}
- <Pl>);</Pl>
- {"\n"}
- {" "}
- <Pl>{"},"}</Pl>
- {"\n"}
- <Pl>{"});"}</Pl>
- </>
- ),
- indent: 1,
+ lang: "typescript",
+ NavIcon: IconSandbox,
+ description:
+ "Every agent includes an isolated sandbox. Add sandbox/sandbox.ts to swap in any backend or customize its setup.",
+ code: `import { defineSandbox } from
+ "eve/sandbox";
+
+export default defineSandbox({
+ async bootstrap({ sandbox }) {
+ await sandbox.run(
+ "git clone repo /workspace"
+ );
+ },
+});`,
},
{
+ label: "Channels",
name: "channels/",
fileName: "channels/slack.ts",
- icon: MessageSquare,
- color: "text-cyan-600",
- description: "HTTP, Slack, and custom delivery surfaces.",
- codeHighlighted: (
- <>
- <Kw>import</Kw> <Pl>{"{ "}</Pl>
- <Fn>slackChannel</Fn>
- <Pl>{" }"}</Pl> <Kw>from</Kw>
- {"\n"}
- {" "}
- <Str>{'"eve/channels/slack"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- {"\n"}
- <Kw>export default</Kw> <Fn>slackChannel</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Ty>botName</Ty>
- <Pl>:</Pl> <Str>{'"my-agent"'}</Str>
- <Pl>,</Pl>
- {"\n"}
- <Pl>{"});"}</Pl>
- </>
- ),
- indent: 1,
+ lang: "typescript",
+ NavIcon: IconMessage,
+ description: "Add channel files to use the same agent in Slack, Discord, Teams, or the web.",
+ code: `import { slackChannel } from
+ "eve/channels/slack";
+
+export default slackChannel({
+ botName: "my-agent",
+});`,
},
{
+ label: "Connections",
name: "connections/",
fileName: "connections/linear.ts",
- icon: Plug,
- color: "text-pink-600",
- description: "External MCP services.",
- codeHighlighted: (
- <>
- <Kw>import</Kw> <Pl>{"{ "}</Pl>
- <Fn>defineMcpClientConnection</Fn>
- <Pl>{" }"}</Pl>
- {"\n"}
- {" "}
- <Kw>from</Kw> <Str>{'"eve/connections"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- {"\n"}
- <Kw>export default</Kw> <Fn>defineMcpClientConnection</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Ty>url</Ty>
- <Pl>:</Pl> <Str>{'"https://mcp.linear.app/mcp"'}</Str>
- <Pl>,</Pl>
- {"\n"}
- <Pl>{"});"}</Pl>
- </>
- ),
- indent: 1,
+ lang: "typescript",
+ NavIcon: IconLinked,
+ description:
+ "Connections handle auth for services like GitHub, Stripe, and Linear, so tools can call them without managing tokens.",
+ code: `import { defineMcpClientConnection }
+ from "eve/connections";
+
+export default defineMcpClientConnection({
+ url: "https://mcp.linear.app/mcp",
+});`,
},
{
+ label: "Sub Agents",
name: "subagents/",
fileName: "subagents/researcher/agent.ts",
- icon: Bot,
- color: "text-indigo-600",
- description: "Specialist child agents.",
- codeHighlighted: (
- <>
- <Kw>import</Kw> <Pl>{"{ "}</Pl>
- <Fn>defineAgent</Fn>
- <Pl>{" }"}</Pl> <Kw>from</Kw>
- {"\n"}
- {" "}
- <Str>{'"eve"'}</Str>
- <Pl>;</Pl>
- {"\n"}
- {"\n"}
- <Kw>export default</Kw> <Fn>defineAgent</Fn>
- <Pl>{"({"}</Pl>
- {"\n"}
- {" "}
- <Ty>description</Ty>
- <Pl>:</Pl> <Str>{'"Investigate questions"'}</Str>
- <Pl>,</Pl>
- {"\n"}
- {" "}
- <Ty>model</Ty>
- <Pl>:</Pl> <Str>{'"openai/gpt-5.4"'}</Str>
- <Pl>,</Pl>
- {"\n"}
- <Pl>{"});"}</Pl>
- </>
- ),
- indent: 1,
+ lang: "typescript",
+ NavIcon: IconAgents,
+ description:
+ "Add subagents for specialized work. The main agent delegates tasks and combines the results.",
+ code: `import { defineAgent } from
+ "eve";
+
+export default defineAgent({
+ description: "Investigate questions",
+ model: "openai/gpt-5.4",
+});`,
},
{
+ label: "Schedules",
name: "schedules/",
fileName: "schedules/daily-report.md",
- icon: Clock,
- color: "text-emerald-600",
- description: "Recurring cron jobs.",
- codeHighlighted: (
- <>
- <Pl className="text-gray-600">{"---"}</Pl>
- {"\n"}
- <Ty>cron</Ty>
- <Pl>:</Pl> <Str>{'"0 8 * * *"'}</Str>
- {"\n"}
- <Pl className="text-gray-600">{"---"}</Pl>
- {"\n"}
- {"\n"}
- <Pl>Send the user a daily weather</Pl>
- {"\n"}
- <Pl>digest for their saved cities.</Pl>
- </>
- ),
- indent: 1,
+ lang: "markdown",
+ NavIcon: IconClock,
+ description:
+ "Schedules run agents automatically for jobs like daily reports and weekly digests, continuing durably without an active session.",
+ code: `---
+cron: "0 8 * * *"
+---
+
+Send the user a daily weather
+digest for their saved cities.`,
},
];
-const CODE_BOX_HEIGHT = 280;
-
-export function FileTree() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.3 });
- const [selectedIndex, setSelectedIndex] = useState(0);
+export async function FileTree() {
+ const rendered = await Promise.all(
+ snippets.map((snippet) =>
+ highlight(snippet.code, {
+ lang: snippet.lang,
+ theme: geistShikiTheme,
+ components: {
+ pre: ({ children, ...props }: ComponentProps<"pre">) => (
+ <CodeBlock
+ {...props}
+ data-line-numbers="true"
+ className={cn(
+ props.className,
+ "rounded-none border-0 bg-transparent px-0 py-4",
+ "[&_.line]:before:!mr-4 [&_.line]:before:!w-5 [&_.line]:before:!text-left",
+ // Wrap long lines instead of scrolling horizontally (keep the
+ // line-number grid, just constrain its column so lines wrap).
+ "[&_pre]:overflow-x-hidden! [&_code]:w-full! [&_code]:min-w-0! [&_code]:[grid-template-columns:minmax(0,1fr)]! [&_.line]:whitespace-pre-wrap [&_.line]:[overflow-wrap:anywhere]",
+ )}
+ >
+ {children}
+ </CodeBlock>
+ ),
+ },
+ }),
+ ),
+ );
- const selected = treeItems[selectedIndex];
+ const items = snippets.map((snippet, i) => ({
+ label: snippet.label,
+ name: snippet.name,
+ fileName: snippet.fileName,
+ description: snippet.description,
+ navIcon: <snippet.NavIcon className="shrink-0" size={16} />,
+ code: rendered[i],
+ }));
return (
- <section className="px-4 pb-24 pt-16 sm:px-12" ref={ref}>
- <div className="mx-auto max-w-5xl">
- <h2 className="text-center text-3xl font-bold tracking-tighter text-gray-1000 sm:text-4xl">
- An agent is a directory
- </h2>
- <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900">
- Define instructions and skills in markdown, tools in TypeScript, and deploy. The framework
- compiles the directory, wires up durable workflows, and connects channels.
- </p>
- <div className="mt-20 grid gap-8 md:grid-cols-[240px_1fr]">
- <div className="space-y-0.5">
- <div className="mb-3 font-mono text-xs font-semibold text-gray-900">agent/</div>
- {treeItems.map((item, i) => (
- <motion.button
- key={item.name}
- type="button"
- initial={{ opacity: 0, x: -16 }}
- animate={isInView ? { opacity: 1, x: 0 } : {}}
- transition={{
- delay: i * 0.06,
- duration: 0.4,
- ease: [0.22, 1, 0.36, 1],
- }}
- onClick={() => setSelectedIndex(i)}
- className={`flex w-full cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-left transition-colors ${
- selectedIndex === i ? "bg-gray-100" : "hover:bg-gray-100/40"
- }`}
- style={{ paddingLeft: `${item.indent * 16 + 4}px` }}
- >
- <item.icon className={`h-4 w-4 shrink-0 ${item.color}`} />
- <span
- className={`font-mono text-sm ${
- selectedIndex === i ? "text-gray-1000" : "text-gray-900"
- }`}
- >
- {item.name}
- </span>
- </motion.button>
- ))}
- </div>
-
- <div className="flex flex-col gap-4">
- <div className="min-h-[48px]">
- <motion.div
- key={selectedIndex}
- initial={{ opacity: 0 }}
- animate={{ opacity: 1 }}
- transition={{ duration: 0.15 }}
- >
- <div className="flex items-center gap-2">
- <selected.icon className={`h-5 w-5 ${selected.color}`} />
- <span className="font-mono text-base font-semibold text-gray-1000">
- {selected.fileName}
- </span>
- </div>
- <p className="mt-1 text-sm text-gray-900">{selected.description}</p>
- </motion.div>
- </div>
-
- <motion.div
- key={`code-${selectedIndex}`}
- initial={{ opacity: 0 }}
- animate={{ opacity: 1 }}
- transition={{ duration: 0.15 }}
- className="overflow-y-auto rounded-md border bg-background-100 p-5"
- style={{ height: CODE_BOX_HEIGHT }}
- >
- <pre className="font-mono text-[13px] leading-6 whitespace-pre-wrap">
- {selected.codeHighlighted}
- </pre>
- </motion.div>
+ <section className="pb-24 pt-8 font-sans px-4">
+ <FileTreeView
+ items={items}
+ heading={
+ <div className="mx-auto max-w-5xl">
+ <h2 className="text-center font-medium! text-heading-32 tracking-tighter text-gray-1000 sm:text-heading-40">
+ <span className="relative -top-[0.08em] ml-1 inline-flex items-center gap-[0.16em] rounded-lg bg-gray-200 px-3 py-[0.04em] pr-4 align-baseline font-[450]!">
+ <IconFolderOpen aria-hidden className="size-[0.58em] text-gray-900" />
+ agent/
+ </span>{" "}
+ is a directory
+ </h2>
+ <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900">
+ An instructions.md file is all you need to run an agent. Skills, tools, channels, and
+ the rest are optional building blocks you add as it grows.
+ </p>
</div>
- </div>
- </div>
+ }
+ />
</section>
);
}
diff --git a/apps/docs/app/[lang]/(home)/components/gradient-border.tsx b/apps/docs/app/[lang]/(home)/components/gradient-border.tsx
new file mode 100644
index 000000000..b994c6623
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/gradient-border.tsx
@@ -0,0 +1,18 @@
+import type { JSX } from "react";
+
+export function GradientBorder(): JSX.Element {
+ return (
+ <div
+ aria-hidden
+ className="pointer-events-none absolute inset-0 rounded-[inherit]"
+ style={{
+ padding: "1px",
+ background: "linear-gradient(to bottom, var(--ds-gray-alpha-400), transparent)",
+ WebkitMask: "linear-gradient(white, white) content-box, linear-gradient(white, white)",
+ WebkitMaskComposite: "xor",
+ mask: "linear-gradient(white, white) content-box, linear-gradient(white, white)",
+ maskComposite: "exclude",
+ }}
+ />
+ );
+}
diff --git a/apps/docs/app/[lang]/(home)/components/home-content.tsx b/apps/docs/app/[lang]/(home)/components/home-content.tsx
new file mode 100644
index 000000000..4a113535c
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/home-content.tsx
@@ -0,0 +1,50 @@
+import type { Metadata } from "next";
+import { staticOgImage } from "@/lib/geistdocs/og";
+import { ArchitectureDiagram } from "./architecture";
+import { CTA } from "./cta";
+import { FeatureGrid } from "./feature-grid";
+import { FileTree } from "./file-tree";
+import { EveLogoShader } from "./eve-logo-shader";
+import { InstallSwitcher } from "./install-switcher";
+import { NextjsInterop } from "./nextjs-interop";
+
+const title = "eve";
+const tagline = "Like Next.js for agents. Build durable agents with one folder.";
+
+export const homeMetadata: Metadata = {
+ title,
+ description: tagline,
+ openGraph: {
+ title,
+ description: tagline,
+ images: [staticOgImage],
+ },
+ twitter: {
+ card: "summary_large_image",
+ title,
+ description: tagline,
+ images: [staticOgImage],
+ },
+};
+
+export const HomeContent = () => (
+ <div className="mx-auto w-full max-w-[1080px] pb-32">
+ <section className="relative isolate flex min-h-[80vh] flex-col items-center justify-center gap-y-5 px-4 pt-24 pb-12 text-center sm:px-12 sm:pb-16 sm:pt-42">
+ <div className="relative z-10 max-w-5xl text-center font-normal! text-heading-40 md:text-heading-48 lg:text-heading-56">
+ <EveLogoShader />
+ <h1 className="relative text-balance w-full max-w-[10em]">
+ The Framework for Building Agents
+ </h1>
+ </div>
+ <p className="text-balance relative z-10 w-full text-center text-copy-16 text-gray-900 md:max-w-2xl md:text-copy-18 lg:text-copy-20">
+ {tagline}
+ </p>
+ <InstallSwitcher className="items-center mt-2 z-10" />
+ </section>
+ <FileTree />
+ <NextjsInterop />
+ <ArchitectureDiagram />
+ <FeatureGrid />
+ <CTA />
+ </div>
+);
diff --git a/apps/docs/app/[lang]/(home)/components/install-switcher.tsx b/apps/docs/app/[lang]/(home)/components/install-switcher.tsx
new file mode 100644
index 000000000..d3a238019
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/install-switcher.tsx
@@ -0,0 +1,52 @@
+"use client";
+
+import { track } from "@vercel/analytics";
+import {
+ CommandPromptContent,
+ CommandPromptCopy,
+ CommandPromptList,
+ CommandPromptPrefix,
+ CommandPromptRoot,
+ CommandPromptSurface,
+ CommandPromptTrigger,
+ CommandPromptTriggerDivider,
+ CommandPromptViewport,
+} from "@vercel/geistdocs/components/command-prompt";
+import type { JSX } from "react";
+import { cn } from "@/lib/utils";
+
+const HUMAN_COMMAND = "npx eve@latest init my-agent";
+const AGENT_COMMAND = "npx skills add vercel/eve";
+
+/**
+ * Hero install prompt that toggles between the human-facing `eve init` command
+ * and the agent-facing skills command, with a copy-to-clipboard pill.
+ */
+export const InstallSwitcher = ({ className }: { className?: string }): JSX.Element => (
+ <CommandPromptRoot
+ className={cn("w-auto items-start", className)}
+ defaultValue="humans"
+ onValueChange={(value) => {
+ track("Selected installer command", { target: value });
+ }}
+ >
+ <CommandPromptList>
+ <CommandPromptTrigger value="humans">For humans</CommandPromptTrigger>
+ <CommandPromptTriggerDivider />
+ <CommandPromptTrigger value="agents">For agents</CommandPromptTrigger>
+ </CommandPromptList>
+
+ <CommandPromptSurface className="py-2.5">
+ <CommandPromptPrefix>$</CommandPromptPrefix>
+ <CommandPromptViewport>
+ <CommandPromptContent className="py-1" copyValue={HUMAN_COMMAND} value="humans">
+ {HUMAN_COMMAND}
+ </CommandPromptContent>
+ <CommandPromptContent className="py-1" copyValue={AGENT_COMMAND} value="agents">
+ {AGENT_COMMAND}
+ </CommandPromptContent>
+ </CommandPromptViewport>
+ <CommandPromptCopy />
+ </CommandPromptSurface>
+ </CommandPromptRoot>
+);
diff --git a/apps/docs/app/[lang]/(home)/components/metal-shader.tsx b/apps/docs/app/[lang]/(home)/components/metal-shader.tsx
new file mode 100644
index 000000000..39030ab96
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/metal-shader.tsx
@@ -0,0 +1,542 @@
+"use client";
+
+import { useCallback, useEffect, useRef, useState } from "react";
+import { cn } from "@/lib/utils";
+
+const EVE_MARK_PATH =
+ "M600.491 30.1025H417.913L290.411 188.43H250L282.329 148.17L401.541 0H600.491V30.1025ZM162.992 188.351H0V158.248H162.992V188.351ZM600.491 158.248V188.351H437.5V158.248H600.491ZM137.363 108.609H0V78.5068H137.363V108.609ZM600.491 108.609H463.129V78.5068H600.491V108.609ZM250.001 30.1025H0V0H250.001V30.1025Z";
+const EVE_MARK_WIDTH = 601;
+const EVE_MARK_HEIGHT = 189;
+
+interface MetalConfig {
+ roughness: number;
+ specular: number;
+ fresnel: number;
+ flowSpeed: number;
+ distortion: number;
+ tint: number;
+ brushAngle: number;
+ tonemap: number;
+}
+
+const DEFAULT_CONFIG: MetalConfig = {
+ roughness: 0.1,
+ specular: 1.5,
+ fresnel: 0.8,
+ flowSpeed: 0.6,
+ distortion: 0.5,
+ tint: 0.15,
+ brushAngle: 0,
+ tonemap: 0.6,
+};
+
+const HERO_CONFIG: MetalConfig = {
+ roughness: 0.12,
+ specular: 1.35,
+ fresnel: 0.78,
+ flowSpeed: 0.38,
+ distortion: 0.42,
+ tint: 0.18,
+ brushAngle: 0.32,
+ tonemap: 0.72,
+};
+const HERO_MARK_SCALE = 0.97;
+
+type MetalShaderProps = {
+ className?: string;
+ config?: MetalConfig;
+ svgScale?: number;
+ svgPath?: string;
+ svgWidth?: number;
+ svgHeight?: number;
+};
+
+function getLogoTransform(
+ width: number,
+ height: number,
+ svgScale: number,
+ svgWidth: number,
+ svgHeight: number,
+) {
+ const scale = Math.min(width / svgWidth, height / svgHeight) * svgScale;
+ return {
+ scale,
+ offsetX: (width - svgWidth * scale) / 2,
+ offsetY: (height - svgHeight * scale) / 2,
+ };
+}
+
+function getCurrentTheme(): "light" | "dark" {
+ if (typeof document === "undefined") return "light";
+ const root = document.documentElement;
+ if (root.classList.contains("dark") || root.dataset.theme === "dark") return "dark";
+ if (root.classList.contains("light") || root.dataset.theme === "light") return "light";
+ return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
+}
+
+function useResolvedTheme() {
+ const [theme, setTheme] = useState<"light" | "dark">("light");
+
+ useEffect(() => {
+ const syncTheme = () => setTheme(getCurrentTheme());
+ const media = window.matchMedia("(prefers-color-scheme: dark)");
+ const observer = new MutationObserver(syncTheme);
+
+ syncTheme();
+ observer.observe(document.documentElement, {
+ attributes: true,
+ attributeFilter: ["class", "data-theme"],
+ });
+ media.addEventListener("change", syncTheme);
+
+ return () => {
+ observer.disconnect();
+ media.removeEventListener("change", syncTheme);
+ };
+ }, []);
+
+ return theme;
+}
+
+export function MetalShader({
+ className,
+ config = DEFAULT_CONFIG,
+ svgScale = 0.92,
+ svgPath = EVE_MARK_PATH,
+ svgWidth = EVE_MARK_WIDTH,
+ svgHeight = EVE_MARK_HEIGHT,
+}: MetalShaderProps) {
+ const theme = useResolvedTheme();
+ const canvasRef = useRef<HTMLCanvasElement>(null);
+ const rafRef = useRef<number>(0);
+ const configRef = useRef(config);
+ const svgScaleRef = useRef(svgScale);
+ const mouseRef = useRef({ x: 0, y: 0 });
+ const shadeCanvasRef = useRef<HTMLCanvasElement | null>(null);
+ const maskCanvasRef = useRef<HTMLCanvasElement | null>(null);
+ const envDataRef = useRef<Uint8ClampedArray | null>(null);
+ const maskPixelsRef = useRef<Uint8ClampedArray | null>(null);
+ const blurPixelsRef = useRef<Uint8ClampedArray | null>(null);
+ const sizeRef = useRef({ w: 0, h: 0, dpr: 1, renderScale: 1 });
+ const needsRebuildRef = useRef(true);
+ const themeRef = useRef(theme);
+ const svgPathRef = useRef(svgPath);
+ const svgWidthRef = useRef(svgWidth);
+ const svgHeightRef = useRef(svgHeight);
+ const startTimeRef = useRef<number | null>(null);
+ const glowColorRef = useRef("currentColor");
+
+ configRef.current = config;
+ svgScaleRef.current = svgScale;
+ themeRef.current = theme;
+ svgPathRef.current = svgPath;
+ svgWidthRef.current = svgWidth;
+ svgHeightRef.current = svgHeight;
+
+ const buildEnvMap = useCallback(() => {
+ const size = 1024;
+ const data = new Uint8ClampedArray(size * 4);
+ for (let i = 0; i < size; i++) {
+ const t = i / size;
+ let v = 25;
+ v += 230 * Math.exp(-((t - 0.48) * (t - 0.48)) / 0.003);
+ v += 140 * Math.exp(-((t - 0.2) * (t - 0.2)) / 0.004);
+ v += 160 * Math.exp(-((t - 0.72) * (t - 0.72)) / 0.005);
+ v += 40 * Math.exp(-((t - 0.35) * (t - 0.35)) / 0.02);
+ v += 35 * Math.exp(-((t - 0.6) * (t - 0.6)) / 0.015);
+ v += 60 * Math.exp(-((t - 0.05) * (t - 0.05)) / 0.003);
+ v += 55 * Math.exp(-((t - 0.9) * (t - 0.9)) / 0.004);
+ const c = Math.min(255, v | 0);
+ const idx = i * 4;
+ data[idx] = c;
+ data[idx + 1] = c;
+ data[idx + 2] = c;
+ data[idx + 3] = 255;
+ }
+ envDataRef.current = data;
+ }, []);
+
+ const buildMask = useCallback(() => {
+ const { w, h, renderScale } = sizeRef.current;
+ const sw = Math.round(w * renderScale);
+ const sh = Math.round(h * renderScale);
+ if (w === 0 || h === 0) return;
+
+ if (!maskCanvasRef.current) maskCanvasRef.current = document.createElement("canvas");
+ const maskCanvas = maskCanvasRef.current;
+ maskCanvas.width = sw;
+ maskCanvas.height = sh;
+
+ const { scale, offsetX, offsetY } = getLogoTransform(
+ w,
+ h,
+ svgScaleRef.current,
+ svgWidthRef.current,
+ svgHeightRef.current,
+ );
+ const path = new Path2D(svgPathRef.current);
+ const maskContext = maskCanvas.getContext("2d", { willReadFrequently: true });
+ if (!maskContext) return;
+
+ maskContext.fillStyle = "#000";
+ maskContext.fillRect(0, 0, sw, sh);
+ maskContext.save();
+ maskContext.translate(offsetX * renderScale, offsetY * renderScale);
+ maskContext.scale(scale * renderScale, scale * renderScale);
+ maskContext.fillStyle = "#fff";
+ maskContext.fill(path);
+ maskContext.restore();
+ maskPixelsRef.current = maskContext.getImageData(0, 0, sw, sh).data;
+
+ const blurCanvas = document.createElement("canvas");
+ blurCanvas.width = sw;
+ blurCanvas.height = sh;
+ const blurContext = blurCanvas.getContext("2d", { willReadFrequently: true });
+ if (!blurContext) return;
+
+ blurContext.filter = `blur(${Math.round(5 * renderScale)}px)`;
+ blurContext.drawImage(maskCanvas, 0, 0);
+ blurPixelsRef.current = blurContext.getImageData(0, 0, sw, sh).data;
+ needsRebuildRef.current = false;
+ }, []);
+
+ const init = useCallback(() => {
+ const canvas = canvasRef.current;
+ if (!canvas) return;
+
+ const rect = canvas.getBoundingClientRect();
+ const w = Math.max(1, Math.round(rect.width));
+ const h = Math.max(1, Math.round(rect.height));
+ const dpr = window.devicePixelRatio || 1;
+ const renderScale = Math.min(dpr, 1.35);
+
+ canvas.width = Math.round(w * dpr);
+ canvas.height = Math.round(h * dpr);
+ sizeRef.current = { w, h, dpr, renderScale };
+ mouseRef.current = { x: w * 0.58, y: h * 0.35 };
+ needsRebuildRef.current = true;
+ startTimeRef.current = null;
+ glowColorRef.current = getComputedStyle(canvas).color;
+
+ const sw = Math.round(w * renderScale);
+ const sh = Math.round(h * renderScale);
+ if (!shadeCanvasRef.current) shadeCanvasRef.current = document.createElement("canvas");
+ shadeCanvasRef.current.width = sw;
+ shadeCanvasRef.current.height = sh;
+
+ if (!envDataRef.current) buildEnvMap();
+ }, [buildEnvMap]);
+
+ useEffect(() => {
+ const canvas = canvasRef.current;
+ if (!canvas) return;
+
+ init();
+ const observer = new ResizeObserver(init);
+ observer.observe(canvas);
+ window.addEventListener("resize", init);
+
+ return () => {
+ observer.disconnect();
+ window.removeEventListener("resize", init);
+ };
+ }, [init]);
+
+ useEffect(() => {
+ const canvas = canvasRef.current;
+ if (!canvas) return;
+
+ const onPointerMove = (event: PointerEvent) => {
+ const rect = canvas.getBoundingClientRect();
+ mouseRef.current = { x: event.clientX - rect.left, y: event.clientY - rect.top };
+ };
+
+ canvas.addEventListener("pointermove", onPointerMove, { passive: true });
+ return () => canvas.removeEventListener("pointermove", onPointerMove);
+ }, []);
+
+ useEffect(() => {
+ const canvas = canvasRef.current;
+ if (!canvas) return;
+ const ctx = canvas.getContext("2d", { alpha: true });
+ if (!ctx) return;
+
+ let outImg: ImageData | null = null;
+ let lastSw = 0;
+ let lastSh = 0;
+ const tonemapLUT = new Uint8Array(256);
+ let lastTonemap = -1;
+ let glowPath: Path2D | null = null;
+ let lastGlowSvg = "";
+ let lastBrushAngle = -999;
+ let brushCos = 1;
+ let brushSin = 0;
+
+ const animate = (timestamp: number) => {
+ if (startTimeRef.current === null) startTimeRef.current = timestamp;
+ const introElapsed = (timestamp - startTimeRef.current) * 0.001;
+ const introDuration = 1.0;
+
+ if (needsRebuildRef.current) buildMask();
+
+ const cfg = configRef.current;
+ const { w, h, dpr, renderScale } = sizeRef.current;
+ const time = timestamp * 0.001;
+ const mouse = mouseRef.current;
+ const envData = envDataRef.current;
+ const mask = maskPixelsRef.current;
+ const blur = blurPixelsRef.current;
+ const shadeCanvas = shadeCanvasRef.current;
+
+ if (!envData || !mask || !blur || !shadeCanvas || w === 0 || h === 0) {
+ rafRef.current = requestAnimationFrame(animate);
+ return;
+ }
+
+ const sw = Math.round(w * renderScale);
+ const sh = Math.round(h * renderScale);
+ const shadeContext = shadeCanvas.getContext("2d", { willReadFrequently: true });
+ if (!shadeContext) {
+ rafRef.current = requestAnimationFrame(animate);
+ return;
+ }
+
+ if (!outImg || sw !== lastSw || sh !== lastSh) {
+ outImg = shadeContext.createImageData(sw, sh);
+ lastSw = sw;
+ lastSh = sh;
+ }
+
+ const out = outImg.data;
+ out.fill(0);
+
+ const stride = sw * 4;
+ const envLen = 1024;
+ if (cfg.tonemap !== lastTonemap) {
+ lastTonemap = cfg.tonemap;
+ if (cfg.tonemap === 1) {
+ for (let i = 0; i < 256; i++) tonemapLUT[i] = i;
+ } else {
+ const invTone = 1 / cfg.tonemap;
+ for (let i = 0; i < 256; i++) {
+ tonemapLUT[i] = (255 * Math.pow(i / 255, invTone)) | 0;
+ }
+ }
+ }
+
+ if (cfg.brushAngle !== lastBrushAngle) {
+ lastBrushAngle = cfg.brushAngle;
+ brushCos = Math.cos(cfg.brushAngle);
+ brushSin = Math.sin(cfg.brushAngle);
+ }
+
+ const mx = mouse.x / w;
+ const my = mouse.y / h;
+ const t13 = time * cfg.flowSpeed * 1.3;
+ const t09 = time * cfg.flowSpeed * 0.9;
+ const t05 = time * cfg.flowSpeed * 0.5;
+ const t18 = time * cfg.flowSpeed * 1.8;
+ const tEnv = time * cfg.flowSpeed * 0.03;
+ const invSw = 1 / sw;
+ const invSh = 1 / sh;
+ const isLight = themeRef.current === "light";
+
+ for (let y = 1; y < sh - 1; y++) {
+ const yOff = y * stride;
+ const py = y * invSh;
+
+ for (let x = 1; x < sw - 1; x++) {
+ const idx = yOff + x * 4;
+ if (mask[idx] < 128) continue;
+
+ const left = blur[idx - 4];
+ const right = blur[idx + 4];
+ const up = blur[idx - stride];
+ const down = blur[idx + stride];
+ let nx = (right - left) / 510;
+ let ny = (down - up) / 510;
+ const px = x * invSw;
+ const r1 =
+ Math.sin(px * 18 * cfg.roughness + t13) *
+ Math.cos(py * 14 * cfg.roughness + t09) *
+ 0.2 *
+ cfg.distortion;
+ const r2 = Math.sin((px + py) * 22 * cfg.roughness - t05) * 0.12 * cfg.distortion;
+ const r3 = Math.cos(px * 30 * cfg.roughness + py * 10 - t18) * 0.08 * cfg.distortion;
+
+ nx += r1 + r2;
+ ny += r3 + r1 * 0.6;
+
+ const envCoord = (nx + r2) * 4 + px * 2 + tEnv;
+ let envU = envCoord - Math.floor(envCoord);
+ if (envU < 0) envU += 1;
+ const envIdx = ((envU * (envLen - 1)) | 0) * 4;
+ let cr = envData[envIdx];
+ let cg = envData[envIdx + 1];
+ let cb = envData[envIdx + 2];
+
+ let envU2 = envU + 0.35 + ny * 2.5;
+ envU2 = envU2 - Math.floor(envU2);
+ const envIdx2 = ((envU2 * (envLen - 1)) | 0) * 4;
+ cr = (cr * 0.65 + envData[envIdx2] * 0.35) | 0;
+ cg = (cg * 0.65 + envData[envIdx2 + 1] * 0.35) | 0;
+ cb = (cb * 0.65 + envData[envIdx2 + 2] * 0.35) | 0;
+ cr = ((cr * (cr + 60)) / 315) | 0;
+ cg = ((cg * (cg + 60)) / 315) | 0;
+ cb = ((cb * (cb + 60)) / 315) | 0;
+
+ if (isLight) {
+ cr = 255 - cr;
+ cg = 255 - cg;
+ cb = 255 - cb;
+ if (cr > 225) cr = 225;
+ if (cg > 225) cg = 225;
+ if (cb > 223) cb = 223;
+ } else {
+ if (cr < 30) cr = 30;
+ if (cg < 30) cg = 30;
+ if (cb < 32) cb = 32;
+ }
+
+ if (cfg.tint > 0.01) {
+ cr = (cr * (1 + cfg.tint * 0.25)) | 0;
+ cg = (cg * (1 + cfg.tint * 0.08)) | 0;
+ if (cr > 255) cr = 255;
+ if (cg > 255) cg = 255;
+ }
+
+ const minEdge =
+ left < right
+ ? left < up
+ ? left < down
+ ? left
+ : down
+ : up < down
+ ? up
+ : down
+ : right < up
+ ? right < down
+ ? right
+ : down
+ : up < down
+ ? up
+ : down;
+ const edgeness = 1 - minEdge / 255;
+ if (edgeness > 0.02) {
+ const f = edgeness * edgeness * cfg.fresnel;
+ cr = (cr + f * 200) | 0;
+ cg = (cg + f * 200) | 0;
+ cb = (cb + f * 210) | 0;
+ }
+
+ const ldx = px - mx;
+ const ldy = py - my;
+ const ld2 = ldx * ldx + ldy * ldy;
+ if (ld2 < 0.12) {
+ const sx = ldx + nx * 0.4;
+ const sy = ldy + ny * 0.4;
+ const sd = Math.sqrt(sx * sx + sy * sy);
+ const sp = 1 - sd * 4.5;
+ if (sp > 0) {
+ const sp2 = sp * sp;
+ const spow = sp2 * sp2 * sp2 * cfg.specular;
+ cr = (cr + spow * 240) | 0;
+ cg = (cg + spow * 240) | 0;
+ cb = (cb + spow * 250) | 0;
+ }
+ }
+
+ if (cfg.brushAngle > 0.01) {
+ const bc2 = px * brushCos + py * brushSin;
+ const br = Math.sin(bc2 * 400 * cfg.roughness + nx * 20) * 0.5 + 0.5;
+ const bfx = br * 0.15 + 0.85;
+ cr = (cr * bfx) | 0;
+ cg = (cg * bfx) | 0;
+ cb = (cb * bfx) | 0;
+ }
+
+ out[idx] = tonemapLUT[cr > 255 ? 255 : cr < 0 ? 0 : cr];
+ out[idx + 1] = tonemapLUT[cg > 255 ? 255 : cg < 0 ? 0 : cg];
+ out[idx + 2] = tonemapLUT[cb > 255 ? 255 : cb < 0 ? 0 : cb];
+ out[idx + 3] = 255;
+ }
+ }
+
+ shadeContext.putImageData(outImg, 0, 0);
+
+ const introFade =
+ introElapsed >= introDuration ? 1 : Math.pow(Math.min(introElapsed / introDuration, 1), 2);
+
+ ctx.setTransform(1, 0, 0, 1, 0, 0);
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
+ ctx.imageSmoothingEnabled = true;
+ ctx.imageSmoothingQuality = "high";
+ ctx.globalAlpha = introFade;
+ ctx.drawImage(shadeCanvas, 0, 0, sw, sh, 0, 0, canvas.width, canvas.height);
+ ctx.globalAlpha = 1;
+ ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
+
+ const { scale, offsetX, offsetY } = getLogoTransform(
+ w,
+ h,
+ svgScaleRef.current,
+ svgWidthRef.current,
+ svgHeightRef.current,
+ );
+ const currentSvg = svgPathRef.current;
+ if (currentSvg !== lastGlowSvg) {
+ glowPath = new Path2D(currentSvg);
+ lastGlowSvg = currentSvg;
+ }
+
+ ctx.save();
+ ctx.globalCompositeOperation = isLight ? "multiply" : "screen";
+ ctx.filter = `blur(${12 + Math.sin(time * 0.3) * 3}px)`;
+ ctx.globalAlpha = 0.07 * cfg.fresnel * introFade;
+ ctx.translate(offsetX, offsetY);
+ ctx.scale(scale, scale);
+ ctx.fillStyle = glowColorRef.current;
+ if (glowPath) ctx.fill(glowPath);
+ ctx.restore();
+
+ rafRef.current = requestAnimationFrame(animate);
+ };
+
+ rafRef.current = requestAnimationFrame(animate);
+ return () => cancelAnimationFrame(rafRef.current);
+ }, [buildMask]);
+
+ return (
+ <canvas
+ aria-hidden
+ className={cn("block size-full select-none text-gray-1000", className)}
+ ref={canvasRef}
+ style={{ touchAction: "none" }}
+ />
+ );
+}
+
+export function HeroMetalShader({ className }: { className?: string }) {
+ const scaleOffsetX = (EVE_MARK_WIDTH * (1 - HERO_MARK_SCALE)) / 2;
+ const scaleOffsetY = (EVE_MARK_HEIGHT * (1 - HERO_MARK_SCALE)) / 2;
+
+ return (
+ <div className={cn("relative size-full", className)}>
+ <svg
+ aria-hidden
+ className="absolute inset-0 size-full text-gray-1000 opacity-[0.12] [mask-image:linear-gradient(90deg,transparent_0%,black_14%,black_78%,transparent_100%)] dark:opacity-20"
+ fill="none"
+ stroke="currentColor"
+ strokeLinejoin="round"
+ strokeWidth="1"
+ viewBox={`0 0 ${EVE_MARK_WIDTH} ${EVE_MARK_HEIGHT}`}
+ >
+ <path
+ d={EVE_MARK_PATH}
+ transform={`translate(${scaleOffsetX} ${scaleOffsetY}) scale(${HERO_MARK_SCALE})`}
+ />
+ </svg>
+ <MetalShader className="absolute inset-0" config={HERO_CONFIG} svgScale={HERO_MARK_SCALE} />
+ </div>
+ );
+}
diff --git a/apps/docs/app/[lang]/(home)/components/nextjs-interop.tsx b/apps/docs/app/[lang]/(home)/components/nextjs-interop.tsx
new file mode 100644
index 000000000..48e9f182e
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/nextjs-interop.tsx
@@ -0,0 +1,89 @@
+import { CodeBlock } from "@vercel/geistdocs/components/code-block";
+import { geistShikiTheme } from "@vercel/geistdocs/shiki-theme";
+import { highlight } from "fumadocs-core/highlight";
+import type { ComponentProps } from "react";
+import { cn } from "@/lib/utils";
+import { GradientBorder } from "./gradient-border";
+
+interface InteropFile {
+ fileName: string;
+ lang: string;
+ code: string;
+}
+
+const FILES: InteropFile[] = [
+ {
+ fileName: "next.config.ts",
+ lang: "typescript",
+ code: `import { withEve } from "eve/next";
+
+const nextConfig = {};
+
+// Agent + app: one dev server, one deploy.
+export default withEve(nextConfig);`,
+ },
+ {
+ fileName: "app/chat.tsx",
+ lang: "tsx",
+ code: `"use client";
+import { useEveAgent } from "eve/react";
+
+export function Chat() {
+ // Same-origin routes, found automatically.
+ const agent = useEveAgent();
+ // agent.messages, agent.sendMessage, ...
+}`,
+ },
+];
+
+async function renderCode(file: InteropFile) {
+ return highlight(file.code, {
+ lang: file.lang,
+ theme: geistShikiTheme,
+ components: {
+ pre: ({ children, ...props }: ComponentProps<"pre">) => (
+ <CodeBlock
+ {...props}
+ className={cn(props.className, "rounded-none border-0 bg-transparent px-0 py-4")}
+ >
+ {children}
+ </CodeBlock>
+ ),
+ },
+ });
+}
+
+export async function NextjsInterop() {
+ const rendered = await Promise.all(FILES.map(renderCode));
+
+ return (
+ <section className="px-4 py-24">
+ <div className="mx-auto max-w-5xl">
+ <h2 className="text-center font-medium! text-heading-32 tracking-tighter text-gray-1000 sm:text-heading-40">
+ Works natively with Next.js
+ </h2>
+ <p className="mx-auto mt-4 max-w-2xl text-center text-gray-900">
+ Wrap your config with <span className="text-gray-1000">withEve()</span> and the agent
+ mounts into your existing app. Same dev server, same deploy.{" "}
+ <span className="text-gray-1000">useEveAgent()</span> finds its routes on its own, so
+ there's no CORS to configure and no URL env vars to keep in sync.
+ </p>
+
+ {/* A single gradient-bordered frame around both code blocks. */}
+ <div className="relative mt-16 rounded-xl p-5">
+ <GradientBorder />
+ <div className="grid gap-4 md:grid-cols-2">
+ {FILES.map((file, i) => (
+ <div key={file.fileName} className="overflow-hidden rounded-lg material-small">
+ <div className="flex h-12 items-center gap-2 border-b px-4">
+ <span className="text-sm text-gray-1000">{file.fileName}</span>
+ </div>
+ <div className="overflow-x-auto text-[13px] [&>div]:mb-0">{rendered[i]}</div>
+ </div>
+ ))}
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/apps/docs/app/[lang]/(home)/components/scroll-state.tsx b/apps/docs/app/[lang]/(home)/components/scroll-state.tsx
new file mode 100644
index 000000000..f45b585f7
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/scroll-state.tsx
@@ -0,0 +1,20 @@
+"use client";
+
+import { useEffect } from "react";
+
+/**
+ * Tracks whether the page is scrolled and reflects it as `data-scrolled` on
+ * <html>, so CSS can fade the home navbar border in only after scrolling.
+ */
+export function ScrollState() {
+ useEffect(() => {
+ const update = () => {
+ document.documentElement.toggleAttribute("data-scrolled", window.scrollY > 4);
+ };
+ update();
+ window.addEventListener("scroll", update, { passive: true });
+ return () => window.removeEventListener("scroll", update);
+ }, []);
+
+ return null;
+}
diff --git a/apps/docs/app/[lang]/(home)/components/visuals/channels.tsx b/apps/docs/app/[lang]/(home)/components/visuals/channels.tsx
deleted file mode 100644
index bbc37e28e..000000000
--- a/apps/docs/app/[lang]/(home)/components/visuals/channels.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-"use client";
-
-import { Bot, Clock, Globe, MessageSquare, Radio, Terminal } from "lucide-react";
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
-
-const targets = [
- { icon: Globe, label: "Web", color: "text-cyan-600" },
- { icon: MessageSquare, label: "Slack", color: "text-purple-600" },
- { icon: Terminal, label: "CLI", color: "text-green-600" },
- { icon: Radio, label: "API", color: "text-blue-600" },
- { icon: Clock, label: "Cron", color: "text-amber-600" },
-];
-
-export function ChannelsVisual() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.5 });
-
- return (
- <div ref={ref} className="flex items-center justify-center gap-6 py-2">
- <motion.div
- initial={{ opacity: 0, scale: 0.8 }}
- animate={isInView ? { opacity: 1, scale: 1 } : {}}
- transition={{ duration: 0.4 }}
- className="flex h-12 w-12 items-center justify-center rounded-md border border-gray-300 bg-gray-200"
- >
- <Bot className="h-6 w-6 text-gray-1000" />
- </motion.div>
-
- <div className="flex flex-col gap-1.5">
- {targets.map((t, i) => (
- <motion.div
- key={t.label}
- initial={{ opacity: 0, x: -12 }}
- animate={isInView ? { opacity: 1, x: 0 } : {}}
- transition={{
- delay: 0.3 + i * 0.1,
- duration: 0.4,
- ease: [0.22, 1, 0.36, 1],
- }}
- className="flex items-center gap-2"
- >
- <div className="h-px w-6 bg-gray-300" />
- <t.icon className={`h-3.5 w-3.5 ${t.color}`} />
- <span className="font-mono text-[10px] text-gray-900">{t.label}</span>
- </motion.div>
- ))}
- </div>
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/components/visuals/durability.tsx b/apps/docs/app/[lang]/(home)/components/visuals/durability.tsx
deleted file mode 100644
index 968b1dfd4..000000000
--- a/apps/docs/app/[lang]/(home)/components/visuals/durability.tsx
+++ /dev/null
@@ -1,42 +0,0 @@
-"use client";
-
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
-
-const steps = [
- { id: "fetch", label: "Step 1: Fetch data", width: "60%", color: "bg-green-600" },
- { id: "process-1", label: "Step 2: Process", width: "45%", color: "bg-green-600" },
- { id: "crash", label: "Crash", width: "15%", color: "bg-red-600" },
- { id: "resume", label: "Resume", width: "10%", color: "bg-amber-600" },
- { id: "process-2", label: "Step 2: Process", width: "45%", color: "bg-green-600" },
- { id: "respond", label: "Step 3: Respond", width: "30%", color: "bg-green-600" },
-];
-
-export function DurabilityVisual() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.5 });
-
- return (
- <div ref={ref} className="space-y-2">
- {steps.map((step, i) => (
- <div key={step.id} className="flex items-center gap-2">
- <span className="w-36 shrink-0 truncate font-mono text-[10px] text-gray-600">
- {step.label}
- </span>
- <div className="h-3 flex-1 overflow-hidden rounded-full bg-gray-200">
- <motion.div
- className={`h-full rounded-full ${step.color}`}
- initial={{ width: 0 }}
- animate={isInView ? { width: step.width } : {}}
- transition={{
- delay: i * 0.15,
- duration: 0.6,
- ease: [0.22, 1, 0.36, 1],
- }}
- />
- </div>
- </div>
- ))}
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/components/visuals/evals.tsx b/apps/docs/app/[lang]/(home)/components/visuals/evals.tsx
deleted file mode 100644
index 5310a46d4..000000000
--- a/apps/docs/app/[lang]/(home)/components/visuals/evals.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-"use client";
-
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
-
-const scores = [
- { label: "run.didNotFail", value: 100, color: "bg-green-600" },
- { label: "text.includes", value: 85, color: "bg-green-600" },
- { label: "run.usedTool", value: 92, color: "bg-green-600" },
- { label: "run.maxToolCalls", value: 100, color: "bg-green-600" },
-];
-
-export function EvalsVisual() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.5 });
-
- return (
- <div ref={ref} className="space-y-2.5">
- {scores.map((score, i) => (
- <div key={score.label} className="flex items-center gap-2">
- <span className="w-28 shrink-0 truncate font-mono text-[10px] text-gray-600">
- {score.label}
- </span>
- <div className="h-2.5 flex-1 overflow-hidden rounded-full bg-gray-200">
- <motion.div
- className={`h-full rounded-full ${score.color}`}
- initial={{ width: 0 }}
- animate={isInView ? { width: `${score.value}%` } : {}}
- transition={{
- delay: i * 0.12,
- duration: 0.6,
- ease: [0.22, 1, 0.36, 1],
- }}
- />
- </div>
- <motion.span
- initial={{ opacity: 0 }}
- animate={isInView ? { opacity: 1 } : {}}
- transition={{ delay: i * 0.12 + 0.4, duration: 0.3 }}
- className="w-8 text-right font-mono text-[10px] text-gray-900"
- >
- {score.value}%
- </motion.span>
- </div>
- ))}
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/components/visuals/hitl.tsx b/apps/docs/app/[lang]/(home)/components/visuals/hitl.tsx
deleted file mode 100644
index eaa5162c0..000000000
--- a/apps/docs/app/[lang]/(home)/components/visuals/hitl.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-"use client";
-
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
-
-const steps = [
- { label: "Tool called", status: "done" as const },
- { label: "Approval required", status: "waiting" as const },
- { label: "User approved", status: "done" as const },
- { label: "Execution resumed", status: "done" as const },
-];
-
-export function HITLVisual() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.5 });
-
- return (
- <div ref={ref} className="space-y-3">
- {steps.map((step, i) => (
- <motion.div
- key={step.label}
- initial={{ opacity: 0, x: -12 }}
- animate={isInView ? { opacity: 1, x: 0 } : {}}
- transition={{
- delay: i * 0.2,
- duration: 0.4,
- ease: [0.22, 1, 0.36, 1],
- }}
- className="flex items-center gap-3"
- >
- <div
- className={`h-2.5 w-2.5 rounded-full ${
- step.status === "waiting"
- ? "bg-amber-600 shadow-[0_0_8px_rgba(234,179,8,0.4)]"
- : "bg-green-600"
- }`}
- />
- <span className="font-mono text-xs text-gray-900">{step.label}</span>
- {step.status === "waiting" && (
- <motion.span
- initial={{ opacity: 0 }}
- animate={isInView ? { opacity: 1 } : {}}
- transition={{ delay: i * 0.2 + 0.3, duration: 0.3 }}
- className="rounded border border-yellow-500/30 bg-amber-600/10 px-2 py-0.5 font-mono text-[10px] text-amber-600"
- >
- parked
- </motion.span>
- )}
- </motion.div>
- ))}
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/components/visuals/sandbox.tsx b/apps/docs/app/[lang]/(home)/components/visuals/sandbox.tsx
deleted file mode 100644
index 441392b77..000000000
--- a/apps/docs/app/[lang]/(home)/components/visuals/sandbox.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-"use client";
-
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
-
-const lines = [
- { id: "cmd", prompt: "$ ", text: "sandbox.run('npm test')", color: "text-blue-600" },
- { id: "pass", prompt: "", text: "PASS src/agent.test.ts", color: "text-green-600" },
- {
- id: "t1",
- prompt: "",
- text: " \u2713 handles weather query (42ms)",
- color: "text-gray-900",
- },
- { id: "t2", prompt: "", text: " \u2713 retries on failure (118ms)", color: "text-gray-900" },
- { id: "total", prompt: "", text: "Tests: 2 passed, 2 total", color: "text-green-600" },
-];
-
-export function SandboxVisual() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.5 });
-
- return (
- <div ref={ref} className="font-mono text-xs">
- {lines.map((line, i) => (
- <motion.div
- key={line.id}
- initial={{ opacity: 0 }}
- animate={isInView ? { opacity: 1 } : {}}
- transition={{ delay: i * 0.2, duration: 0.3 }}
- className="leading-6"
- >
- {line.prompt && <span className="text-gray-600">{line.prompt}</span>}
- <span className={line.color}>{line.text}</span>
- </motion.div>
- ))}
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/components/visuals/subagents.tsx b/apps/docs/app/[lang]/(home)/components/visuals/subagents.tsx
deleted file mode 100644
index a2f7fbfaa..000000000
--- a/apps/docs/app/[lang]/(home)/components/visuals/subagents.tsx
+++ /dev/null
@@ -1,56 +0,0 @@
-"use client";
-
-import { Bot, Code, Database, Search } from "lucide-react";
-import { motion, useInView } from "motion/react";
-import { useRef } from "react";
-
-const agents = [
- { icon: Search, label: "Researcher", color: "text-purple-600" },
- { icon: Code, label: "Coder", color: "text-blue-600" },
- { icon: Database, label: "Analyst", color: "text-green-600" },
-];
-
-export function SubagentsVisual() {
- const ref = useRef<HTMLDivElement>(null);
- const isInView = useInView(ref, { once: true, amount: 0.5 });
-
- return (
- <div ref={ref} className="flex flex-col items-center gap-4 py-2">
- <motion.div
- initial={{ opacity: 0, scale: 0.8 }}
- animate={isInView ? { opacity: 1, scale: 1 } : {}}
- transition={{ duration: 0.4 }}
- className="flex items-center gap-2 rounded-md border border-gray-300 bg-gray-200 px-3 py-2"
- >
- <Bot className="h-4 w-4 text-gray-1000" />
- <span className="font-mono text-xs text-gray-900">Parent Agent</span>
- </motion.div>
-
- <motion.div
- initial={{ opacity: 0 }}
- animate={isInView ? { opacity: 1 } : {}}
- transition={{ delay: 0.3, duration: 0.3 }}
- className="h-4 w-px bg-gray-300"
- />
-
- <div className="flex gap-3">
- {agents.map((agent, i) => (
- <motion.div
- key={agent.label}
- initial={{ opacity: 0, y: 12 }}
- animate={isInView ? { opacity: 1, y: 0 } : {}}
- transition={{
- delay: 0.4 + i * 0.12,
- duration: 0.4,
- ease: [0.22, 1, 0.36, 1],
- }}
- className="flex items-center gap-1.5 rounded-md border bg-gray-100 px-2.5 py-1.5"
- >
- <agent.icon className={`h-3.5 w-3.5 ${agent.color}`} />
- <span className="font-mono text-[10px] text-gray-900">{agent.label}</span>
- </motion.div>
- ))}
- </div>
- </div>
- );
-}
diff --git a/apps/docs/app/[lang]/(home)/layout.tsx b/apps/docs/app/[lang]/(home)/layout.tsx
index 1e1c5298e..2f3af846b 100644
--- a/apps/docs/app/[lang]/(home)/layout.tsx
+++ b/apps/docs/app/[lang]/(home)/layout.tsx
@@ -1,13 +1,16 @@
import { GeistdocsHomeLayout } from "@vercel/geistdocs/home-layout";
import { config } from "@/lib/geistdocs/config";
import { source } from "@/lib/geistdocs/source";
+import { ScrollState } from "./components/scroll-state";
const Layout = async ({ children, params }: LayoutProps<"/[lang]">) => {
const { lang } = await params;
return (
<GeistdocsHomeLayout config={config} tree={source.pageTree[lang]}>
- <div className="pt-0 pb-32">{children}</div>
+ <div data-home-route hidden />
+ <ScrollState />
+ <div className="bg-background-200 pt-0 pb-32">{children}</div>
</GeistdocsHomeLayout>
);
};
diff --git a/apps/docs/app/[lang]/(home)/page.tsx b/apps/docs/app/[lang]/(home)/page.tsx
index 16dc6536e..899a1e1b1 100644
--- a/apps/docs/app/[lang]/(home)/page.tsx
+++ b/apps/docs/app/[lang]/(home)/page.tsx
@@ -1,68 +1,7 @@
-import type { Metadata } from "next";
-import Link from "next/link";
-import { Installer } from "@/components/geistdocs/installer";
-import { staticOgImage } from "@/lib/geistdocs/og";
-import { ArchitectureDiagram } from "./components/architecture";
-import { CTA } from "./components/cta";
-import { FeatureGrid } from "./components/feature-grid";
-import { FileTree } from "./components/file-tree";
+import { HomeContent, homeMetadata } from "./components/home-content";
-const title = "eve";
-const tagline = "Like Next.js for web apps, but for agents.";
-const description =
- "Markdown for instructions and skills, TypeScript for tools. Durable by default.";
-const betaAgreementHref = "https://vercel.com/docs/release-phases/public-beta-agreement";
+export const metadata = homeMetadata;
-export const metadata: Metadata = {
- title,
- description: `${tagline} ${description}`,
- openGraph: {
- title,
- description: `${tagline} ${description}`,
- images: [staticOgImage],
- },
- twitter: {
- card: "summary_large_image",
- title,
- description: `${tagline} ${description}`,
- images: [staticOgImage],
- },
-};
-
-const HomePage = () => (
- <div className="mx-auto w-full max-w-[1080px] pb-32">
- <section className="relative flex flex-col items-center px-4 pb-32 pt-32 text-center sm:px-12">
- <Link
- href={betaAgreementHref}
- className="mb-6 rounded-full border border-blue-300 px-3 py-1 font-medium text-blue-700 text-xs transition-colors hover:bg-blue-50"
- >
- Beta
- </Link>
- <h1 className="max-w-3xl text-5xl font-bold text-gray-1000 sm:text-6xl xl:text-7xl">
- The Framework
- <br />
- for Building Agents
- </h1>
- <p className="mt-6 max-w-2xl text-lg text-gray-900">
- {tagline} {description}
- </p>
- <div className="mt-10 flex w-full max-w-2xl flex-col items-center gap-4 sm:flex-row sm:justify-center">
- <Installer command="npx eve@latest init my-agent" />
- <Link
- href="/docs/getting-started"
- className="shrink-0 rounded-md border px-6 py-3 text-sm font-medium text-gray-900 transition-colors hover:bg-gray-100 hover:text-gray-1000"
- >
- Read the Docs
- </Link>
- </div>
- </section>
- <div className="grid divide-y border-y sm:border-x">
- <FileTree />
- <ArchitectureDiagram />
- <FeatureGrid />
- <CTA />
- </div>
- </div>
-);
+const HomePage = () => <HomeContent />;
export default HomePage;
diff --git a/apps/docs/app/[lang]/layout.tsx b/apps/docs/app/[lang]/layout.tsx
index 820695259..edfa4f829 100644
--- a/apps/docs/app/[lang]/layout.tsx
+++ b/apps/docs/app/[lang]/layout.tsx
@@ -21,7 +21,7 @@ const Layout = async ({ children, params }: LayoutProps<"/[lang]">) => {
return (
<html
- className={cn(sans.variable, mono.variable, "scroll-smooth antialiased")}
+ className={cn(sans.variable, mono.variable, "antialiased")}
lang={lang}
suppressHydrationWarning
>
diff --git a/apps/docs/app/styles/geistdocs.css b/apps/docs/app/styles/geistdocs.css
index f71e83807..567041817 100644
--- a/apps/docs/app/styles/geistdocs.css
+++ b/apps/docs/app/styles/geistdocs.css
@@ -8,6 +8,29 @@ html {
scroll-padding-top: 5rem;
}
+/* Tint the root + body so overscroll and any gaps match the page background
+ instead of showing white. */
+html,
+body {
+ background-color: var(--ds-background-200);
+}
+
+/* Tint the global footer to match the landing background, but only on the
+ home route (`/`), which renders the [data-home-route] marker. */
+body:has([data-home-route]) footer {
+ @apply bg-background-200;
+}
+
+/* On home routes the navbar starts borderless and fades its bottom border in
+ only once the page is scrolled (ScrollState toggles [data-scrolled]). */
+body:has([data-home-route]) header {
+ border-bottom-color: transparent !important;
+ transition: border-color 200ms ease;
+}
+html[data-scrolled] body:has([data-home-route]) header {
+ border-bottom-color: var(--ds-gray-alpha-400) !important;
+}
+
/* Align docs content with navbar on mobile. */
#nd-page {
@apply max-md:px-6;
diff --git a/apps/docs/lib/geistdocs/og.ts b/apps/docs/lib/geistdocs/og.ts
index 05da1347b..20f97ec39 100644
--- a/apps/docs/lib/geistdocs/og.ts
+++ b/apps/docs/lib/geistdocs/og.ts
@@ -1,4 +1,3 @@
// Shared static OG image used across the site for now.
-// TODO: restore the dynamic per-page OG generation in
// app/[lang]/docs/[[...slug]]/page.tsx when ready.
export const staticOgImage = "https://ztwjwi3ssdvgx15d.public.blob.vercel-storage.com/og-image.jpg";
diff --git a/apps/docs/next.config.ts b/apps/docs/next.config.ts
index 476d0d57a..6ef14a0ed 100644
--- a/apps/docs/next.config.ts
+++ b/apps/docs/next.config.ts
@@ -1,7 +1,10 @@
+import { createRequire } from "node:module";
import { createMDX } from "fumadocs-mdx/next";
import type { NextConfig } from "next";
const withMDX = createMDX();
+const require = createRequire(import.meta.url);
+const wgslLoader = require.resolve("@vgpu/wgsl/loader-webpack");
const localSiteHost = "localhost:3000";
@@ -20,6 +23,15 @@ const config: NextConfig = {
turbopackFileSystemCacheForDev: true,
},
+ turbopack: {
+ rules: {
+ "*.wgsl": {
+ loaders: [wgslLoader],
+ as: "*.js",
+ },
+ },
+ },
+
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
diff --git a/apps/docs/package.json b/apps/docs/package.json
index ed55870eb..89e060fe0 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -9,7 +9,8 @@
"dev": "next dev --turbo",
"start": "next start",
"postinstall": "fumadocs-mdx",
- "translate": "npx @vercel/geistdocs translate"
+ "translate": "npx @vercel/geistdocs translate",
+ "render:eve-5": "NODE_OPTIONS=--loader=./scripts/wgsl-node-loader.mjs tsx scripts/render-eve-5.ts"
},
"dependencies": {
"@ai-sdk/react": "3.0.193",
@@ -20,7 +21,7 @@
"@vercel/agent-readability": "0.4.0",
"@vercel/analytics": "2.0.1",
"@vercel/eve-catalog": "workspace:*",
- "@vercel/geistdocs": "1.8.0",
+ "@vercel/geistdocs": "1.8.1",
"@vercel/speed-insights": "2.0.0",
"ai": "6.0.191",
"class-variance-authority": "0.7.1",
@@ -49,7 +50,10 @@
"tailwind-merge": "3.6.0",
"use-stick-to-bottom": "1.1.4",
"vaul": "1.1.2",
- "zod": "catalog:"
+ "zod": "catalog:",
+ "@vgpu/core": "0.0.7",
+ "@vgpu/render": "0.0.7",
+ "@vgpu/wgsl": "0.0.7"
},
"devDependencies": {
"@tailwindcss/postcss": "4.3.0",
@@ -60,6 +64,11 @@
"postcss": "8.5.15",
"tailwindcss": "4.3.0",
"tw-animate-css": "1.4.0",
- "typescript": "6.0.3"
+ "typescript": "6.0.3",
+ "@types/pngjs": "^6.0.5",
+ "@vgpu/adapter-node": "0.0.7",
+ "@webgpu/types": "^0.1.69",
+ "pngjs": "^7.0.0",
+ "tsx": "^4.21.0"
}
}
diff --git a/apps/docs/proxy.ts b/apps/docs/proxy.ts
index a2ce33621..01a89db70 100644
--- a/apps/docs/proxy.ts
+++ b/apps/docs/proxy.ts
@@ -9,9 +9,9 @@ const proxy = createProxy({
});
export const config = {
- // Matcher ignoring `/_next/`, `/api/`, static assets, favicon, sitemap, robots, etc.
+ // Matcher ignoring `/_next/`, `/api/`, public static assets, favicon, sitemap, robots, etc.
matcher: [
- "/((?!api(?:/|$)|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|eve\\.tgz$).*)",
+ "/((?!api(?:/|$)|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|eve\\.tgz$|.*\\.[^/]+$).*)",
],
};
diff --git a/apps/docs/public/eve-5/eve-chamfer.bin b/apps/docs/public/eve-5/eve-chamfer.bin
new file mode 100644
index 000000000..7a30cba94
Binary files /dev/null and b/apps/docs/public/eve-5/eve-chamfer.bin differ
diff --git a/apps/docs/public/eve-5/eve-logo.gltf b/apps/docs/public/eve-5/eve-logo.gltf
new file mode 100644
index 000000000..76fb637c8
--- /dev/null
+++ b/apps/docs/public/eve-5/eve-logo.gltf
@@ -0,0 +1,6619 @@
+{
+ "accessors": [
+ {
+ "bufferView": 0,
+ "byteOffset": 0,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836686666666666,
+ 0.008604490000000003,
+ 0.0016666666666666679
+ ],
+ "min": [
+ 0.01540953333333333,
+ 0.008604490000000001,
+ -0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 48,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387002,
+ 0.008937823333333336,
+ 0.0016666666666666679
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.008604490000000003,
+ -0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 96,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836686666666666,
+ 0.008937823333333334,
+ -0.0016666666666666679
+ ],
+ "min": [
+ 0.01540953333333333,
+ 0.008604490000000001,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 144,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836686666666666,
+ 0.008937823333333334,
+ 0.002
+ ],
+ "min": [
+ 0.01540953333333333,
+ 0.008604490000000001,
+ 0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 192,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01540953333333333,
+ 0.008604490000000001,
+ 0.0016666666666666679
+ ],
+ "min": [
+ 0.014867126621093863,
+ 0.008344875991626253,
+ -0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 240,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387002,
+ 0.008937823333333336,
+ -0.0016666666666666644
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.008604490000000003,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 276,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387002,
+ 0.008937823333333336,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.008604490000000003,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 312,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387002,
+ 0.012166666666666662,
+ 0.0016666666666666644
+ ],
+ "min": [
+ 0.0387002,
+ 0.008937823333333336,
+ -0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 360,
+ "componentType": 5126,
+ "count": 9,
+ "max": [
+ 0.03836686666666665,
+ 0.012166666666666666,
+ -0.001999999999999999
+ ],
+ "min": [
+ -0.005955547799954872,
+ -0.01154846666666667,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 468,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01540953333333333,
+ 0.008937823333333334,
+ -0.0016666666666666674
+ ],
+ "min": [
+ 0.014607512612720116,
+ 0.008344875991626253,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 516,
+ "componentType": 5126,
+ "count": 9,
+ "max": [
+ 0.03836686666666665,
+ 0.012166666666666666,
+ 0.0020000000000000052
+ ],
+ "min": [
+ -0.005955547799954865,
+ -0.011548466666666667,
+ 0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 624,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01540953333333333,
+ 0.008937823333333334,
+ 0.002
+ ],
+ "min": [
+ 0.014607512612720116,
+ 0.008344875991626253,
+ 0.0016666666666666668
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 672,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.014867126621093863,
+ 0.008344875991626253,
+ 0.0016666666666666668
+ ],
+ "min": [
+ -0.0012128266210938733,
+ -0.011622185991626257,
+ -0.0016666666666666696
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 720,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387002,
+ 0.012166666666666664,
+ -0.0016666666666666644
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.008937823333333334,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 768,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387002,
+ 0.012166666666666664,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.008937823333333334,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 816,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387002,
+ 0.012499999999999997,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.012166666666666662,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 864,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836686666666666,
+ 0.012499999999999999,
+ -0.0016666666666666672
+ ],
+ "min": [
+ 0.013291333333333327,
+ 0.012166666666666664,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 912,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.014867126621093863,
+ 0.008553949370532384,
+ -0.0016666666666666674
+ ],
+ "min": [
+ -0.00147244062946762,
+ -0.011622185991626257,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 960,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.013291333333333329,
+ 0.012499999999999999,
+ -0.001666666666666665
+ ],
+ "min": [
+ 0.012749093698256832,
+ 0.012031345227225518,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1008,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0012128266210938725,
+ -0.01141311261272012,
+ -0.001666666666666667
+ ],
+ "min": [
+ -0.0017552333333333376,
+ -0.011881799999999998,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1056,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.013008842169288144,
+ 0.012240251528968684,
+ -0.001666666666666665
+ ],
+ "min": [
+ -0.0064424936982568366,
+ -0.011622051528968686,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1104,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0017552333333333366,
+ -0.011548466666666663,
+ -0.0016666666666666627
+ ],
+ "min": [
+ -0.0059555477999548734,
+ -0.011881800000000001,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1152,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836686666666666,
+ 0.012499999999999999,
+ 0.002
+ ],
+ "min": [
+ 0.013291333333333327,
+ 0.012166666666666664,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1200,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.014867126621093863,
+ 0.008553949370532382,
+ 0.002
+ ],
+ "min": [
+ -0.001472440629467627,
+ -0.011622185991626255,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1248,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.013291333333333329,
+ 0.012499999999999999,
+ 0.002
+ ],
+ "min": [
+ 0.01274909369825683,
+ 0.012031345227225518,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1296,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0012128266210938733,
+ -0.011413112612720124,
+ 0.002
+ ],
+ "min": [
+ -0.0017552333333333376,
+ -0.011881799999999998,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1344,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.013008842169288144,
+ 0.012240251528968685,
+ 0.0020000000000000052
+ ],
+ "min": [
+ -0.0062152962709861835,
+ -0.011548466666666667,
+ 0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1392,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0017552333333333366,
+ -0.011548466666666663,
+ 0.0020000000000000052
+ ],
+ "min": [
+ -0.006318066666666668,
+ -0.0118818,
+ 0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1440,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0012128266210938725,
+ -0.011622185991626255,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.0017552333333333376,
+ -0.011881799999999998,
+ -0.0016666666666666696
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1488,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387002,
+ 0.012499999999999997,
+ -0.0016666666666666644
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.012166666666666662,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1524,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387002,
+ 0.012499999999999997,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.03836686666666666,
+ 0.012166666666666662,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1560,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836686666666666,
+ 0.012499999999999999,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.013291333333333329,
+ 0.012499999999999997,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1608,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.013291333333333329,
+ 0.012499999999999999,
+ 0.0016666666666666679
+ ],
+ "min": [
+ 0.01274909369825683,
+ 0.012240251528968684,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1656,
+ "componentType": 5126,
+ "count": 5,
+ "max": [
+ 0.012749093698256832,
+ 0.012240251528968685,
+ 0.0016666666666666715
+ ],
+ "min": [
+ -0.0064424936982568366,
+ -0.01162205152896869,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 1716,
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ -0.0059555477999548734,
+ -0.01154846666666667,
+ -0.0016666666666666627
+ ],
+ "min": [
+ -0.0064424936982568366,
+ -0.011881800000000001,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 2292,
+ "componentType": 5126,
+ "count": 5,
+ "max": [
+ -0.0017552333333333376,
+ -0.011881799999999994,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.006318066666666671,
+ -0.011881800000000001,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 2352,
+ "componentType": 5126,
+ "count": 47,
+ "max": [
+ -0.0059555477999548665,
+ -0.011339560364923507,
+ 0.0020000000000000052
+ ],
+ "min": [
+ -0.0064424936982568366,
+ -0.0118818,
+ 0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 2916,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.006318066666666668,
+ -0.011622051528968686,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.0064424936982568366,
+ -0.0118818,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 2964,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.011872099999999997,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.011872099999999998,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3012,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0179102,
+ -0.011538766666666663,
+ 0.001666666666666667
+ ],
+ "min": [
+ -0.018243533333333332,
+ -0.011872099999999997,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3060,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.011538766666666663,
+ -0.001666666666666667
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.011872099999999998,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3108,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.011538766666666663,
+ 0.002
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.011872099999999998,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3156,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ -0.011538766666666665,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.039,
+ -0.011872099999999998,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3204,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0179102,
+ -0.011538766666666663,
+ -0.0016666666666666661
+ ],
+ "min": [
+ -0.018243533333333332,
+ -0.011872099999999997,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3240,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0179102,
+ -0.011538766666666663,
+ 0.002
+ ],
+ "min": [
+ -0.018243533333333332,
+ -0.011872099999999997,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3276,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0179102,
+ -0.008309933333333337,
+ 0.0016666666666666661
+ ],
+ "min": [
+ -0.0179102,
+ -0.011538766666666663,
+ -0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3324,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.008309933333333333,
+ -0.0019999999999999987
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.011538766666666663,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3372,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ -0.011538766666666663,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.011872099999999998,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3408,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.008309933333333333,
+ 0.002
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.011538766666666663,
+ 0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3456,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ -0.011538766666666663,
+ 0.001999999999999999
+ ],
+ "min": [
+ -0.039,
+ -0.011872099999999998,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3492,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.039,
+ -0.008309933333333339,
+ 0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.011538766666666665,
+ -0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3540,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0179102,
+ -0.008309933333333335,
+ -0.0016666666666666661
+ ],
+ "min": [
+ -0.018243533333333332,
+ -0.011538766666666663,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3588,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0179102,
+ -0.008309933333333335,
+ 0.002
+ ],
+ "min": [
+ -0.018243533333333332,
+ -0.011538766666666663,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3636,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0179102,
+ -0.007976600000000002,
+ 0.0016666666666666666
+ ],
+ "min": [
+ -0.018243533333333336,
+ -0.008309933333333337,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3684,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ -0.008309933333333335,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.011538766666666665,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3732,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.007976600000000002,
+ -0.0016666666666666666
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.008309933333333335,
+ -0.0019999999999999996
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3780,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ -0.008309933333333335,
+ 0.001999999999999999
+ ],
+ "min": [
+ -0.039,
+ -0.011538766666666665,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3828,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333332,
+ -0.007976600000000002,
+ 0.0019999999999999996
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.008309933333333335,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3876,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ -0.007976600000000004,
+ 0.0016666666666666666
+ ],
+ "min": [
+ -0.039,
+ -0.008309933333333339,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3924,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0179102,
+ -0.007976600000000002,
+ -0.0016666666666666661
+ ],
+ "min": [
+ -0.018243533333333336,
+ -0.008309933333333337,
+ -0.0019999999999999996
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3960,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0179102,
+ -0.007976600000000002,
+ 0.0019999999999999996
+ ],
+ "min": [
+ -0.018243533333333336,
+ -0.008309933333333337,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 3996,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.018243533333333336,
+ -0.007976600000000002,
+ 0.0016666666666666666
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.007976600000000004,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4044,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ -0.007976600000000004,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.008309933333333339,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4080,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ -0.007976600000000004,
+ 0.0019999999999999987
+ ],
+ "min": [
+ -0.039,
+ -0.008309933333333339,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4116,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ -0.008309933333333339,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.0387012,
+ -0.011538766666666662,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4164,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ -0.007976600000000004,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.008309933333333339,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4212,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ -0.008309933333333335,
+ -0.001666666666666667
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.011538766666666663,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4260,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ -0.008309933333333335,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.011538766666666663,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4308,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ -0.011538766666666662,
+ 0.0016666666666666672
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.011872099999999997,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4356,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387012,
+ -0.007976600000000004,
+ -0.0016666666666666666
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.008309933333333339,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4392,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387012,
+ -0.007976600000000004,
+ 0.0019999999999999987
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.008309933333333339,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4428,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.007976600000000002,
+ 0.0016666666666666666
+ ],
+ "min": [
+ 0.01794373333333333,
+ -0.007976600000000004,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4476,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666666,
+ -0.008309933333333333,
+ -0.0019999999999999987
+ ],
+ "min": [
+ 0.017943733333333326,
+ -0.011538766666666663,
+ -0.002000000000000001
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4524,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387012,
+ -0.011538766666666662,
+ -0.001666666666666667
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.011872099999999997,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4560,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666666,
+ -0.008309933333333333,
+ 0.002000000000000001
+ ],
+ "min": [
+ 0.017943733333333326,
+ -0.011538766666666663,
+ 0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4608,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387012,
+ -0.011538766666666662,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.011872099999999997,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4644,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.011872099999999997,
+ 0.0016666666666666672
+ ],
+ "min": [
+ 0.01794373333333333,
+ -0.0118721,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4692,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.007976600000000002,
+ -0.0016666666666666666
+ ],
+ "min": [
+ 0.01794373333333333,
+ -0.008309933333333335,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4740,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.007976600000000002,
+ 0.0020000000000000005
+ ],
+ "min": [
+ 0.01794373333333333,
+ -0.008309933333333335,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4788,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01794373333333333,
+ -0.007976600000000002,
+ 0.0016666666666666674
+ ],
+ "min": [
+ 0.0176104,
+ -0.008309933333333335,
+ -0.0016666666666666674
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4836,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.011538766666666663,
+ -0.001666666666666667
+ ],
+ "min": [
+ 0.01794373333333333,
+ -0.0118721,
+ -0.002000000000000001
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4884,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01794373333333333,
+ -0.008309933333333335,
+ -0.0016666666666666674
+ ],
+ "min": [
+ 0.0176104,
+ -0.011538766666666667,
+ -0.002000000000000001
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4932,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.011538766666666663,
+ 0.002000000000000001
+ ],
+ "min": [
+ 0.01794373333333333,
+ -0.0118721,
+ 0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 4980,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01794373333333333,
+ -0.008309933333333335,
+ 0.002000000000000001
+ ],
+ "min": [
+ 0.0176104,
+ -0.011538766666666667,
+ 0.0016666666666666674
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5028,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.01794373333333333,
+ -0.011538766666666667,
+ 0.0016666666666666674
+ ],
+ "min": [
+ 0.0176104,
+ -0.0118721,
+ -0.0016666666666666674
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5076,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.01794373333333333,
+ -0.007976600000000002,
+ -0.0016666666666666666
+ ],
+ "min": [
+ 0.0176104,
+ -0.008309933333333335,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5112,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.01794373333333333,
+ -0.007976600000000002,
+ 0.0020000000000000005
+ ],
+ "min": [
+ 0.0176104,
+ -0.008309933333333335,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5148,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0176104,
+ -0.008309933333333335,
+ 0.0016666666666666674
+ ],
+ "min": [
+ 0.0176104,
+ -0.011538766666666667,
+ -0.0016666666666666674
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5196,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.01794373333333333,
+ -0.011538766666666663,
+ -0.001666666666666667
+ ],
+ "min": [
+ 0.0176104,
+ -0.0118721,
+ -0.002000000000000001
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5232,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.01794373333333333,
+ -0.011538766666666663,
+ 0.002000000000000001
+ ],
+ "min": [
+ 0.0176104,
+ -0.0118721,
+ 0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5268,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ -0.0015536999999999981,
+ 0.001666666666666667
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.0015536999999999997,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5316,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0212256,
+ -0.0012203666666666666,
+ 0.0016666666666666687
+ ],
+ "min": [
+ -0.021558933333333332,
+ -0.0015536999999999997,
+ -0.0016666666666666685
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5364,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ -0.0012203666666666662,
+ -0.0016666666666666668
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.0015536999999999997,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5412,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ -0.0012203666666666662,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.0015536999999999997,
+ 0.0016666666666666668
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5460,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ -0.0012203666666666636,
+ 0.0016666666666666668
+ ],
+ "min": [
+ -0.039,
+ -0.0015536999999999981,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5508,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0212256,
+ -0.0012203666666666662,
+ -0.0016666666666666668
+ ],
+ "min": [
+ -0.021558933333333332,
+ -0.0015536999999999997,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5544,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0212256,
+ -0.0012203666666666662,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.021558933333333332,
+ -0.0015536999999999997,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5580,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0212256,
+ 0.002008466666666667,
+ 0.0016666666666666687
+ ],
+ "min": [
+ -0.0212256,
+ -0.0012203666666666666,
+ -0.0016666666666666685
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5628,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ 0.002008466666666667,
+ -0.0019999999999999987
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.001220366666666667,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5676,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ -0.0012203666666666636,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.0015536999999999981,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5712,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ 0.0020084666666666654,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.03866666666666666,
+ -0.001220366666666667,
+ 0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5760,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ -0.0012203666666666636,
+ 0.0019999999999999987
+ ],
+ "min": [
+ -0.039,
+ -0.0015536999999999981,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5796,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.039,
+ 0.0020084666666666633,
+ 0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.0012203666666666636,
+ -0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5844,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0212256,
+ 0.002008466666666667,
+ -0.0016666666666666685
+ ],
+ "min": [
+ -0.021558933333333332,
+ -0.0012203666666666666,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5892,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0212256,
+ 0.002008466666666667,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.021558933333333332,
+ -0.0012203666666666666,
+ 0.0016666666666666687
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5940,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0212256,
+ 0.0023417999999999994,
+ 0.0016666666666666687
+ ],
+ "min": [
+ -0.021558933333333332,
+ 0.002008466666666667,
+ -0.0016666666666666685
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 5988,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.002008466666666666,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ -0.0012203666666666662,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6036,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ 0.0023417999999999994,
+ -0.0016666666666666666
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.002008466666666666,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6084,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.002008466666666666,
+ 0.0019999999999999987
+ ],
+ "min": [
+ -0.039,
+ -0.0012203666666666662,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6132,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ 0.0023417999999999994,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.002008466666666666,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6180,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.002341799999999998,
+ 0.0016666666666666666
+ ],
+ "min": [
+ -0.039,
+ 0.0020084666666666633,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6228,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0212256,
+ 0.0023417999999999994,
+ -0.0016666666666666666
+ ],
+ "min": [
+ -0.021558933333333332,
+ 0.0020084666666666663,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6264,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.0212256,
+ 0.0023417999999999994,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.021558933333333332,
+ 0.002008466666666666,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6300,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.021558933333333332,
+ 0.0023417999999999994,
+ 0.0016666666666666666
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.002341799999999998,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6348,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ 0.002341799999999998,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ 0.0020084666666666633,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6384,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ 0.002341799999999998,
+ 0.0019999999999999987
+ ],
+ "min": [
+ -0.039,
+ 0.0020084666666666633,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6420,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.0015536999999999981,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.02126013333333333,
+ -0.0015536999999999992,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6468,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ -0.0012203666666666636,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.0015536999999999981,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6516,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.0012203666666666662,
+ -0.0016666666666666668
+ ],
+ "min": [
+ 0.02126013333333333,
+ -0.0015536999999999992,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6564,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ -0.0012203666666666662,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.02126013333333333,
+ -0.0015536999999999992,
+ 0.0016666666666666668
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6612,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.02126013333333333,
+ -0.0012203666666666666,
+ 0.0016666666666666668
+ ],
+ "min": [
+ 0.0209268,
+ -0.0015536999999999992,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6660,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387012,
+ -0.0012203666666666636,
+ -0.0016666666666666668
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.0015536999999999981,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6696,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.0387012,
+ -0.0012203666666666636,
+ 0.0019999999999999987
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.0015536999999999981,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6732,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ 0.002008466666666666,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.03870119999999999,
+ -0.0012203666666666636,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6780,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666666,
+ 0.0020084666666666654,
+ -0.0019999999999999987
+ ],
+ "min": [
+ 0.02126013333333333,
+ -0.001220366666666667,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6828,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.02126013333333333,
+ -0.0012203666666666662,
+ -0.0016666666666666661
+ ],
+ "min": [
+ 0.0209268,
+ -0.0015536999999999992,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6864,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666666,
+ 0.0020084666666666654,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.02126013333333333,
+ -0.001220366666666667,
+ 0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6912,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.02126013333333333,
+ -0.0012203666666666662,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.0209268,
+ -0.0015536999999999992,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6948,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0209268,
+ 0.002008466666666667,
+ 0.0016666666666666661
+ ],
+ "min": [
+ 0.0209268,
+ -0.0012203666666666666,
+ -0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 6996,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ 0.002008466666666666,
+ -0.001666666666666667
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.0012203666666666662,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7044,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.0387012,
+ 0.002008466666666666,
+ 0.0019999999999999987
+ ],
+ "min": [
+ 0.03836786666666667,
+ -0.0012203666666666662,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7092,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03870119999999999,
+ 0.0023417999999999994,
+ 0.001666666666666667
+ ],
+ "min": [
+ 0.03836786666666667,
+ 0.002008466666666666,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7140,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.02126013333333333,
+ 0.002008466666666667,
+ -0.0016666666666666661
+ ],
+ "min": [
+ 0.0209268,
+ -0.0012203666666666666,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7188,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ 0.0023417999999999994,
+ -0.0016666666666666666
+ ],
+ "min": [
+ 0.02126013333333333,
+ 0.002008466666666666,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7236,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.02126013333333333,
+ 0.002008466666666667,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.0209268,
+ -0.0012203666666666666,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7284,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ 0.0023417999999999994,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.02126013333333333,
+ 0.002008466666666666,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7332,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.021260133333333334,
+ 0.0023417999999999994,
+ 0.0016666666666666666
+ ],
+ "min": [
+ 0.0209268,
+ 0.002008466666666667,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7380,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.03870119999999999,
+ 0.0023417999999999994,
+ -0.0016666666666666666
+ ],
+ "min": [
+ 0.03836786666666667,
+ 0.002008466666666666,
+ -0.0019999999999999987
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7416,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.03870119999999999,
+ 0.0023417999999999994,
+ 0.0019999999999999987
+ ],
+ "min": [
+ 0.03836786666666667,
+ 0.002008466666666666,
+ 0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7452,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ 0.03836786666666667,
+ 0.0023417999999999994,
+ 0.0016666666666666666
+ ],
+ "min": [
+ 0.021260133333333334,
+ 0.0023417999999999994,
+ -0.0016666666666666666
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7500,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.021260133333333334,
+ 0.0023417999999999994,
+ -0.0016666666666666661
+ ],
+ "min": [
+ 0.0209268,
+ 0.002008466666666666,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7536,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ 0.021260133333333334,
+ 0.0023417999999999994,
+ 0.001999999999999999
+ ],
+ "min": [
+ 0.0209268,
+ 0.002008466666666666,
+ 0.0016666666666666661
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7572,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0046136333333333295,
+ 0.008604490000000003,
+ 0.0016666666666666679
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.008604490000000001,
+ -0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7620,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004280299999999997,
+ 0.008937823333333334,
+ 0.0016666666666666679
+ ],
+ "min": [
+ -0.0046136333333333295,
+ 0.008604490000000001,
+ -0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7668,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0046136333333333295,
+ 0.008937823333333334,
+ -0.0016666666666666679
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.008604490000000001,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7716,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.0046136333333333295,
+ 0.008937823333333334,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.008604490000000001,
+ 0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7764,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.008937823333333336,
+ 0.0016666666666666679
+ ],
+ "min": [
+ -0.039,
+ 0.008604490000000003,
+ -0.0016666666666666679
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7812,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.004280299999999997,
+ 0.008937823333333334,
+ -0.001666666666666667
+ ],
+ "min": [
+ -0.0046136333333333295,
+ 0.008604490000000001,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7848,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.004280299999999997,
+ 0.008937823333333334,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.0046136333333333295,
+ 0.008604490000000001,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7884,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004280299999999997,
+ 0.012166666666666664,
+ 0.001666666666666667
+ ],
+ "min": [
+ -0.004280299999999997,
+ 0.008937823333333334,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7932,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004613633333333325,
+ 0.012166666666666664,
+ -0.001999999999999999
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.008937823333333334,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 7980,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ 0.008937823333333336,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ 0.008604490000000003,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8016,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004613633333333325,
+ 0.012166666666666664,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.008937823333333334,
+ 0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8064,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ 0.008937823333333336,
+ 0.001999999999999999
+ ],
+ "min": [
+ -0.039,
+ 0.008604490000000003,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8100,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.039,
+ 0.012166666666666662,
+ 0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ 0.008937823333333336,
+ -0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8148,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004280299999999997,
+ 0.012166666666666664,
+ -0.001666666666666667
+ ],
+ "min": [
+ -0.0046136333333333295,
+ 0.008937823333333334,
+ -0.0020000000000000005
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8196,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004280299999999997,
+ 0.012166666666666664,
+ 0.0020000000000000005
+ ],
+ "min": [
+ -0.0046136333333333295,
+ 0.008937823333333334,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8244,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004280299999999997,
+ 0.0125,
+ 0.001666666666666667
+ ],
+ "min": [
+ -0.004613633333333331,
+ 0.012166666666666664,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8292,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.012166666666666664,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ 0.008937823333333334,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8340,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004613633333333328,
+ 0.0125,
+ -0.001666666666666667
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.012166666666666664,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8388,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.012166666666666664,
+ 0.001999999999999999
+ ],
+ "min": [
+ -0.039,
+ 0.008937823333333334,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8436,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004613633333333328,
+ 0.0125,
+ 0.002
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.012166666666666664,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8484,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.03866666666666666,
+ 0.012499999999999997,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.039,
+ 0.012166666666666662,
+ -0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8532,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.004280299999999997,
+ 0.0125,
+ -0.001666666666666667
+ ],
+ "min": [
+ -0.004613633333333331,
+ 0.012166666666666664,
+ -0.002
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8568,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.004280299999999997,
+ 0.0125,
+ 0.002
+ ],
+ "min": [
+ -0.004613633333333331,
+ 0.012166666666666664,
+ 0.001666666666666667
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8604,
+ "componentType": 5126,
+ "count": 4,
+ "max": [
+ -0.004613633333333331,
+ 0.0125,
+ 0.0016666666666666672
+ ],
+ "min": [
+ -0.03866666666666666,
+ 0.012499999999999997,
+ -0.0016666666666666672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8652,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ 0.012499999999999997,
+ -0.0016666666666666644
+ ],
+ "min": [
+ -0.039,
+ 0.012166666666666662,
+ -0.001999999999999999
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 8688,
+ "componentType": 5126,
+ "count": 3,
+ "max": [
+ -0.03866666666666666,
+ 0.012499999999999997,
+ 0.001999999999999999
+ ],
+ "min": [
+ -0.039,
+ 0.012166666666666662,
+ 0.0016666666666666644
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 0,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 48,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 96,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 144,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 192,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 240,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 276,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 312,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 360,
+ "componentType": 5126,
+ "count": 9,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 468,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 516,
+ "componentType": 5126,
+ "count": 9,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 624,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 672,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 720,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 768,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 816,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 864,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 912,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 960,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1008,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1056,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1104,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1152,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1200,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1248,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1296,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1344,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1392,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1440,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1488,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1524,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1560,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1608,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1656,
+ "componentType": 5126,
+ "count": 5,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1716,
+ "componentType": 5126,
+ "count": 48,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 2292,
+ "componentType": 5126,
+ "count": 5,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 2352,
+ "componentType": 5126,
+ "count": 47,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 2916,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 2964,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3012,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3060,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3108,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3156,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3204,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3240,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3276,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3324,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3372,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3408,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3456,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3492,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3540,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3588,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3636,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3684,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3732,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3780,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3828,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3876,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3924,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3960,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3996,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4044,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4080,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4116,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4164,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4212,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4260,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4308,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4356,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4392,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4428,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4476,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4524,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4560,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4608,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4644,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4692,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4740,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4788,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4836,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4884,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4932,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 4980,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5028,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5076,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5112,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5148,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5196,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5232,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5268,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5316,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5364,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5412,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5460,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5508,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5544,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5580,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5628,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5676,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5712,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5760,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5796,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5844,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5892,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5940,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 5988,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6036,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6084,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6132,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6180,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6228,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6264,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6300,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6348,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6384,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6420,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6468,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6516,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6564,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6612,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6660,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6696,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6732,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6780,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6828,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6864,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6912,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6948,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 6996,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7044,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7092,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7140,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7188,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7236,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7284,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7332,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7380,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7416,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7452,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7500,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7536,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7572,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7620,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7668,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7716,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7764,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7812,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7848,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7884,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7932,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7980,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8016,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8064,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8100,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8148,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8196,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8244,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8292,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8340,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8388,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8436,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8484,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8532,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8568,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8604,
+ "componentType": 5126,
+ "count": 4,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8652,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 8688,
+ "componentType": 5126,
+ "count": 3,
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 0,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 12,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 24,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 36,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 48,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 60,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 68,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 76,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 88,
+ "componentType": 5123,
+ "count": 21,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 132,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 144,
+ "componentType": 5123,
+ "count": 21,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 188,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 200,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 212,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 224,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 236,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 248,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 260,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 272,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 284,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 296,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 308,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 320,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 332,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 344,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 356,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 368,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 380,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 392,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 404,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 412,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 420,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 432,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 444,
+ "componentType": 5123,
+ "count": 9,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 464,
+ "componentType": 5123,
+ "count": 270,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1004,
+ "componentType": 5123,
+ "count": 9,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1024,
+ "componentType": 5123,
+ "count": 264,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1552,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1564,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1576,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1588,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1600,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1612,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1624,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1632,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1640,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1652,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1664,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1672,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1684,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1692,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1704,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1716,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1728,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1740,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1752,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1764,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1776,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1788,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1800,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1808,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1816,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1828,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1836,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1844,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1856,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1868,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1880,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1892,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1904,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1912,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1920,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1932,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1944,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1952,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1964,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1972,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1984,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 1996,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2008,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2020,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2032,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2044,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2056,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2068,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2080,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2088,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2096,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2108,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2116,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2124,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2136,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2148,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2160,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2172,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2184,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2192,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2200,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2212,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2224,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2232,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2244,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2252,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2264,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2276,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2288,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2300,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2312,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2324,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2336,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2348,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2360,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2368,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2376,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2388,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2396,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2404,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2416,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2428,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2440,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2452,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2464,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2472,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2480,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2492,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2504,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2512,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2524,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2532,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2544,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2556,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2568,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2580,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2592,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2604,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2616,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2628,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2640,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2648,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2656,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2668,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2676,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2684,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2696,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2708,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2720,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2732,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2744,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2752,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2760,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2772,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2784,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2792,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2804,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2812,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2824,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2836,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2848,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2860,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2872,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2884,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2896,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2908,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2920,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2928,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2936,
+ "componentType": 5123,
+ "count": 6,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2948,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 2956,
+ "componentType": 5123,
+ "count": 3,
+ "type": "SCALAR"
+ }
+ ],
+ "asset": {
+ "generator": "build123d CAD chamfer export for eve-4",
+ "version": "2.0"
+ },
+ "bufferViews": [
+ {
+ "buffer": 0,
+ "byteLength": 8724,
+ "byteOffset": 0,
+ "byteStride": 12,
+ "target": 34962
+ },
+ {
+ "buffer": 0,
+ "byteLength": 8724,
+ "byteOffset": 8724,
+ "byteStride": 12,
+ "target": 34962
+ },
+ {
+ "buffer": 0,
+ "byteLength": 2964,
+ "byteOffset": 17448,
+ "target": 34963
+ }
+ ],
+ "buffers": [
+ {
+ "byteLength": 20412,
+ "uri": "eve-chamfer.bin"
+ }
+ ],
+ "meshes": [
+ {
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 168,
+ "POSITION": 0
+ },
+ "indices": 336,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 169,
+ "POSITION": 1
+ },
+ "indices": 337,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 170,
+ "POSITION": 2
+ },
+ "indices": 338,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 171,
+ "POSITION": 3
+ },
+ "indices": 339,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 172,
+ "POSITION": 4
+ },
+ "indices": 340,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 173,
+ "POSITION": 5
+ },
+ "indices": 341,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 174,
+ "POSITION": 6
+ },
+ "indices": 342,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 175,
+ "POSITION": 7
+ },
+ "indices": 343,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 176,
+ "POSITION": 8
+ },
+ "indices": 344,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 177,
+ "POSITION": 9
+ },
+ "indices": 345,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 178,
+ "POSITION": 10
+ },
+ "indices": 346,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 179,
+ "POSITION": 11
+ },
+ "indices": 347,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 180,
+ "POSITION": 12
+ },
+ "indices": 348,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 181,
+ "POSITION": 13
+ },
+ "indices": 349,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 182,
+ "POSITION": 14
+ },
+ "indices": 350,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 183,
+ "POSITION": 15
+ },
+ "indices": 351,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 184,
+ "POSITION": 16
+ },
+ "indices": 352,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 185,
+ "POSITION": 17
+ },
+ "indices": 353,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 186,
+ "POSITION": 18
+ },
+ "indices": 354,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 187,
+ "POSITION": 19
+ },
+ "indices": 355,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 188,
+ "POSITION": 20
+ },
+ "indices": 356,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 189,
+ "POSITION": 21
+ },
+ "indices": 357,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 190,
+ "POSITION": 22
+ },
+ "indices": 358,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 191,
+ "POSITION": 23
+ },
+ "indices": 359,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 192,
+ "POSITION": 24
+ },
+ "indices": 360,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 193,
+ "POSITION": 25
+ },
+ "indices": 361,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 194,
+ "POSITION": 26
+ },
+ "indices": 362,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 195,
+ "POSITION": 27
+ },
+ "indices": 363,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 196,
+ "POSITION": 28
+ },
+ "indices": 364,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 197,
+ "POSITION": 29
+ },
+ "indices": 365,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 198,
+ "POSITION": 30
+ },
+ "indices": 366,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 199,
+ "POSITION": 31
+ },
+ "indices": 367,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 200,
+ "POSITION": 32
+ },
+ "indices": 368,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 201,
+ "POSITION": 33
+ },
+ "indices": 369,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 202,
+ "POSITION": 34
+ },
+ "indices": 370,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 203,
+ "POSITION": 35
+ },
+ "indices": 371,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 204,
+ "POSITION": 36
+ },
+ "indices": 372,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 205,
+ "POSITION": 37
+ },
+ "indices": 373,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 206,
+ "POSITION": 38
+ },
+ "indices": 374,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 207,
+ "POSITION": 39
+ },
+ "indices": 375,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 208,
+ "POSITION": 40
+ },
+ "indices": 376,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 209,
+ "POSITION": 41
+ },
+ "indices": 377,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 210,
+ "POSITION": 42
+ },
+ "indices": 378,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 211,
+ "POSITION": 43
+ },
+ "indices": 379,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 212,
+ "POSITION": 44
+ },
+ "indices": 380,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 213,
+ "POSITION": 45
+ },
+ "indices": 381,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 214,
+ "POSITION": 46
+ },
+ "indices": 382,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 215,
+ "POSITION": 47
+ },
+ "indices": 383,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 216,
+ "POSITION": 48
+ },
+ "indices": 384,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 217,
+ "POSITION": 49
+ },
+ "indices": 385,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 218,
+ "POSITION": 50
+ },
+ "indices": 386,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 219,
+ "POSITION": 51
+ },
+ "indices": 387,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 220,
+ "POSITION": 52
+ },
+ "indices": 388,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 221,
+ "POSITION": 53
+ },
+ "indices": 389,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 222,
+ "POSITION": 54
+ },
+ "indices": 390,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 223,
+ "POSITION": 55
+ },
+ "indices": 391,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 224,
+ "POSITION": 56
+ },
+ "indices": 392,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 225,
+ "POSITION": 57
+ },
+ "indices": 393,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 226,
+ "POSITION": 58
+ },
+ "indices": 394,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 227,
+ "POSITION": 59
+ },
+ "indices": 395,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 228,
+ "POSITION": 60
+ },
+ "indices": 396,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 229,
+ "POSITION": 61
+ },
+ "indices": 397,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 230,
+ "POSITION": 62
+ },
+ "indices": 398,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 231,
+ "POSITION": 63
+ },
+ "indices": 399,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 232,
+ "POSITION": 64
+ },
+ "indices": 400,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 233,
+ "POSITION": 65
+ },
+ "indices": 401,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 234,
+ "POSITION": 66
+ },
+ "indices": 402,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 235,
+ "POSITION": 67
+ },
+ "indices": 403,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 236,
+ "POSITION": 68
+ },
+ "indices": 404,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 237,
+ "POSITION": 69
+ },
+ "indices": 405,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 238,
+ "POSITION": 70
+ },
+ "indices": 406,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 239,
+ "POSITION": 71
+ },
+ "indices": 407,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 240,
+ "POSITION": 72
+ },
+ "indices": 408,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 241,
+ "POSITION": 73
+ },
+ "indices": 409,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 242,
+ "POSITION": 74
+ },
+ "indices": 410,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 243,
+ "POSITION": 75
+ },
+ "indices": 411,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 244,
+ "POSITION": 76
+ },
+ "indices": 412,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 245,
+ "POSITION": 77
+ },
+ "indices": 413,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 246,
+ "POSITION": 78
+ },
+ "indices": 414,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 247,
+ "POSITION": 79
+ },
+ "indices": 415,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 248,
+ "POSITION": 80
+ },
+ "indices": 416,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 249,
+ "POSITION": 81
+ },
+ "indices": 417,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 250,
+ "POSITION": 82
+ },
+ "indices": 418,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 251,
+ "POSITION": 83
+ },
+ "indices": 419,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 252,
+ "POSITION": 84
+ },
+ "indices": 420,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 253,
+ "POSITION": 85
+ },
+ "indices": 421,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 254,
+ "POSITION": 86
+ },
+ "indices": 422,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 255,
+ "POSITION": 87
+ },
+ "indices": 423,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 256,
+ "POSITION": 88
+ },
+ "indices": 424,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 257,
+ "POSITION": 89
+ },
+ "indices": 425,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 258,
+ "POSITION": 90
+ },
+ "indices": 426,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 259,
+ "POSITION": 91
+ },
+ "indices": 427,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 260,
+ "POSITION": 92
+ },
+ "indices": 428,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 261,
+ "POSITION": 93
+ },
+ "indices": 429,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 262,
+ "POSITION": 94
+ },
+ "indices": 430,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 263,
+ "POSITION": 95
+ },
+ "indices": 431,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 264,
+ "POSITION": 96
+ },
+ "indices": 432,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 265,
+ "POSITION": 97
+ },
+ "indices": 433,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 266,
+ "POSITION": 98
+ },
+ "indices": 434,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 267,
+ "POSITION": 99
+ },
+ "indices": 435,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 268,
+ "POSITION": 100
+ },
+ "indices": 436,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 269,
+ "POSITION": 101
+ },
+ "indices": 437,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 270,
+ "POSITION": 102
+ },
+ "indices": 438,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 271,
+ "POSITION": 103
+ },
+ "indices": 439,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 272,
+ "POSITION": 104
+ },
+ "indices": 440,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 273,
+ "POSITION": 105
+ },
+ "indices": 441,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 274,
+ "POSITION": 106
+ },
+ "indices": 442,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 275,
+ "POSITION": 107
+ },
+ "indices": 443,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 276,
+ "POSITION": 108
+ },
+ "indices": 444,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 277,
+ "POSITION": 109
+ },
+ "indices": 445,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 278,
+ "POSITION": 110
+ },
+ "indices": 446,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 279,
+ "POSITION": 111
+ },
+ "indices": 447,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 280,
+ "POSITION": 112
+ },
+ "indices": 448,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 281,
+ "POSITION": 113
+ },
+ "indices": 449,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 282,
+ "POSITION": 114
+ },
+ "indices": 450,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 283,
+ "POSITION": 115
+ },
+ "indices": 451,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 284,
+ "POSITION": 116
+ },
+ "indices": 452,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 285,
+ "POSITION": 117
+ },
+ "indices": 453,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 286,
+ "POSITION": 118
+ },
+ "indices": 454,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 287,
+ "POSITION": 119
+ },
+ "indices": 455,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 288,
+ "POSITION": 120
+ },
+ "indices": 456,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 289,
+ "POSITION": 121
+ },
+ "indices": 457,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 290,
+ "POSITION": 122
+ },
+ "indices": 458,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 291,
+ "POSITION": 123
+ },
+ "indices": 459,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 292,
+ "POSITION": 124
+ },
+ "indices": 460,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 293,
+ "POSITION": 125
+ },
+ "indices": 461,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 294,
+ "POSITION": 126
+ },
+ "indices": 462,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 295,
+ "POSITION": 127
+ },
+ "indices": 463,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 296,
+ "POSITION": 128
+ },
+ "indices": 464,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 297,
+ "POSITION": 129
+ },
+ "indices": 465,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 298,
+ "POSITION": 130
+ },
+ "indices": 466,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 299,
+ "POSITION": 131
+ },
+ "indices": 467,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 300,
+ "POSITION": 132
+ },
+ "indices": 468,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 301,
+ "POSITION": 133
+ },
+ "indices": 469,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 302,
+ "POSITION": 134
+ },
+ "indices": 470,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 303,
+ "POSITION": 135
+ },
+ "indices": 471,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 304,
+ "POSITION": 136
+ },
+ "indices": 472,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 305,
+ "POSITION": 137
+ },
+ "indices": 473,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 306,
+ "POSITION": 138
+ },
+ "indices": 474,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 307,
+ "POSITION": 139
+ },
+ "indices": 475,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 308,
+ "POSITION": 140
+ },
+ "indices": 476,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 309,
+ "POSITION": 141
+ },
+ "indices": 477,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 310,
+ "POSITION": 142
+ },
+ "indices": 478,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 311,
+ "POSITION": 143
+ },
+ "indices": 479,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 312,
+ "POSITION": 144
+ },
+ "indices": 480,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 313,
+ "POSITION": 145
+ },
+ "indices": 481,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 314,
+ "POSITION": 146
+ },
+ "indices": 482,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 315,
+ "POSITION": 147
+ },
+ "indices": 483,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 316,
+ "POSITION": 148
+ },
+ "indices": 484,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 317,
+ "POSITION": 149
+ },
+ "indices": 485,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 318,
+ "POSITION": 150
+ },
+ "indices": 486,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 319,
+ "POSITION": 151
+ },
+ "indices": 487,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 320,
+ "POSITION": 152
+ },
+ "indices": 488,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 321,
+ "POSITION": 153
+ },
+ "indices": 489,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 322,
+ "POSITION": 154
+ },
+ "indices": 490,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 323,
+ "POSITION": 155
+ },
+ "indices": 491,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 324,
+ "POSITION": 156
+ },
+ "indices": 492,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 325,
+ "POSITION": 157
+ },
+ "indices": 493,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 326,
+ "POSITION": 158
+ },
+ "indices": 494,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 327,
+ "POSITION": 159
+ },
+ "indices": 495,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 328,
+ "POSITION": 160
+ },
+ "indices": 496,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 329,
+ "POSITION": 161
+ },
+ "indices": 497,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 330,
+ "POSITION": 162
+ },
+ "indices": 498,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 331,
+ "POSITION": 163
+ },
+ "indices": 499,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 332,
+ "POSITION": 164
+ },
+ "indices": 500,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 333,
+ "POSITION": 165
+ },
+ "indices": 501,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 334,
+ "POSITION": 166
+ },
+ "indices": 502,
+ "mode": 4
+ },
+ {
+ "attributes": {
+ "NORMAL": 335,
+ "POSITION": 167
+ },
+ "indices": 503,
+ "mode": 4
+ }
+ ]
+ }
+ ],
+ "nodes": [
+ {
+ "rotation": [
+ -0.7071067811865475,
+ 0.0,
+ 0.0,
+ 0.7071067811865475
+ ],
+ "mesh": 0
+ }
+ ],
+ "scene": 0,
+ "scenes": [
+ {
+ "nodes": [
+ 0
+ ]
+ }
+ ],
+ "extras": {
+ "source": "EVE SVG imported by build123d, extruded as BREP solids, chamfered in CAD, exported as glTF + bin.",
+ "chamfer": 0.3333333333333333,
+ "depth": 4.0,
+ "contours": 6
+ }
+}
diff --git a/apps/docs/scripts/render-eve-5.ts b/apps/docs/scripts/render-eve-5.ts
new file mode 100644
index 000000000..5be85a7c4
--- /dev/null
+++ b/apps/docs/scripts/render-eve-5.ts
@@ -0,0 +1,156 @@
+import { createHash } from "node:crypto";
+import { readFile, mkdir, writeFile } from "node:fs/promises";
+import { resolve } from "node:path";
+import { App } from "@vgpu/core";
+import { createNodeAdapter } from "@vgpu/adapter-node";
+import { PNG } from "pngjs";
+import { decodeGltfMesh } from "../app/[lang]/(home)/components/eve-logo-shader/mesh";
+import {
+ BLOOM_RADIUS,
+ BLOOM_STRENGTH,
+ BLOOM_THRESHOLD,
+ createEve5Renderer,
+ getPaddedRenderSize,
+ type RenderControls,
+} from "../app/[lang]/(home)/components/eve-logo-shader/render";
+
+const RUN_ID = new Date().toISOString().replaceAll(":", "-").replace(".", "-");
+const OUT_DIR = resolve(process.cwd(), "tmp/eve-5-renders", RUN_ID);
+const FORMAT: GPUTextureFormat = "rgba8unorm";
+const LOGICAL_WIDTH = 960;
+const LOGICAL_HEIGHT = Math.round(LOGICAL_WIDTH / (78 / 25));
+const PADDED_SIZE = getPaddedRenderSize(LOGICAL_WIDTH, LOGICAL_HEIGHT);
+const WIDTH = PADDED_SIZE.width;
+const HEIGHT = PADDED_SIZE.height;
+const MODEL_PATH = resolve(process.cwd(), "public/eve-5/eve-logo.gltf");
+const DEFAULT_CONTROLS: RenderControls = {
+ yaw: 0,
+ pitch: 0,
+ radius: 1.9,
+ fov: 35,
+ envYaw: 0,
+ insideRendering: true,
+ outsideRendering: true,
+ material: "glass",
+ wireframe: false,
+ showEnv: false,
+};
+
+async function main() {
+ await mkdir(OUT_DIR, { recursive: true });
+ const mesh = await loadMeshFromDisk(MODEL_PATH);
+ const app = await App.create({ adapter: createNodeAdapter() });
+ let renderer: ReturnType<typeof createEve5Renderer> | undefined;
+
+ try {
+ renderer = createEve5Renderer(app.device, FORMAT, mesh);
+ const output = await renderView(renderer, app.device, DEFAULT_CONTROLS, "output.png");
+ await renderView(renderer, app.device, { ...DEFAULT_CONTROLS, yaw: -0.49, pitch: 0.31 }, "rotated.png");
+ await renderView(renderer, app.device, { ...DEFAULT_CONTROLS, wireframe: true }, "wireframe.png");
+
+ const log = {
+ runId: RUN_ID,
+ outDir: OUT_DIR,
+ dimensions: { width: WIDTH, height: HEIGHT, format: FORMAT },
+ bloom: {
+ radius: BLOOM_RADIUS,
+ strength: BLOOM_STRENGTH,
+ threshold: BLOOM_THRESHOLD,
+ logical: { width: LOGICAL_WIDTH, height: LOGICAL_HEIGHT },
+ padded: { width: WIDTH, height: HEIGHT },
+ },
+ mesh: {
+ vertices: mesh.positions.length / 3,
+ triangles: mesh.indices.length / 3,
+ bounds: mesh.bounds,
+ },
+ files: {
+ output: "output.png",
+ rotated: "rotated.png",
+ wireframe: "wireframe.png",
+ log: "log.json",
+ },
+ output: pixelStats(WIDTH, HEIGHT, output),
+ };
+
+ await writeFile(resolve(OUT_DIR, "log.json"), `${JSON.stringify(log, null, 2)}\n`);
+ console.log(JSON.stringify(log, null, 2));
+
+ if (log.output.nonBlack === 0) process.exitCode = 1;
+ } finally {
+ renderer?.dispose();
+ app.device.destroy();
+ }
+}
+
+async function renderView(
+ renderer: ReturnType<typeof createEve5Renderer>,
+ device: Awaited<ReturnType<typeof App.create>>["device"],
+ controls: RenderControls,
+ file: string,
+) {
+ const target = device.createTexture({
+ label: `eve-5-static-${file}`,
+ size: [WIDTH, HEIGHT],
+ format: FORMAT,
+ usage: ["render_attachment", "copy_src"],
+ });
+ try {
+ renderer.render(target.createView(), controls, LOGICAL_WIDTH, LOGICAL_HEIGHT);
+ await device.queue.flush();
+ const pixels = new Uint8Array(await target.read());
+ await writePng(resolve(OUT_DIR, file), WIDTH, HEIGHT, pixels);
+ return pixels;
+ } finally {
+ target.destroy();
+ }
+}
+
+async function loadMeshFromDisk(path: string) {
+ const gltf = JSON.parse(await readFile(path, "utf8"));
+ return decodeGltfMesh(gltf, async (uri) => {
+ if (uri.startsWith("data:application/octet-stream;base64,")) {
+ const [, payload] = uri.split(",");
+ return exactArrayBuffer(Buffer.from(payload!, "base64"));
+ }
+ const bufferPath = resolve(path, "..", uri);
+ return exactArrayBuffer(await readFile(bufferPath));
+ });
+}
+
+function exactArrayBuffer(buffer: Buffer) {
+ return buffer.buffer.slice(buffer.byteOffset, buffer.byteOffset + buffer.byteLength);
+}
+
+async function writePng(path: string, width: number, height: number, pixels: Uint8Array) {
+ const png = new PNG({ width, height });
+ png.data.set(pixels);
+ await writeFile(path, PNG.sync.write(png));
+}
+
+function pixelStats(width: number, height: number, pixels: Uint8Array) {
+ let nonBlack = 0;
+ let alpha = 0;
+ let colored = 0;
+
+ for (let index = 0; index < pixels.length; index += 4) {
+ const r = pixels[index] ?? 0;
+ const g = pixels[index + 1] ?? 0;
+ const b = pixels[index + 2] ?? 0;
+ const a = pixels[index + 3] ?? 0;
+ const max = Math.max(r, g, b);
+ const min = Math.min(r, g, b);
+ if (max > 8) nonBlack++;
+ if (a > 20) alpha++;
+ if (max - min > 8 && r + g + b > 24) colored++;
+ }
+
+ const header = Buffer.alloc(8);
+ header.writeUInt32LE(width, 0);
+ header.writeUInt32LE(height, 4);
+ const sha256 = createHash("sha256").update(header).update(pixels).digest("hex");
+
+ return { width, height, total: width * height, nonBlack, alpha, colored, sha256 };
+}
+
+await main();
diff --git a/apps/docs/scripts/wgsl-node-loader.mjs b/apps/docs/scripts/wgsl-node-loader.mjs
new file mode 100644
index 000000000..1e70efa33
--- /dev/null
+++ b/apps/docs/scripts/wgsl-node-loader.mjs
@@ -0,0 +1,14 @@
+import { fileURLToPath } from "node:url";
+import { resolveShader } from "@vgpu/wgsl/runtime";
+
+export async function load(url, context, nextLoad) {
+ if (url.endsWith(".wgsl")) {
+ const { wgsl } = await resolveShader({ entry: fileURLToPath(url), validate: false });
+ return {
+ format: "module",
+ shortCircuit: true,
+ source: `export default ${JSON.stringify(wgsl)};`,
+ };
+ }
+ return nextLoad(url, context);
+}
diff --git a/apps/docs/wgsl-env.d.ts b/apps/docs/wgsl-env.d.ts
new file mode 100644
index 000000000..647577091
--- /dev/null
+++ b/apps/docs/wgsl-env.d.ts
@@ -0,0 +1,2 @@
+/// <reference types="@vgpu/wgsl/wgsl-types" />
+/// <reference types="@webgpu/types" />
diff --git a/packages/eve/src/public/channels/slack/interactions.ts b/packages/eve/src/public/channels/slack/interactions.ts
index 346fb8c37..050c3e48b 100644
--- a/packages/eve/src/public/channels/slack/interactions.ts
+++ b/packages/eve/src/public/channels/slack/interactions.ts
@@ -396,11 +396,12 @@ async function handleViewSubmission(
return ack;
}
- const text = payload.values?.find(
- (value) =>
- value.blockId === HITL_FREEFORM_MODAL_BLOCK_ID &&
- value.actionId === HITL_FREEFORM_MODAL_ACTION_ID,
- )?.value ?? "";
+ const text =
+ payload.values?.find(
+ (value) =>
+ value.blockId === HITL_FREEFORM_MODAL_BLOCK_ID &&
+ value.actionId === HITL_FREEFORM_MODAL_ACTION_ID,
+ )?.value ?? "";
if (text.length === 0) return ack;
// `user` is Required on view_submission payloads; `team_id` is on the
diff --git a/packages/eve/src/public/channels/slack/mrkdwn.test.ts b/packages/eve/src/public/channels/slack/mrkdwn.test.ts
index 8798ecbb6..42dd35030 100644
--- a/packages/eve/src/public/channels/slack/mrkdwn.test.ts
+++ b/packages/eve/src/public/channels/slack/mrkdwn.test.ts
@@ -44,9 +44,7 @@ describe("gfmToSlackMrkdwn", () => {
});
it("leaves links with Slack control characters in the URL unchanged", () => {
- expect(gfmToSlackMrkdwn("see [bad](https://x.dev/a|b)")).toBe(
- "see [bad](https://x.dev/a|b)",
- );
+ expect(gfmToSlackMrkdwn("see [bad](https://x.dev/a|b)")).toBe("see [bad](https://x.dev/a|b)");
});
it("leaves fenced code blocks untouched", () => {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 799ce1d00..c25ece825 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -138,11 +138,20 @@ importers:
specifier: workspace:*
version: link:../../packages/eve-catalog
'@vercel/geistdocs':
- specifier: 1.8.0
+ specifier: 1.8.1
'@vercel/speed-insights':
specifier: 2.0.0
version: 2.0.0(1bf1af76e23df0ef2782fcce60ed20a8)
+ '@vgpu/core':
+ specifier: 0.0.7
+ version: 0.0.7
+ '@vgpu/render':
+ specifier: 0.0.7
+ version: 0.0.7
+ '@vgpu/wgsl':
+ specifier: 0.0.7
+ version: 0.0.7
ai:
specifier: 6.0.191
version: 6.0.191([email protected])
@@ -237,18 +246,33 @@ importers:
'@types/node':
specifier: 'catalog:'
version: 25.9.1
+ '@types/pngjs':
+ specifier: ^6.0.5
+ version: 6.0.5
'@types/react':
specifier: 'catalog:'
version: 19.2.15
'@types/react-dom':
specifier: 'catalog:'
version: 19.2.3(@types/[email protected])
+ '@vgpu/adapter-node':
+ specifier: 0.0.7
+ version: 0.0.7
+ '@webgpu/types':
+ specifier: ^0.1.69
+ version: 0.1.71
+ pngjs:
+ specifier: ^7.0.0
+ version: 7.0.0
postcss:
specifier: 8.5.15
version: 8.5.15
tailwindcss:
specifier: 4.3.0
version: 4.3.0
+ tsx:
+ specifier: ^4.21.0
+ version: 4.21.0
tw-animate-css:
specifier: 1.4.0
version: 1.4.0
@@ -6126,6 +6150,9 @@ packages:
resolution: {integrity: sha512-xfrlY7UD5rMJk3ZVJP8BNzS28J36YJg+xp+LPXV1TdWxr8uMH5A860QNxYDGQe/ylDSgjxE52Q9VnO7p75tJxg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-0k5eKfrA83JOZPppLtS2C7OUtyNAl2wKNxfyYl9Q5g9lPkgBl/9hNyAu6HuEH2J4XmIv2znEpkDd0SaZVxW6iQ==}
+
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
peerDependencies:
@@ -6611,8 +6638,8 @@ packages:
'@vercel/[email protected]':
resolution: {integrity: sha512-dA1ZWZHruRjFbLToqjcPHUyh5J7/Cl3qGFDge87ghAInuy/aXfalApzFbw61OIopGx0SSsIYi/8kbpJ+SbQ6ZQ==}
- '@vercel/[email protected]':
- resolution: {integrity: sha512-BjVEO73sZ1iYgAYj8T4lGb9nfw27sx2MVzjLPq519Hr3r6S50NFGLdrPFFOZiK4c19AOlM7clpDPn1Ys82d6kw==}
+ '@vercel/[email protected]':
+ resolution: {integrity: sha512-+yHua2sIMNFGN7bn6kLZ8D80YOpSdTr8ssoFUTmVN//tAKqV4Oe2rIk11ocMF5Qn4Cuy5Pq2l+otpZakAYCF8w==}
hasBin: true
peerDependencies:
next: 16.2.6
@@ -6747,6 +6774,18 @@ packages:
'@vercel/[email protected]':
resolution: {integrity: sha512-wCq90CMUB//ggnFh77NQO1xaLFsS4LigQIqKrH6ohnr9Br/KI1FhlErx62WfCOuueWaW+LVsbLOqNXIUjK8t6A==}
+ resolution: {integrity: sha512-IgSq52apOkMN1LvqF96b7Umzw/qTysuIDKF4I7SgUZUZSKbtH+j3eqdk33zEec5iuP5mHZ42/zKg4575zNm1Bg==}
+
+ resolution: {integrity: sha512-aAIZClRMiD47oAywEjLhGYzQloN282d2y7h0cUvgzyFzmDniqrtJfupx/xs37U6eCvFnI0eIKwVfOfut8WjmPw==}
+
+ resolution: {integrity: sha512-ioSov/oLobDWwrteLKGa8hvxuPC+EyFFDnowuyDfoHn43CxzTOJK6MBuacfP4mN0ujZedrVmVVUEmbjYgWlKdQ==}
+
+ resolution: {integrity: sha512-DBlQEsJCJOev9H5tgLPOjklrT4FwyfnkeeQ9iqY6gcX05mkiBLNeZPWL9iJKp5MLSBZdOuux4v9jlb4ZCgxU8Q==}
+
resolution: {integrity: sha512-9JjvjeqUndb9otCCFd0/+2ESsLk7VkDE6sxOBy9iy2ukezuQbplVRi+g9g59yAurKofbmTi/KcKxBGO/22zWRw==}
@@ -6861,6 +6900,9 @@ packages:
resolution: {integrity: sha512-zSbjL7gRXwks2ZQLRGCajBtBXEOXW9Ddhn/HvSdrGkE2dqGnumzW8XtusRrxrE9LvqtiqDXQ+A60Hp6mvdYxfA==}
+ '@webgpu/[email protected]':
+ resolution: {integrity: sha512-mMy8/ODcKhab808co15eW+yN+HgXoQxRQHTiBV9Mrvl1r0ufnid7YOcI+gi4eUWSWl9ezD6TW2KXccrL8HCh2A==}
+
'@workflow/[email protected]':
resolution: {integrity: sha512-sdx0+ypCaOpJnHihyKIycCH60zaE3J9Ad4/KCtrtAD7MXoPABFZ1z5IUehfcyhyMXBTVd3vy3OCSeLjz742Oqg==}
peerDependencies:
@@ -10693,6 +10735,10 @@ packages:
resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==}
+ engines: {node: '>=14.19.0'}
+
resolution: {integrity: sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==}
@@ -12654,12 +12700,18 @@ packages:
resolution: {integrity: sha512-6BjspCO9VriYy12z356nL6JBS0GYeEcA457YyRzD+dD6XYCQ75NKhcOHUMHentOE7OcVCIXXDvOm0jKFfQG2Gg==}
+ resolution: {integrity: sha512-F5pimn3Aoi0zWjuRdiVs5TnrUwSzD2lESBohsIUsqyitWkGRQlXU2fhV6ycXlQTa1bvAf3sjqiUpBEpmSQ5ptA==}
+
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}
+ resolution: {integrity: sha512-IfZFbG7olEYBD76VCZy2TzqM57GKy3LT++AZh37tMHPPByO6R2h61zXGBZFNPi2IzxNivNi8y5dvze5PjaczjA==}
+
resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
@@ -13230,11 +13282,6 @@ snapshots:
'@babel/helper-string-parser': 8.0.0-rc.6
'@babel/helper-validator-identifier': 8.0.0-rc.6
- optionalDependencies:
- cac: 6.7.14
- citty: 0.2.2
-
optionalDependencies:
cac: 6.7.14
@@ -14346,44 +14393,6 @@ snapshots:
- magicast
- supports-color
- dependencies:
- '@bomb.sh/tab': 0.0.15([email protected])([email protected])
- '@clack/prompts': 1.5.0
- c12: 3.3.4([email protected])
- citty: 0.2.2
- confbox: 0.2.4
- consola: 3.4.2
- debug: 4.4.3
- defu: 6.1.7
- exsolve: 1.0.8
- fuse.js: 7.4.0
- fzf: 0.5.2
- giget: 3.2.0
- jiti: 2.7.0
- listhen: 1.10.0([email protected])
- nypm: 0.6.6
- ofetch: 1.5.1
- ohash: 2.0.11
- pathe: 2.0.3
- perfect-debounce: 2.1.0
- pkg-types: 2.3.1
- scule: 1.3.0
- semver: 7.8.4
- srvx: 0.11.16
- std-env: 4.1.0
- tinyclip: 0.1.13
- tinyexec: 1.2.2
- ufo: 1.6.4
- youch: 4.1.1
- optionalDependencies:
- '@nuxt/schema': 4.4.6
- transitivePeerDependencies:
- - cac
- - commander
- - magicast
- - supports-color
-
'@nuxt/[email protected]': {}
@@ -17954,6 +17963,10 @@ snapshots:
dependencies:
undici-types: 7.24.6
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 25.9.1
+
dependencies:
'@types/react': 19.2.15
@@ -18390,7 +18403,7 @@ snapshots:
etag: 1.8.1
fs-extra: 11.1.0
dependencies:
'@ai-sdk/react': 3.0.193([email protected])([email protected])
'@clack/prompts': 0.11.0
@@ -18707,6 +18720,24 @@ snapshots:
json-schema-to-ts: 1.6.4
ts-morph: 12.0.0
+ dependencies:
+ '@vgpu/core': 0.0.7
+ webgpu: 0.4.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@vgpu/wgsl': 0.0.7
+
+ dependencies:
+ '@vgpu/core': 0.0.7
+ wgpu-matrix: 3.4.2
+
+ '@vgpu/[email protected]': {}
+
dependencies:
native-promise-only: 0.8.1
@@ -18883,6 +18914,8 @@ snapshots:
'@vue/[email protected]': {}
+ '@webgpu/[email protected]': {}
+
dependencies:
'@aws-sdk/credential-provider-web-identity': 3.972.49
@@ -23341,7 +23374,7 @@ snapshots:
dependencies:
'@dxup/nuxt': 0.4.1([email protected])([email protected])
'@nuxt/kit': 4.4.6([email protected])
@@ -23471,7 +23504,7 @@ snapshots:
dependencies:
'@dxup/nuxt': 0.4.1([email protected])([email protected])
'@nuxt/kit': 4.4.6([email protected])
'@nuxt/nitro-server': 4.4.6(355aa972cbce473ecd0a6783b15860ed)
@@ -24049,6 +24082,8 @@ snapshots:
+
@@ -26430,10 +26465,19 @@ snapshots:
+ dependencies:
+ '@webgpu/types': 0.1.71
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+
dependencies:
tr46: 0.0.3
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 9053bdff5..6aa07d6d8 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -16,6 +16,7 @@ allowBuilds:
simple-git-hooks: true
unrs-resolver: true
vue-demi: false
+ webgpu: true
catalog:
"@ai-sdk/anthropic": "^4.0.0"
@@ -49,6 +50,7 @@ minimumReleaseAgeExclude:
- "@turbo/*"
- "@workflow/*"
- "@vercel/*"
+ - "@vgpu/*"
- ai
- crossws
- experimental-ai-sdk-code-mode
@@ -59,3 +61,4 @@ minimumReleaseAgeExclude:
- typescript
- vercel
- workflow
+