The AAT generation program flow is illustrated below: you select a color palette, an initial AAT model and some basic parameters using sliders. Then you click on the RUN button and you obtain as outcomes the final AAT model, an image with the renderization of the AAT, and another renderization including symmetry.
The initial AAT model is described by a pretty large collection of parameters that you can edit in an editable text file. Initially you do not need to pay attention to the content of this text file because the AAT model can also be modified in a simplified way using a few number of sliders. When you click on the RUN button the program collect the information of the initial AAT model, the selection on color palette and parameters and generates a new AAT model which is used to render the AAT. This new AAT model is described in a non-editable text file.
We propose an experimental learning model. To get familiar with the interface capabilities, we suggest to the user to select any of the AAT model that we include as examples, modify some of the AAT parameters using the sliders, run the program and see the effect of the parameter selection in the outcomes. At the beginning of the online interface you have access to the demo "Archive" where you can access and reconstruct any experiment performed with the online interface. In the following sections we will explain in more details the different steps of the AAT generation. Once you get familiar with the interface, to make the most of the interface capabilities you need to learn how to modify the AAT model using the editable text file. This is the "expert mode" that we will explain in details in the last section.
Using the "Upload data" button you can also upload your own basic shapes to generate your AAT. A shape is given by an image containing a black silhouette in a white background. Below you can find two examples of shapes you can test
You can upload a single shape (in an image format) or a collection of shapes in a compressed file.
There are three ways to select your initial AAT model:
You can edit the basic shapes used to built the AAT by selecting an option in the associated slider (see fig. above) or by uploading your own collection of silhouettes using the "Upload data" button (see above). The default option "No shape modification" means that you use the default value defined in the initial AAT model. When you select a shape with the slider, the AAT generator is going to use the same type of shapes everywhere. In the expert mode we will see that you can combine different shapes in the composition. You can even combine shapes provided by you as silhouettes with the shapes provided in the interface. Below we show a figure to illustrate the results obtained with two different shape selection configurations
"Change the resolution" slider allows to modify the AAT resolution scale. (the lower the resolution the smaller the shapes)
Reshuffle shapes : this option generates a similar AAT changing the random shape positions
Reassign colors : without changing the palette, the assignment of colors to shapes is randomly modified.
Change drawing order : change the order the shapes are drawn.
To make the most of the AAT generator interface you need to understand the AAT model parameters which are editable in the editable text area of the input AAT model. Most of the parameters are understandable by experiment. We invite the user to select one of the proposed AAT models, modify their parameters in the editable text area, click on the RUN button and see the effect of the modification in the outcomes.
The first thing you have to understand is the tree organization of the AAT parameters. In the figure below you can find an example of such tree organization for a particular AAT model. In this case we can observe that the first level of the tree (nodes 0 and 1) are composed by a central rectangle and one external strip band. The next level of the tree is given by the nodes 0:0 and 0:1 which are children of the node 0 and the node 1:0 which is a child of node 1. Finally in the third level of the tree we have the node 0:1:0 which is a child of the node 0:1. (notice that we use the symbol ':' to indicate in a compact way the node tree level information). The first level of the tree (nodes 0 and 1) do not contain shapes. It just represents an initial subdivision of the AAT. Currently the interface allows an initial subdivision based on a central rectangles an any number of consecutive border stripe bands (the information about such initial subdivision is included in the HEADER of the AAT parameter file. For each one of the rest of nodes (nodes 0:0, 0:1, 1:0 and 0:1:0) we have to define shapes, composition rules and rendering properties used to fill the shapes of the parent node.
Next we explain in details the parameters (in red) of the HEADER of the AAT parameter text file using as example the AAT of the figure above.
IMAGE ASPECT RATIO = 1.43 (the ratio between the AAT width and height)
NORMALIZED IMAGE HEIGHT = 1 (The normalized image height is always 1. All other length parameters in the image (point coordinates, diameters, thickness, distance) refer to this unit.)
BORDER THICKNESS = 0.160 (thickness of Persian carpet type stripes. They are separated by symbol :, for example 0.02:0.04:0.02). This parameter determines the first level of the data tree organization. The initial subdivision of the AAT image is given by a central rectangle and a number of border stripes fixed by this parameter.
DEFAULT COLOR PALETTE IMAGE = * (an image with the default color palette. It is optional, if the file exists it is used to color all shapes). This parameter is only used when the user upload her/his own color palette image.
BACKGROUND COLOR OF THE CONTAINER RECTANGLE AND THE BORDER STRIPES. To assign RGB background colors is not mandatory. If this information is not filled then the program will assign to the backgrounds random colors
R = 233:86:210:86:80:233 (red channel of the rectangle and stripes separated by symbol :)
G = 177:100:1:100:96:181 (green channel of the rectangle and stripes separated by symbol :)
B = 0:177:6:177:173:11 (blue channel of the rectangle and stripes separated by symbol :)
LIGHT SPOT OF THE CONTAINER RECTANGLE = -1.000 (if nonpositive no light spot effect is applied, otherwise usual value ranges from 0.5 to 8.). Light spot is a render effect where the color intensity is attenuated according to the distance to a light spot center. The larger is the value of this parameter, the stronger the color intensity attenuation.
LIGHT SPOT CENTER x COORDINATE = 1.26
LIGHT SPOT CENTER y COORDINATE = 0.41
HEIGHT OF THE GENERATED IMAGE IN PIXELS = 2048. This parameter determines the height of the AAT image renderization. The width will be fixed according to the IMAGE ASPECT RATIO parameter.
ORDER TO DRAW SHAPES = 0 (if negative shapes are drawn in a random way. Otherwise they are drawn in the order they have been built)
RESOLUTION OF THE TEXTURE = 1.00 (the lower the resolution the smaller the shapes, the default value is 1, it can range from 0.1 to 4.). This parameter is used to change simultaneously the size of the shapes in all nodes.
For each child node (0:0, 0:1, 1:0, 0:1:0, etc..) we have to include a description of the composition rules and rendering properties we use for the node. You can freely remove/add nodes configuration using copy-paste of any node configuration of any proposed AAT model. Next we explain in details the node parameters (in red) using as example the node 0:0 of the AAT illustrated in the figure above.
DEPTH OF THE NODE = 0:0 (depth of node index separated by symbol :)
RANDOM SEED = 1688290069 (random seed to initiate random sequence in this node ( = )). By changing the value of this parameter you will obtain a similar AAT but sorting the shapes in a different way.
BASIC SHAPE = 43 This parameter represent the index of the basic shapes used in this node. Using the slider "Change the basic shape" in the online interface you can see the index associated to each shape. The default shape database provided by the program contains 43 shape types. If you have uploaded your own shapes using image silhouettes, then the indexes for these new shapes start in 44. Index 44 means that you will use all shapes you have uploaded, index 45 means the you will use only the first shape you have uploaded, etc.. Notice that for technical reasons, the shapes you upload do not appear as option in the slider "Change the basic shape".
SHAPE DIAMETER = 0.050 (default shape diameter size. The number of shapes to include is computed to cover the father shape using such shape diameter. The smaller the shape diameter, the larger the number of shapes)
SHAPE LOCATION DISTRIBUTION = 1 (0: random, 1: square grid, 2: hexagon grid, 3: Delaunay, 4: shapes centered in stripes of Persian carpets 5: contouring 6: Mondrian type). This parameter determines the way the shapes are distributed in the parent node. Next we show a more detailed description of the options: