左上に「Draw the graph.」、右下に「Ship the agent.」という2行の巨大な文字が、ライブの3Dグラフを挟みます。グラフは光沢のあるノードと、ライムグリーンのパルスを運ぶ細いチューブでできていて、カーソルに近いノードは引き寄せられ、いちばん近いノードが等幅フォントのタグとともに点灯します。
# Synapse — an AI-agent platform whose page is one live graph: the visitor pulls its nodes, rides one run through four steps, and watches the graph fold into the logo
> Paste this whole prompt as one message into a new, empty project.
## 1. Role and goal
You are a senior creative developer and art director. Build the complete one-page marketing site of **[BRAND]**, a platform where teams build AI agents as graphs: every model call, tool and decision is a node you can see, test and trace. The page is one real-time WebGL graph of about a hundred glossy nodes joined by thin tubes, with pulses of light running along the edges. On the first screen the graph floats between two lines of huge type and leans towards the pointer: nodes within reach drift to the cursor, the nearest one lights up in electric lime and a mono tag names it, and a click fires a burst of pulses from it. Scrolling pins a walk-through: the camera flies into the graph and dollies from node to node while one run (a refund ticket) travels the lime spine, each step's node lights up and its card docks beside it; then the whole graph folds, layer by layer, into the S-shaped logo mark. The mark parks in a corner and turns once while a horizontal track of six platform cards slides past, a paper-coloured evaluation section opens from a rounded panel to full bleed, pricing follows, and the mark returns centre stage for the closing call to action. Everything is generated in code, and it must read as the site of a real company: confident type, exact numbers, no filler.
## 2. Stack and constraints
- Next.js (App Router) with TypeScript and Tailwind CSS v4 (`@import "tailwindcss"`, tokens in `@theme`, your own rules inside `@layer base` / `@layer components` so utilities still win); `three`, `@react-three/fiber`, `@react-three/drei` (only `Environment` and `Lightformer`); `gsap` with `ScrollTrigger` and `SplitText`; `lenis` for smooth scrolling; `lucide-react` for five icons (ArrowRight, ArrowUpRight, Check, Menu, X).
- Fonts: **Space Grotesk** (variable, 300 to 700) for display and text, **JetBrains Mono** (variable) for labels, data and the 3D tags. Load them with `next/font` (or self-host the Latin `.woff2` of the `@fontsource-variable` packages in a Vite project), Latin subset only, `display: block`.
- The scene is one client component in its own chunk, imported dynamically with server rendering off (`next/dynamic` with `ssr: false`), mounted at once.
- **No external assets: every visual is generated in code.** Geometry from primitives and instancing; the 3D labels are drawn on a 2D canvas; the dot grid, haze, glows and edge pulses are shaders. Forbidden because they download files: drei `Environment` with `preset` or `files` (build it from `<Environment resolution={256} frames={1}>` with `<Lightformer>` children), `useGLTF`, `useTexture` with a URL, drei `<Text>` without a local font file, any `<link>` or `@import` to a font or script host, any image or video file.
- One page, one route. Every link is an in-page anchor or a button; nothing opens a new tab; no `alert`. Lenis (`lerp: 0.12`, driven from the GSAP ticker, calling `ScrollTrigger.update` on scroll) smooths the wheel but never blocks or hijacks the native scroll.
- One WebGL canvas for the whole page: `position: fixed; inset: 0`, transparent (`alpha: true`, clear alpha 0), `pointer-events: none`, under the content. No post-processing: every glow is a shader.