AnimGraphLab Alpha
Nodes Attribute Randomize

Parameters

Select a node to edit its parameters.

Attribute Randomize node injects variation into the graph. It operates in two specific ways depending on your goal:

  1. Points Mode: Randomizes point data (like position or scale) before geometry is generated.
  2. Shapes Mode: Attaches randomization values to existing shapes that downstream nodes like Noise or Transform use as instructions.

Parameters

ParameterDescription
LabelThe display name for the node.
ModeChoose whether to randomize attributes on individual points or on whole shapes.
GroupSpecifies a subset of points to affect. Uses pattern matching.
ParameterComma-separated attribute(s) to randomize, Example: pscale, rotation, width, layers.0.color
OperationHow the new value is combined with an existing attribute value.
DistributionThe method used to generate random values.
FrequencyThe scale or zoom of the noise pattern.
OffsetPans the noise pattern in X and Y.
SeedChanges the random outcome.

Workflow 1: Randomizing Instances

When using Copy to Points, you often want every copy to look unique, randomized. To do this, you must randomize the “seeds” (the points) before the geometry is copied onto them.

By placing the node after the Scatter node, you modify the point cloud (where shapes will be copied onto). When Copy to Points runs, it reads these randomized attributes and applies them to every new instance automatically.

Rect
Circle
Scatter
Points
Attr Randomize
pscale
Points
Copy to Points
Copies

SETUP

  1. Connect source (Scatter) to Attribute Randomize
  2. Set Mode to Points
  3. Target attributes like pscale, rotation, color, other
  4. Change min max values and seed
  5. Connect output to Points input of the Copy to Points node

Note: Attribute Randomize should be used if you need to randomize something more than scale, rotation since Scatter node has this built-in.

Workflow 2: Randomizing Effects Per Shape

You can also use this node to vary the parameters of other nodes per shape. For example, applying a Noise deformer where every shape gets a different noise amplitude or offset.

This creates a “recipe” attached to each shape. When the Noise node processes the shapes, it checks if an amplitude attribute exists. If found, it uses that specific value for that specific shape instead of the global slider.

Rect
Copy/Transform
Attr Randomize
amplitude
Shapes
Noise

SETUP

  1. Connect shapes (from Copy/Transform) to Attribute Randomize
  2. Set Mode to Shapes
  3. Set Attribute Name to the parameter you want to control, for example amplitude
  4. Change min max values and seed
  5. Connect to the effect to Noise node

Supported Downstream Nodes

The following operator nodes are capable of reading attributes created by Attribute Randomize:

Examples

Randomize Color

By setting the Attribute Name to color, you can randomize the color of each instance. The node smoothly interpolates between the Min and Max color values.

Randomize Scale

Setting the Attribute Name to pscale allows you to control the size of each copy. A random value between the Min and Max range is generated for each point.

Randomize Rotation

Using the rotation attribute assigns a random rotation to each instance. This is perfect for breaking up repetition and creating more natural-looking arrangements.

See also