### Hot Wood

algorithmic design of a "Würschtlstand"

W.E. Lorenz, G. Wurzer, S. Swoboda. Ziel dieses Entwerfens ist es, Studierenden das algorithmische Denken näherzubringen und die Fähigkeit zu geben nach dem Präzisieren der Problemstellung den sinnvollen Einsatz von Algorithmen im Planungsprozess gedanklich zu erfassen. ...

### Programming for Architects V2019

Anhand von Planungsaufgaben wird ein Grundwissen über die Programmierung vermittelt. Um die Einsatzmöglichkeiten eines selbstgeschriebenen Scripts in Architekturwerkzeugen aufzuzeigen, erfolgt im Speziellen das Erlernen der Syntax von Python und dessen Implementierung in Rhinoceros(R).

Neue Lehrunterlagen

## 3.3 IFS - Iteration Function SystemsIterated function systems, the so-called IFS, again belong to the types of linear fractals like the true mathematical fractals. They are produced by polygons that are put in one another and show a high degree of similarity to nature - such as the fern presented in picture 15. The IFS form the connection between the true mathematical fractals and nature[01] . |

picture 15: A fern and a snowflake The fern: In the case of a fern the copy machine has four different lenses - that is to say four configurations. The first lens reduces the original rectangle, which is made prominent by dotted lines, by a certain factor and places it on top of the image - called “a”. Another lens - rule - replaces the original rectangle by a line on the bottom of the image, which symbolizes the stem of the fern - called “b”. The other two lenses rotate and reduce the form in a certain way - called “c” and “d”. The resulting structure after a couple of iterations looks like a fern. To get such forms we need a computer because the transformations become too difficult after some steps. |

The IFS can be illustrated with the Sierpinski Gasket by its insertion-rules, remember the copy machine of picture 02: a “starting”-square is replaced by three squares of half-size, one situated on the middle top, the other two on the left and right bottom. In the next step each of the three squares is replaced by another three shorter squares and so on. It is not the starting image, in this case a square that influences the resulting picture but the rules itself - see picture 16. The only difference lies in the detail, zooming in on the object will show the different starting objects, except after infinite iterations when those single objects turn to infinitely small ones. In the IFS, the transformation rules can also include rotation, reduction, enlargement, shear and similar rules, which are described in mathematics as affine linear transformations - see chapter “ |

picture 16: Sierpinski Gasket Each of the three lenses reduces the original image by one half. The squares produced by that are placed on the original square in form of a triangle. The result after many iterations shows a structure with the characteristics of the Sierpinski Gasket. For this resulting form, the parameters of the lenses, configurations, are important and not the original form. Therefore a similar Sierpinski Gasket can also be produced by using circles. |

It will require many iterations, runs of insertions, until the single objects, e.g. the rectangles of Barnsley's fern shown in picture 15, cannot be identified any more. In the case of the fern this will take about 50 iterations, which means that rectangles have to be drawn - , with “n” number of transformations, “m” number of iterations and “N” number of elements of the resulting object after “m” iterations[02] . Generating these 50 iterations takes a lot of time even with the assistance of the computer, therefore another method is chosen to get the resulting fern, the so-called " |

picture 17: Chaos Game with a fern The fern on the left side is produced by only four affine transformations, which are given in the table below. The figures are taken from the journal “Scientific American”[ |

Starting the chaos game means to choose any point on the plane and using one of the given functions after the other at random with marking all resulting points. Excluding the first points, where the system has to balance itself out first, will lead to the final IFS-picture. This final form, picture, of using the transformation-rules to is called the attractor of the system. For one and the same setup of an IFS there exists only one attractor, which means it will always lead to the same final picture. If we think about the important influence of the planning stage or the process used to develop a design for painting or architecture the IFS underlines the same large effect of starting rules on the resulting end product[04] . The transformation given above can also be expressed by a polar transformation as follows: |

Some sets of functions and the correspondent values, e.g. for a fern, can be found in "Scientific American”[05] . Representing the same fern in good quality on a television screen requires defining and fixing over a hundred thousand points. This means that if we find the set of functions, the algorithm, of objects we can reduce their quantity of information - this is important in the case of compressing pictures on the computer. How can we get the set of rules for any picture? We choose certain transformations, by trying out on the screen, and apply them to the original image. If they change the image only a little bit, then the resulting image formed by the transformations will be similar to the original one - we have found the right rules. |

## Footnotes[01] IFS which produce forms that look like real plants work like the copy machine, introduced in picture 02. In this sense they belong to the same category of true mathematical fractals as the Sierpinski Gasket. |