Overview
Uniformly selects stamp centers from pixels that pass a mask threshold. From one stamp and a range mask, it batch-produces natural distributions of the same asset, such as grass, stars, stones, or splashes.
Usage tips
- Variation parameters are the key to a natural result.
random_flipwithscale_jitteraround 0.3 andbrightness_jitteraround 0.2 removes the copied look. - The range mask determines the effect. Use
path_maskto place grass on the shape of the ground, or threshold acoordinatesY gradient to limit placement to an upper or lower region. - Mask values are not density weights. Every candidate that passes the threshold
has the same selection probability. Set
alpha_enabled=falseto use RGB brightness. - Drive
seedwithseed_rangeto compare different scattering patterns. - With no stamp connected, the node uses a 1px dot. That is often enough for stars or gravel.
Related nodes
path_mask— the go-to way to define the scatter areaseed_range/variant_select— generate different scatter patternsblend— composite the scattered result over a backgroundpath_array— regular placement along a path instead of random scattering
How to use
Basic use
- Connect the
Path Maskoutput tomask. - Set the amount with
count. - Change
seedto change the distribution.
- Connect the
Threshold
0.5places stamps where the mask value is at least half.- A white + alpha mask such as
Path Maskworks as-is. - Values above the threshold do not receive a higher selection probability.
Invert
- When enabled, stamps are placed on the unfilled side.
Examples
Combine with Path Mask
[Multi Path] → [Path Mask] → mask → [Mask Scatter] → [Preview]
Scatter dots without a connected stamp
[Path Mask] → [Mask Scatter(count:32, color:white)] → [Preview]
Use any mask image
[Pixel Canvas] → mask → [Mask Scatter]
Create a natural cluster with variation
When batch-producing grass, stones, stars, or similar assets from one stamp:
[grass stamp] → stamp → [Mask Scatter(random_flip:on, scale_jitter:0.4, brightness_jitter:0.3)]
The same seed always produces the same result (deterministic).
Notes
- Two stamps are never assigned the same center pixel.
- The stamp images themselves can overlap.
- Only the center is guaranteed to lie inside the mask. A larger stamp footprint can extend outside it.
- The output dimensions match the input mask image.
- All variation is derived deterministically from
seed.