-
Notifications
You must be signed in to change notification settings - Fork 50
Treemap Brush
Lachlan McDonald edited this page May 11, 2022
·
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.
Parameter | Description |
---|---|
Mode | Color mode (see below) |
Direction | See below |
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: 0
|
Mode: 1
|
Mode: 2
|
---|---|---|
Clusters height and colors are generated at random | Clusters height and colors are based on the cluster area | Same as mode 1 but in reverse |
View the shaders below or download the latest release:
All content in this wiki is licenced under the CC BY-NC-SA 4.0 license. Code snippets are dual-licenced under the MIT License.