@canvas-ui/vhs-vanillaloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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 { createVHS } from "@/components/canvasui/VHSVanilla"import { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"export default function VHSDemo() {  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 vhs = createVHS({ source, content, output })    return () => vhs?.destroy()  }, [])  return (    <div style={{ position: "relative", width: 640, height: 360 }}>      <canvas ref={sourceRef} width={640} height={360}>        <div ref={contentRef} style={{ width: 640, height: 360 }} className="flex items-center justify-center bg-muted p-6">          <Card className="w-full max-w-sm">            <CardHeader>              <CardTitle>Weekend Mix</CardTitle>              <CardDescription>Twelve tracks, one long drive.</CardDescription>            </CardHeader>            <CardContent>              <p className="text-sm text-muted-foreground">Side A: late night synth and rain.</p>            </CardContent>            <CardFooter className="gap-2">              <Button>Play</Button>              <Button variant="outline">Share</Button>            </CardFooter>          </Card>        </div>      </canvas>      <canvas        ref={outputRef}        aria-hidden="true"        style={{ position: "absolute", inset: 0, width: 640, height: 360, pointerEvents: "none" }}      />    </div>  )}