What the painters were given

Stream 2: strokes (entropy, coverage, presets)

notes/strokes.md · 170 lines · Notes

Given to 3 painters:

Stream 2: strokes (entropy, coverage, presets)

Branch strokes. The user's complaint: "too straight, too neat, too horizontal = digital; we need so much more entropy", plus "the same sky three times" (the style presets painted the sky, not the painters), findings item 7 (ground shows through, strokes not seeded past edges) and item 8 (the blender in shuffled tile order drags paint across gradients).

What changed

Stroke geometry (handling.rs, hand_trace, break_stroke)

Every stroke used to be a 7-point streamline of the angle field with a tiny constant bend, uniform length, constant pressure. Now each stroke is drawn the way a hand makes it:

Placement and order (place, Order, tile_order, levelize)

Coverage (findings item 7)

Style presets (style.rs)

The presets are now a vocabulary with a hand but no look of their own:

API (painter's view)

use paint::{Order, Style};
use std::f32::consts::FRAC_PI_2;
let st = Style::friedrich();

// a sky laid in with elbow arcs, direction wandering, then a second pass
// in crossing strokes, fused top to bottom
c.work(&sky, &st.broad().color(sky_col).coverage(4.0), 1);
c.work(&sky, &st.broad().color(sky_col).cross(0.2).length(60.0, 150.0), 2);
c.work(&sky, &st.blend().unwrap(), 3);                // sweeps top to bottom

// a slope in body color, strokes following the fall line, strongly bowed
c.work(&hill, &st.body().color(earth).angle(|x, _| fall(x)).curve(0.12, 0.4), 4);

// firs: short hatching, steep
c.work(&firs, &st.hatch().color(dark).angle(|_, _| 1.4).cross(0.25), 5);

// a gradient worked left to right, band by band
c.work(&sea, &st.broad().color(sea_col).sweep(0.0), 6);

// the old ruler look
c.work(&area, &st.broad().ruler(), 7);

Knobs on Handling (all builder methods): curve(bow, wave), cross(angle), drift(amount, scale), tail(share), broken(share), swell(sd), clump(amount), order(Order), sweep(angle), ruler(). Defaults in Handling::new are hand-like (curve 0.05, drift 0.12 rad / 300 units, tail 0.12, broken 0.06, swell 0.15, clump 0.3, Order::Passages).

Evidence

Known issues / next

Source