Sky and clouds
⬜ placeholder · a skeleton only: ask for this method and it reports “not decided yet” · the worked example’s picture has none · the method name and where a person writes it: appendix G
How an artist paints it
The sky is one large gradient laid in a single pass with a big brush (darker above and lighter below, or brighter toward the sun); a cloud gets a soft airbrushed shadow beneath and a hard-edged bright band on top where the light falls, with a broken border and a few places the light comes through; and distant clouds are washed out and flattened.
What it looks like in the source
The gradient is clean and the clouds’ shapes are clear though their borders are broken. As for the background glow: this worked example’s background is pure glow with no sky – in a picture that has a sky, the sky replaces the glow as the bottom layer.
Our method ⬜
No code. Choosing method="sky" passes the parts table and reports “the method for sky and clouds is not decided yet” when painting starts.
Layers (as envisaged)
Sky/: _Gradient (the single-pass gradient, with no Shape) -> Cloud/ (Shape -> _Flat -> _Shadow/ -> _Light/). The sky is the bottom layer and replaces the glow.
How a person writes it in
"Sky": dict(method="sky"), # not decided yet; painting reports it
Criteria
Whether the gradient is smooth (the 8-level colour count), and how hard the clouds’ bright edges are.
What has to be decided
- How the gradient’s direction and end colours are decided (fitted from the source).
- Whether clouds belong to the background group or one of their own, and whether segmentation gives them.
- Which brush the soft shadow and the hard highlight each use.
- Which of this and the background page’s glow replaces the other.
On origin
The worked example’s picture has no sky.