跳到正文
The Decoder· Jonathan Kemper·· 1 天前AI 评分58

Claude 支持在 canvas 图形中嵌入可交互 HTML 元素

Claude now builds interactive websites inside canvas graphics, reviving the Flash era with real HTML

AI 导读

Anthropic 的 Claude 现在可以在 canvas 图形和 3D 效果中嵌入文字、按钮等真实网页元素,并保持可选中、可点击。该功能基于 Google 正在推进的 HTML-in-Canvas 网页标准,Chrome 和 Edge 从 157 版本起支持,Claude 桌面端从 5.11492 版本起支持,Safari 和 Firefox 暂不支持。

正文 · 原文

Claude can now embed text, buttons, and other web elements into complex graphics and 3D effects. Web pages have always faced a tradeoff. Standard HTML elements are clickable, selectable, and readable by screen readers, but they're hard to warp visually. Canvas lets you draw anything you want, but the browser treats it like a flat image. You can't select text or click links inside it. HTML-in-Canvas changes that by placing real page elements inside canvas graphics while keeping them fully interactive.

Felix Rieseberg works on Claude at Anthropic. He wrote on X that Claude can now build "bizarre & beautiful sites" with the feature, adding that it reminds him of the Flash era. A demo page shows 15 examples, including websites rendered as knitting patterns, 3D cubes, or exploded layer views. The content stays as real text you can highlight and copy.

Google is developing HTML-in-Canvas as a web standard that preserves both interactivity and accessibility. The feature works in Chrome and Edge starting with version 157 and in Claude's desktop apps from version 5.11492. Safari and Firefox don't support it yet. Users need to ask Claude for HTML-in-Canvas explicitly in their prompt. Claude keeps getting more creative with visual tasks. Recently, Claude Fable 5.2 painted photorealistic artwork stroke by stroke using self-written Python code.

AI News Without the Hype – Curated by Humans

Subscribe to THE DECODER for ad-free reading, a weekly AI newsletter, our exclusive "AI Radar" frontier report six times a year, full archive access, and access to our comment section.

来源:The Decoder · the-decoder.com