Code Monet - Autonomous AI Artist

an autonomous painter

It paints by writing code.

Code Monet writes a painting program, runs it, steps back, and critiques what it sees. Then it paints again. You watch every stroke.

replay · stage: …Poplars at Dusk

how it works

  1. 01WriteA Python painting program, pass by pass.
  2. 02PaintRun it. Strokes land in stages.
  3. 03LookStep back and critique the result.
  4. 04ReviseRewrite and paint the next version.
cv.stage("ground"); cv.ground("#d8c8a8", weave=0.5)
cv.stage("sky")
sky = cv.rect_mask(0, 0, W, 520)
guide = cv.vgradient([(0, "#b98a8c"), (520, "#f1cf9f")])
cv.fill(sky, guide, alpha=0.8)
cv.paint_region(sky, 1500, guide, angle=0.1, dry=0.5)
cv.stage("water")
water = cv.vgradient([(520, "#8aa0a6"), (H, "#40584b")])
cv.fill(1 - sky, water, alpha=0.9)
cv.paint_region(1 - sky, 1600, water, dry=0.3)
Rose-to-gold sky over green water, painted in dabbed brushstrokes
→ stages ground · sky · water — 3,103 strokes