Due to the demonstration purposes of this example, several auxiliary variables were used in the rules-file increasing its size. Rather large step sizes are intentionally also used and consequently only few (six in this case) different output layouts are generated. In a real application this number can be much larger.
| Function | Description |
| translate[LAYER
|
Translates all polygon with layer name LAYER |
| by vector
|
|
| stretchUp[LAYER |
Stretches all polygons of layer name LAYER |
| up by factor
|
|
| stretchDown[LAYER |
The same as above, but down. |
| stretchLeft[LAYER |
The same as above, but left. |
| stretchRight[LAYER |
The same as above, but right. |
| scale[LAYER |
Scales all polygons of layer name LAYER |
| by factor
|
|
| scaleFixedPoint[LAYER
|
Scales all polygon of layer name LAYER |
| but the center remains fixed. | |
| rotate[LAYER |
Rotates all polygons of layer name LAYER |
| by angle
|
|
| rotateFixedPoint[LAYER |
The same as above, but in turn of the |
| center of the polygon. | |
| generateNoise[LAYER |
Makes the polygons of layername LAYER noisy. |
| Noise amplitude= |