@canvas-ui/glitch-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 { createGlitch } from '@/components/canvasui/GlitchVanilla'import { Button } from '@/components/ui/button'import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'export default function GlitchDemo() {  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 glitch = createGlitch({ source, content, output })    return () => glitch?.destroy()  }, [])  return (    <div style={{ position: 'relative' }} className='w-full max-w-sm'>      <canvas ref={sourceRef} style={{ display: 'block', width: '100%' }}>        <div ref={contentRef}>          <Card className='w-full'>            <CardHeader>              <CardTitle>Login to your account</CardTitle>              <CardDescription>Enter your email below to login to your account</CardDescription>            </CardHeader>            <CardContent>              <p className='text-sm'>m@example.com</p>            </CardContent>            <CardFooter>              <Button className='w-full'>Login</Button>            </CardFooter>          </Card>        </div>      </canvas>      <canvas ref={outputRef} style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', pointerEvents: 'none' }} />    </div>  )}