mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The reference app's Scribble Options have a Variation for each of Path Overlap, Curviness and Spacing. Scribble had one `variation`, which moved each line's ends both along the line and across it, and every turn of a scribble took the same curviness. An angle such as 270 was stored as given. Scribble now takes `overlapVariation` (pt, default 0.5), which moves the ends along the line, `spacingVariation` (pt, 0.5), which moves them across it, and `curvinessVariation` (%, 0), which varies the curviness from one turn to the next. The dialog shows each Variation after the option it varies, and the Appearance panel lists all three. A Scribble saved or scripted with the earlier `variation` reads it as the Path Overlap and Spacing variations. With the defaults, and with the earlier `variation`, Scribble draws the same outline as before. `effect.apply` and `effect.setParams` store an angle above -180 and up to 180, so 270 is stored as -90, and the dialog shows the stored value. The Appearance panel's inline editor lists an effect's values in their current form, as the dialog does. It listed an earlier key next to the defaults of the keys that replace it. Docs: docs/effects-parity.md (Stylize row), docs/target-app-parity.md.