@canvas-ui/dithered-object-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 { createDitheredObject, type DitheredObjectInstance } from "@/components/canvasui/DitheredObjectVanilla"import { photoImage } from "@/preview/images"export default function DitheredObjectDemo() {  const canvasRef = useRef<HTMLCanvasElement>(null)  const instanceRef = useRef<DitheredObjectInstance | null>(null)  useEffect(() => {    const canvas = canvasRef.current    if (!canvas) return    instanceRef.current = createDitheredObject(      { canvas },      {        src: photoImage("running shoes", 800, 600),        method: "bayer",        gridSize: 4,        scale: 3,      },    )    return () => {      instanceRef.current?.destroy()      instanceRef.current = null    }  }, [])  return (    <canvas      ref={canvasRef}      className="w-full max-w-md"      style={{ height: 360 }}      role="img"      aria-label="Dithered running shoes"    />  )}