@canvas-ui/particle-object-preactloading 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 { createParticleObject } from "@/components/canvasui/ParticleObject"import { photoImage } from "@/preview/images"export default function ParticleObjectDemo() {  const canvasRef = useRef<HTMLCanvasElement>(null)  useEffect(() => {    const canvas = canvasRef.current    if (!canvas) return    const instance = createParticleObject(      { canvas },      {        src: photoImage("abstract sculpture", 800, 600),        color: "#a78bfa",        count: 9000,      },    )    return () => {      instance?.destroy()    }  }, [])  return (    <div className="relative h-[360px] w-full max-w-lg">      <canvas ref={canvasRef} className="absolute inset-0 h-full w-full touch-none" />    </div>  )}