mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 21:27:00 -06:00
The reference app adds or subtracts winds from a spiral with Alt-drag and changes its decay rate with Ctrl/Cmd-drag. VectorCraft's Spiral tool did nothing with either key during a drag. While a spiral is dragged out, Alt or Ctrl/Cmd keeps the spiral's inner end at the distance from the center it had when the key went down, and the outer end follows the pointer. With Alt the number of segments changes to the nearest whole number that fits, within 2 to 1000, so dragging outward adds segments and dragging inward removes them. With Ctrl/Cmd the decay changes to fit, within 5 to 99.99 percent, the decays a spiral is drawn with. When both keys are held, Ctrl/Cmd changes the decay. Up/Down with a key still held move the held radius to the new segment count. The new values stay when the key is let go, and as the Spiral tool's segments and decay options for the next spiral. Both keys also work with a 5 percent decay and hundreds of segments. Docs: docs/mcp.md, docs/target-app-parity.md.