mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 10:14:46 +01:00
Symbols: Random styling and Symbol Set Density follow the brush and the set
- With Method Random the Symbol Styler scales each instance's share of the style by the brush strength, so the brush edge and a light pen pressure style an instance less. - symbol.setDensity gives every selected set the new density, also a set whose instances do not move (one instance, or each locked), so a later change packs it from that density. No undo step is added when every set already has it.
This commit is contained in:
1 parent
1340719244
commit
0bbddf5cc4
5 files changed
+66
-16
No files matched your search
+4
-3
@@ -3324,9 +3324,10 @@ already walks Image Trace. Short agent entry points:
|
||||
style. `attributes` left out means `average` for all six.
|
||||
- `symbol.setDensity` moves each instance of a set along the line from the middle of the set's instances, to
|
||||
(1.15 − 0.1·`to`) / (1.15 − 0.1·`from`) of its distance from it (each factor at least 0.1), as one undo step, and
|
||||
adds none when no instance moves. `from` is the density each set was created at or last given, and the
|
||||
`from` passed applies only to a set without one (a group named "Symbol Set" by hand); the sets moved then have
|
||||
density `to`. A locked or hidden instance stays where it is. It returns `{ids, count}`: the sets changed and the
|
||||
adds none when no instance moves and every set already has density `to`. `from` is the density each set was
|
||||
created at or last given, and the `from` passed applies only to a set without one (a group named "Symbol Set" by
|
||||
hand); every set then has density `to`, also one whose instances do not move (one instance, or each locked). A
|
||||
locked or hidden instance stays where it is. It returns `{ids, count}`: the sets changed and the
|
||||
instances moved.
|
||||
- A `method` or an attribute outside these values, a point's third number that isn't a number (in `symbol.spray`
|
||||
too, which does not use it), a `from` or `to` of `symbol.setDensity` outside 1..10, or no symbol set among its
|
||||
|
||||
Reference in new issue
Block a user