Files
vectorcraft/crates/eps/src
dotCooCoo 0a74dcc564 Brushes: Scatter Brush Options has Brightness Jitter, a per-copy brightness move
A scatter brush takes a Brightness Jitter amount from 0 to 100 percent (0
by default). Each copy moves the brightness of its solid fills and
strokes, type included, by its own amount up to that many points either
way, after the colorization and the hue and saturation jitter. The
amounts come from the stroke's path and the brush name, drawn apart from
the hue and saturation jitter's, so a stroke draws the same colors on
every redraw, after Save and Open, and in export, and turning it on does
not change their amounts.

A color keeps its hue and saturation and moves in its own model: RGB in
the HSB of its values, Gray by its ink, Lab by its lightness with a and b
kept, and CMYK by its K over the brightness its C, M and Y leave. A CMYK
color that goes brighter than its C, M and Y show with no K loses its K
and takes less C, M and Y. The brightness stops at black and at full.
White, black and grays move too. A brush at 0 saves no brightness_jitter
key; a brush without the key reads as 0.

- brush.options takes brightness_jitter, and brush.get shows it for every
  scatter brush. Brush Options shows a Brightness Jitter field
  (ui.brushOptions field brightnessJitter).
- Options of Selected Object sets a path's own brightness_jitter
  (brush.objectOptions).
- The brightness goes through the per-copy recolor step hue and
  saturation jitter use, with its own salt.
- The .ai editing data writer does not write the amount, so such a brush
  is left out of the Brushes panel there and reported.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-28 06:07:40 -08:00
..