1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. crucible
  3. OGL Canvas

OGL Canvas

lib

A reusable client harness for fullscreen fragment-shader backgrounds. Manages uTime/uResolution/uPointer uniforms, clamps DPR, pauses offscreen and on hidden tabs, freezes under reduced motion, and fully tears down WebGL on unmount.

pnpm dlx shadcn@latest add "https://crucibleui.com/r/ogl-canvas.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • ogl
  • use-visibility-pause
  • use-reduced-motion
  • use-dpr-cap
lib/ogl-canvas.tsx