← 开源

Claude paints with code: a Claude Code skill for procedural illustration in 83 styles, from ink wash (水墨), watercolour and ukiyo-e to stained glass, Roman mosaic, Art Deco, shadow puppets, pastel UI, sketchbook doodles, spot illustrations, grainy picture books, dreamy hills, sunlit greenery. No image model: numpy + Pillow on a CPU, draw-on GIFs.

Python
增长势头
+1024 小时新增 Star+1.8%
576
Star
71
Fork
1
贡献者
创建于 2026-09-26 · 更新于 2026-12-06 · 今日第 1397 名
主要开发者
README

Claude Drawing · Claude 绘图

Claude paints with code — no image model.
不用生图模型,Claude 用代码一笔一笔作画。

83 styles · 画风  ·  Install · 安装  ·  Quick start · 快速上手  ·  Draw-on GIFs · 作画动图  ·  SKILL.md

What it is · 这是什么 — A Claude Code skill plus a small painting library: eighty-three styles, from ink wash and impasto oil to stained glass, a ray-traced ball pit and a VHS tape, all plain Python with numpy + Pillow on a CPU.
一个 Claude Code skill,加上一个只用 numpy + Pillow 的绘图库:八十三种画风,从水墨、油画到彩色玻璃花窗、光线追踪的小球海和 VHS 录像带。

Why code · 为什么用代码 — Composition is directed, not sampled; the same seed gives the same picture; it runs offline with no GPU, key or quota; and every stage can be saved, so you can watch the picture being made.
构图、留白、点睛色都精确可控;同一个随机种子画出同一幅画;离线只用 CPU;每一步都能存下来,做成「一步步画出来」的动画。

How Claude paints · 怎么画 — It plans the composition, writes a short scene script, then renders, looks and fixes against a per-style checklist of real failure modes, usually over 2–4 rounds. The whole playbook is in SKILL.md.
先定构图,再写场景脚本,然后渲染、看图,对照该画风的毛病清单改 2–4 轮。完整做法见 SKILL.md。


Ink wash · 水墨 — every style is painted stage by stage like this · 每种画风都是这样一步步画出来的 · all 91 GIFs · 全部动图

Install · 安装

git clone https://github.com/cloveric/claude-drawing-skill.git ~/.claude/skills/claude-drawing
pip install -r ~/.claude/skills/claude-drawing/requirements.txt   # numpy, Pillow

Titles need a CJK font; system ones are found automatically, or set INKPAINT_FONT=/path/to/font (more).
题字需要中文字体,系统自带的一般会自动找到,也可以用 INKPAINT_FONT=字体路径 指定(详见)。

Quick start · 快速上手

Ask Claude to "draw it yourself", "paint this with code" or "claude绘图", and name a style if you like.
对 Claude 说「claude绘图」「你自己画」「用代码画」,也可以指定画风。

Or run any example yourself · 也可以自己跑范例:

cd ~/.claude/skills/claude-drawing
python3 examples/moon_river.py out.png --stages stages/   # ink wash + every stage · 水墨,存下每一步
python3 examples/<name>.py out.png                        # one per style · 每种画风都有

→ Every example command and the Python API in a few lines · 全部范例命令与代码示例

Styles · 画风

Eighty-three styles in eight families — click any picture for the full-size image. Notes on every style: docs/STYLES.md
八大类、八十三种画风,点图看大图。每种画风的详细说明:docs/STYLES.zh.md

Ink & paint · 水墨与颜料


Ink wash
水墨

Watercolour
水彩

Impasto oil
油画厚涂

Retro gouache
复古水粉

Pen & wash
钢笔淡彩

Jiangnan garden
江南园林

Dry-brush blocks
干刷色块

Oil-pastel portrait
油画棒肖像

Sunlit greenery
夏日光绿

Pencil, pen & pastel · 铅笔、钢笔与色粉


Coloured pencil
韩国彩铅

Graphite pencil
铅笔素描

Children's crayon
儿童蜡笔画

Ballpoint doodle
圆珠笔涂鸦

Continuous line art
单线画

Sketchbook doodle
手账线描

Pastel vignette
色粉小像

Hatched nocturne
排线夜景

Picture books & illustration · 绘本与插画


Anime
日本动漫

Hand-drawn cartoon
卡通手绘

Flat vector
扁平矢量

Storybook animation
绘本角色动画

Blue picture book
蓝调绘本

Twilight storybook
暮色微缩绘本

Warm pencil storybook
暖调彩铅绘本

Colour town
彩色小镇

Poetic Halloween
诗意万圣夜

Flat spot illustration
日系扁平小插画

Grainy picture book
颗粒童书

Dreamy hills
柔光草丘

Print & poster · 版画与印刷


Ukiyo-e woodblock
浮世绘木版画

Linocut
黑白麻胶版画

Cyanotype
蓝晒

Letterpress poster
凸版印刷海报

Soviet constructivism
苏联构成主义

Bauhaus geometric
包豪斯几何

Art Deco
装饰艺术

Pop silkscreen
波普丝网

Golden-age comic
黄金时代漫画

Editorial (risograph)
编辑风手绘

Stencil graffiti
喷漆模板涂鸦

Blueprint
蓝图工程图

Paper, thread & clay · 纸、线与黏土


Paper collage
剪纸拼贴

Newspaper collage
报刊拼贴

Sticker collage × receipt
贴纸拼贴 · 小票

Silhouette
剪影

Stop-motion clay
黏土定格

Cross-stitch
十字绣

Embroidered patches
刺绣徽章

Perler beads
拼豆

Ancient & historic · 古代与历史


Egyptian tomb painting
古埃及墓室壁画

Shadow puppetry
皮影戏

Cave painting
洞穴壁画

Petroglyph
岩画

Greek black-figure vase
古希腊黑绘陶瓶

Roman mosaic
罗马马赛克

Stained glass
彩色玻璃花窗

Illuminated manuscript
泥金手抄本

Leonardo codex
达·芬奇手稿

Delft tiles
代尔夫特蓝瓷砖

Retro tech & screens · 复古科技与屏幕


Pixel art
像素风

1-bit paint program
1-bit 早期画图软件

Green-screen CRT
绿屏终端

ASCII art (line printer)
ASCII 字符画

Low poly
低多边形

Retro synthwave
复古 Synthwave

VHS home video
VHS 家庭录像

Cyberpunk
赛博朋克

1930s rubber hose
1930 年代黑白橡皮管动画

Vintage instrument panel
复古仪器面板

Thermal camera
热成像

X-ray
X 光片

3D, UI & diagrams · 3D、界面与图解


Soft 3D
柔光 3D

Isometric 2.5D
等轴 2.5D

Aurora glass
弥散玻璃

Shape morph
形变动画

Pastel UI
粉彩界面

Obsidian UI
笔记应用界面

Canvas board
白板卡片

Flexoki paper
Flexoki 纸面

Lab notebook × stickers
实验笔记本 · 贴纸

Exam grading
阅卷批改

Overlay sheets
描图纸叠层

Chalkboard
黑板板书

More · 更多

Page · 页面 What's in it · 内容
Styles · 画风详解 What makes each style read as the real medium, and its module · 每种画风为什么像真的、对应的模块
Principles · 作画要点 The checklist Claude goes through before handing over a picture · Claude 交图前逐条自查的清单
Usage · 用法 Install notes, fonts, Python snippets, every example command · 安装、字体、代码示例、全部范例命令
Gallery · 画廊 Every example at full size, with its title (≈ 57 MB) · 全部范例大图与标题
Draw-on GIFs · 作画动图 91 GIFs of pictures being painted (≈ 104 MB) · 91 段作画过程动图
SKILL.md The full skill: workflow, API reference, failure-mode lists, animation · 完整 skill:流程、接口速查、毛病清单、做成动画

Roadmap · 计划

  • Per-stroke layer export, for stroke-by-stroke animation in Motion Canvas or Remotion.
  • 按笔画分层导出,方便在 Motion Canvas / Remotion 里做逐笔动画。

MIT License · Made by Claude (Opus 5.5) with @cloveric

友链

本开源项目已链接并认可 LINUX DO 社区。https://linux.do/

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载