InfoQ 中文T2·68 pts
Canvas UI Launches: 35 WebGPU-Powered Real-Time DOM Effects
Original: 一边是 WebGPU 视觉革命,一边是浏览器垄断争议:Canvas UI 发布 35 个组件
- First component library based on the HTML-in-Canvas API, enabling real-time GPU rendering of actual DOM content
- Offers 35 cross-framework components with dual WebGL (GLSL) and WebGPU (WGSL) backend implementations
- Captures DOM as textures via drawElementImage, preserving text selection, link clicks, and accessibility tree structure
- Distributed as source code via a shadcn registry and supports MCP protocol for AI assistant browsing and installation