1. Home
  2. Docs
  3. Structure Transformer Nodes
  4. Sparse Transform Node

Sparse Transform Node

The sparse is used to modify already defined branch structures on a tree. The directives used are bound and are meant to be applied to a specific hierarchy level of the tree; for example, level 0 means the children branches of the root branch (es) are going to receive the modifications.

Levels List

Holds the directives listed per hierarchy level to be applied to. The list allows up to 5 hierarchy levels to be defined; if the hierarchy level is not present on the tree structure then that directive is simply not processed.

List of sparse properties per hierarchy level.

Reorder Mode

Switch the positions of the existing children branches on their parent, where the parent should match the hierarchy level specified on the list.

Reverse

Reverses the position of the children branches. Does not modify length or direction of the affected branches, but girth might get a new value as this property is position dependent.

Base structure tree.

Tree with reversed child branches for hierarchy level 0.

Random

Randomizes the position of the children branches. This randomization could be fixed using a custom seed on this element.

Base structure tree.

Tree with randomized child branches for hierarchy level 0.

Heavier at Top

Reorders the children branches of a hierarchy level putting the ones with more offspring levels at the top of their parent branch. The “heavier” term means only the levels beyond the affected branch.

Base structure tree with branches up to 3 offspring levels.

Tree with heavier branches at top for hierarchy level 0 children branches.

Heavier at Bottom

Reorders the children branches of a hierarchy level putting the ones with more offspring levels at the base of their parent branch.

Tree with heavier branches at top for hierarchy level 0 children branches.

Tree with heavier branches at base for hierarchy level 0 children branches.

Length Sparsing Mode

Spreads all the children branches of a hierarchy level branch along their parent using a reference value. When length = 1 it uses the whole parent branch, 0 positions all the children branches at top of their parent branch.

Base structure tree.

Children branches for level 0 repositioned ocuppying half its parent branch (value = 0.5).

Tree with children branches of level 0 randomized and with sparse length = 0.25.

Twirl Sparsing Mode

Adds a twirl to the children branches of a level branch around it.

Base structure tree.

Children branches of level 0 with twirl sparse = 1.5.

Was this article helpful to you? Yes No

How can we help?