跳到正文
Simon Willison·· 4 小时前AI 评分40

Claude Opus 5.5 用 Sobel 边缘检测实现照片快速绘画效果

Quick Study

AI 导读

Simon Willison 用一段提示词让 Claude Opus 5.5 High 构建了一个 artifact:打开照片后,几秒内用 canvas 元素和模拟画笔把照片“画”出来。该工具名为 Quick Study,采用 Sobel 边缘检测,除 Google Fonts 外不依赖任何外部库。此前他还做过让 Claude Fable 用 P5.js 模拟水彩插画的实验。

正文

Tool: Quick Study

Prompt to Claude Opus 5.5 High:

Build an artifact where you open a photo and it rapidly (in a few seconds) paints a version of that photo using a canvas element and simulated paintbrush

See also my previous experiment getting Claude Fable to simulate a watercolor illustration with P5.js.

A simulated oil painting of a photograph of a heron

Quick Study uses Sobel edge detection, with no external libraries beyond Google Fonts.

Tags: tools

来源:Simon Willison · simonwillison.net