Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { RenderSurface } from "@/components/ui/render-surface"export default function RenderSurfaceDemo() { return ( <RenderSurface className="h-64 w-full max-w-md rounded-xl" label="Animated color fill" setup={() => ({ hue: 0 })} draw={({ context, size, state, delta }) => { state.hue = (state.hue + delta * 30) % 360 context.fillStyle = `hsl(${state.hue} 80% 60%)` context.fillRect(0, 0, size.width * size.dpr, size.height * size.dpr) }} /> )}