RAF loop that pauses offscreen (IntersectionObserver) and on hidden tabs. Required by every shader/canvas/R3F component.
pnpm dlx shadcn@latest add "https://crucibleui.com/r/use-visibility-pause.json"