Log inGet started
Package

sundayPalette.styleBlock

Newest version

README.md

Sunday strip palette (styleBlock, Fill)

Bright Sunday newspaper colour: cheerful flat thirds of strong inks, two value steps and clean blacks, as printed on a colour comics section.

This block starts from: blacks (0.1), cyan (#0f9ad6), levels (3), magenta (#e2386a), saturation (1.35), valueSteps (2), yellow (#fbe034). It shares one shader, and so every setting, with the other palette blocks of comicBlocks, so it swaps for any of them with StyleKit.swap(entry, other, { keepSettings = true }).

What it gives up in motion

The palette is worked out per pixel from the colour this block reads, so it holds still with the picture and adds no marks of its own: nothing slides or crawls. Where the light changes slowly across a surface a tint edge sits on the surface and moves only when the light moves; each step between tints is a short soft ramp, so it never flickers between two tints. Textured surfaces can break into small tint patches; put a flattening fill before it (toonBlocks' celFill) for clean areas. Nothing changes on the clock.

How it treats content

  • Opaque things: printed in the palette's flat tints; deep shadows go solid black, near whites to paper.
  • Transparent things (glass, water): printed by the colour seen through them.
  • Particles and smoke: printed like everything else; soft gradients turn into a few tint steps.
  • Sky: printed in the palette, usually one or two flat tints of cyan.
  • Fog: fog greys colours toward the paper, so far things print in paler tints.
  • Skinned characters: printed in the palette like everything else, no sliding.
  • Foliage: printed in flat tints; dense leaves can go patchy, a flattening fill before it helps.
  • World text: letters keep their contrast but take palette colours; exclude labels whose colour matters.
  • Black stays black: unlit pixels stay black (solid black ink).
  • Dim rooms: not a Tone block, so it does not ask for the dim guard: it only re-colours, it lays no light sheet.