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 { useState } from "react"const text = "Hello world"const radius = 3export default function VariableProximityDemo() { const [focus, setFocus] = useState(4) return ( <div className="flex w-full max-w-lg items-center justify-center py-12 text-center text-4xl"> <p aria-label={text} onMouseLeave={() => setFocus(4)}> {text.split("").map((char, i) => { const distance = Math.abs(i - focus) const proximity = Math.max(0, 1 - distance / radius) const weight = Math.round(100 + 800 * proximity) return ( <span key={i} onMouseEnter={() => setFocus(i)} className="inline-block" style={{ fontWeight: weight, fontVariationSettings: `'wght' ${weight}`, }} aria-hidden="true" > {char === " " ? "\u00a0" : char} </span> ) })} </p> </div> )}