What the painters were given

Pencil underdrawing (round 4, branch pencil)

notes/pencil.md · 154 lines · Notes

Given to 2 painters:

Pencil underdrawing (round 4, branch pencil)

The painters in amnesia round 3 said they couldn't draw: "A painter draws it; I compiled it" (notes/amnesia3/easel3_near.md). This stream adds drawing as a medium of its own. You sketch the composition on the ground in graphite or black chalk, look at it, erase and redraw, and then paint over it, using the drawing as your guide. Friedrich worked this way: graphite pencils of different hardness and black chalk, sometimes in two passes (faint, then bolder), straights ruled. In the early works the drawing stays visible through the very thin paint (notes/research/friedrich_materials.md §3).

What changed

Without a drawing, nothing changes. The golden scene isn't affected, since no code path runs unless draw is called.

The painter's API (easel)

canvas{style="friedrich_early", size=440, aspect=1.4, seed=11}
h = pencil("2H")                 -- 9H..H, F, HB, B..9B; pencil{grade="2B"}; chalk()
h:rule({0, 432}, {1000, 432}, {pressure=0.3})      -- against a ruler
h:sketch(pts, {pressure=0.3})    -- searching: passes=3, wander=(units, ~2 mm), smooth=true
b = pencil("2B")
b:line(pts, {pressure={0.55, 0.7, 0.5}, smooth=false})   -- a firm line; corners kept
b:hatch(poly(shadow), {angle=-1.1, pressure=0.35})       -- spacing=, length= (units)
erase(pts, {strength=0.9, width=9})   -- or erase(mask, {strength=})
fix()                                 -- or fix(mask)
drawing_mask()                        -- guide for painting into the hidden drawing
b.worn  b:width()  b:sharpen()

Evidence

paintings/lua/pencil.lua (9 chunks; easel check: "replay matches the live canvas exactly"):

  1. canvas: early grounds, 440 mm
  2. first pass, 2H: ruled horizon, searching sketches of the ground, a rock and a tree
  3. second pass, 2B: firm lines; the rock's top is drawn too high
  4. the wrong top is lifted with the kneaded eraser (twice) and redrawn lower with corners, a ledge and a crack, the shadow side hatched, HB twigs
  5. fixative; masks for the paint
  6. left half: thin, translucent paint (paint={0.3, 0.3}, medium 0.6, load 0.3), then 7. blended
  7. right half: body color (medium 0.15, load 0.9, coverage 4)
  8. dry; the tree painted over its hidden drawing: trunk along the drawn coordinates, limbs into drawing_mask():band(0.55, 1, 0.1):grow(1.2)

Images (notes/pencil/):

Tests (cargo test -p paint graphite): grades parse; softer and firmer is darker and chalk darkest; a light line favors the tops of the tooth; the eraser lifts most but leaves a ghost; fixed drawing can't be lifted; a glaze seals it; thin paint shows a line while body color hides it; no drawing means no change; points wear, soft ones faster.

Known issues and next steps

Source