Skip to content

Treemap Brush

Lachlan McDonald edited this page Feb 18, 2023 · 9 revisions

The treemap brush generates a treemap pattern by randomly dividing the area until a limit on the number of iterations or size is reached.

Parameters

Parameter Description
Mode Color mode (see below)
Direction Facing direction
Iterations Maximum number of iterations to perform. The number of iterations affects the size of the pattern, with smaller iterations producing larger clusters, and vice versa.
Min Size Attempt to enforce a minimum size to avoid narrow or tiny clusters.
Bias Values closer to 0 bias towards the X-axis, and values closer to 100 bias towards the Y-axis. A value of 50 will produce a even bias betwee both axes.
Edge Adjusts the edge between clusters. If 0, there is no edge.
Seed Global seed

Mode

Example of a 'Mode' value of 0 Example of a 'Mode' value of 1 Example of a 'Mode' value of 2
Mode: 0 Mode: 1 Mode: 2
Colors are selected at random Colors are selected based on the height of each region Reverse of 1
Example of a 'Mode' value of 3 Example of a 'Mode' value of 4
Mode: 3 Mode: 4
The colors are spread over the height of each region as a gradient Reverse of 3

Iterations

Example of a 'Iterations' value of 4 Example of a 'Iterations' value of 8 Example of a 'Iterations' value of 16
Iterations: 4 Iterations: 8 Iterations: 16

Edge

Example of a 'Edge' value of 0 Example of a 'Edge' value of 28
Edge: 0 Edge: 28

Bias

Example of a 'Bias' value of 20 Example of a 'Bias' value of 50 Example of a 'Bias' value of 80
Bias: 20 Bias: 50 Bias: 80

Download

View the shaders below or download the latest release:

Clone this wiki locally