Skip to content
Kitbay
Skill

reference-art-loop

MITUpdated on Oct 17, 202650GitHub stars

Part of ALIGN, a project by wanshuiyin that makes images by having the agent write drawing code instead of calling an image model.

What the skill teaches

Part of ALIGN, a project by wanshuiyin that makes images by having the agent write drawing code instead of calling an image model. Given a reference artwork, a subject and a medium such as p5.js, Canvas or SVG, the agent works out the reference's craft (order of work, marks, colouring, rhythm), writes a program that replays the picture being made in that order, renders it, and asks a separate reviewer, Codex over MCP in this Claude Code version, to judge only the rendered pixels. It revises until the reviewer names no machine-made tells, then hands the result to the user for final acceptance. It is not meant for one-shot raster image generation.

Capabilities

  • Paint a subject in a reference artwork's craft as p5.js, Canvas or SVG code
  • Replay the construction of the picture stage by stage
  • Revise the drawing through blind pixel-only review by a second model