The sprinkle
macro facilitates adding snippets to your pattern in bulk.
It is provided by plugin-sprinkle, which is part of core-plugins (so it is available by default).
Signature
Javascript
macro('sprinkle', {
Array on,
Number scale,
Snippet snippet,
Number rotation,
})
Example
Configuration
Property | Default | Type | Description |
---|---|---|---|
snippet | String | Name of the Snippet to sprinkle | |
on | [] | Array of strings | Array of pointnames, the names of Points in the points array to add the Snippets on |
scale | 1 | number | Scale for the individual Snippets |
rotate | 0 | number | Rotation for the individual Snippets |