bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
翻訳待ち
Claude paints with code: a Claude Code skill for procedural illustration in 63 styles, from ink wash (水墨), watercolour and ukiyo-e to stained glass, Roman mosaic, Art Deco, Delft tiles, shadow puppets
翻訳待ち
スキルPythonGitHub @cloveric自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Claude paints with code: a Claude Code skill for procedural illustration in 63 styles, from ink wash (水墨), watercolour and ukiyo-e to stained glass, Roman mosaic, Art Deco, Delft tiles, shadow puppets, X-ray, VHS tape, ballpoint doodles, pastel UI frames, exam grading and storybook animation. No image model: numpy + Pillow on a CPU, draw-on GIFs.
翻訳待ち
Loading the full README. The saved excerpt is shown below.
Claude paints with code — no image model. Sixty-three styles, from ink wash and impasto oil to clay, cyanotype, stained glass, a Roman mosaic, Delft tiles, a cyberpunk street, a ray-traced ball pit, low-poly 3D, a thermal camera, an X-ray, a VHS tape, a synthwave sunset, a pastel product-film UI, an answer sheet marked in red and a lamp-lit shadow-puppet play. 不用生图模型,Claude 用代码一笔一笔作画。 六十三种画风,从水墨、油画到黏土、蓝晒、彩色玻璃花窗、罗马马赛克、代尔夫特蓝瓷砖、赛博朋克、光线追踪的小球海、低多边形 3D、热成像、X 光片、VHS 录像带、Synthwave 落日、产品发布片式的粉彩界面、红笔批改的答题卡和油灯下的皮影戏。Read the full README ↗
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。
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=字体路径 指定(详见)。
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 · 全部范例命令与代码示例
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
| 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:流程、接口速查、毛病清单、做成动画 |
MIT License · Made by Claude (Opus 5.5) with @cloveric
本开源项目已链接并认可 LINUX DO 社区。https://linux.do/