Skip to main content

sprinkle

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

macro('sprinkle', {
Array on,
Number scale,
Snippet snippet,
Number rotation,
})

Example

An example of the sprinkle macro

Configuration

PropertyDefaultTypeDescription
snippetStringName of the Snippet to sprinkle
on[]Array of stringsArray of pointnames, the names of Points in the points array to add the Snippets on
scale1numberScale for the individual Snippets
rotate0numberRotation for the individual Snippets