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 { useEffect, useRef } from "react"import { createFlameWrap } from "@/components/canvasui/FlameWrapVanilla"export default function FlameWrapDemo() { const sourceRef = useRef<HTMLCanvasElement>(null) const contentRef = useRef<HTMLDivElement>(null) const outputRef = useRef<HTMLCanvasElement>(null) useEffect(() => { const source = sourceRef.current const content = contentRef.current const output = outputRef.current if (!source || !content || !output) return const instance = createFlameWrap( { source, content, output }, { color: [1, 0.45, 0.1], radius: 40 }, ) return () => { instance?.destroy() } }, []) return ( <div style={{ position: "relative", display: "inline-block" }}> <canvas ref={outputRef} style={{ position: "absolute", inset: 0, width: "100%", height: "100%", pointerEvents: "none", }} /> <canvas ref={sourceRef}> <div ref={contentRef} style={{ padding: "12px 20px", borderRadius: 40, background: "#18181b", color: "#fafafa", fontWeight: 600, fontSize: 14, }} > Ignite </div> </canvas> </div> )}