mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
Smooth Tool Options gets a Smoothness setting under Fidelity, from 0% to 100%, where a higher value leaves a smoother path, as the help page describes the setting: https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=164 - path.smoothRegion takes an optional `smoothness` (0 to 100, 50 when left out). It scales the spread of the averaging done before the refit in proportion: none at 0, today's spread at 50, twice it at 100. A value outside 0 to 100 is an error and changes nothing. - The Smooth tool keeps the option with its preferences and sends it with each drag; Alt smoothing with the Pencil, Paintbrush and Blob Brush uses it, as it already uses the Smooth tool's Fidelity. tool.setOption refuses a value outside 0 to 100. - The default and the way the percentage scales the smoothing are VectorCraft's own; the default keeps today's strength. Docs: docs/mcp.md, docs/target-app-parity.md.