Skip to main content

Accumulator

Intro​

Create 'stacks' of Shapes or custom layouts.

When connected to a Duplicator or Sub-Mesh Deformer, the Accumulator will add the number in Value for each Mesh being calculated.

UI​

Value - Set a value to accumulate or connect a Behaviour.

Padding - Add a gap between each Shape.

Offset - Add or subtract a value to the output.

Example
  1. Create a Rectangle.
  2. Click the Button icon on the Deformers attribute and select Align.
  3. Set the Align's X attribute to 1.
  4. With the Rectangle selected, click the Duplicator icon in the Shelf to add it to a Duplicator.
  5. Set the Duplicator's Distribution to Point.
  6. In the Attribute Editor, right click on the Rectangle's Size attribute and choose Add Behaviour > Random.
  7. Set the Random Behaviour's Minimum to 50 and Maximum to 150.
  8. Uncheck the Random's Use Layer as Seed attribute.
  9. Create an Accumulator.
  10. Connect accumulator.id→duplicator.shapePosition.x.
  11. Connect rectangle.size.w→accumulator.value.

The Rectangles are positioned side by side, respecting each others width. Try increasing Count on the Duplicator or changing the Seed on the Random Behaviour.