Digital Design of Nature

Branching Structures

For the modeling of branching structures, L-systems have to be extended. The processing of the string sequence is now accomplished by means of a so-called pushdown automaton. This method contains the possibility to store, and at an­other time again to recall the state of the turtle in a stack. This occurs in such a way that the last stored state is always the first to be read.

In order to implement a pushdown automaton during evaluation of a string pro­duced by an L-system, the current state of the system (x, y, a) must be stored by means of the appropriate stack data structure, and it must also be loadable again. In the text, these operations are represented by two new characters:

[ store current state (x, y, a) on the stack

] load state (x, y, a) from stack

Подпись:Подпись:Подпись: pushdown automatonThe use of a pushdown automaton for branching systems has the advantage that the state of the turtle can be stored before a branching, and after the associated subtree has been drawn it can easily be reloaded again.

Chapter 5 Additionally, for modeling branching structures the L-systems operate on an Rule-Based Modeling extension of the so-far used alphabet V = {F, f, +, -,a,[, ]} by adding more

Подпись: Figure 5.3 Branching structures using Lindenmayer systems: (a)-(b) edge rewriting; (c)-(d) node rewriting Подпись: (b) (c)
Branching Structures Branching Structures

characters that are used for the expansion but, however, are ignored in the graphical interpretation; n is again the number of replacement steps.

Part

n

5

P

(a)

5

25.7°

F

F ::= F[+F]F[-F]F

(b)

4

22.5°

F

F ::= FF - [-F + F + F] + [+F - F - F]

(c)

7

25.7°

X

X ::= F[+X][-X]FX, F ::= FF

(d)

5

22.5°

X

X ::= F[[X] - X]F[+FX] - X, F ::= FF

The systems shown in Fig. 5.3 are generated by two different production meth­ods. The systems in parts (a) and (b) result from expansion of the edges (com­mands F). This is recognized by the fact that in the corresponding productions an F is replaced by a branching. The systems in parts (c) and (d) use the extra letter X that does not have a graphic meaning; it can be interpreted as a node from which a branching evolves.

When analyzing the systems, a problem connected with L-systems becomes evident: their relatively abstract specification. The differences in the forms of the modeled shrubs can not be recognized in the rule systems. Therefore, not only is it difficult to model a specific, given form with an L-system, but it also requires a lot of experience. A further complication is the local model­ing methodology, which L-systems indeed also share with some procedural methods. The total form of a plant is determined here using local angles and distances. Small alterations of these parameters can dramatically modify the total shape of a plant.

Digital Design of Nature

Hydra and Wreath Components

The hydra component multiplies all components attached to the p-graph and places them in a star-shaped arrangement. With the hydra component, the user can define the number and size of …

Horn Component

The geometry produced with the horn component is used as the basis for all types of stems, branches or trunks, and it can additionally be used for the ren­dering of …

Surface of Revolution Component

This component generates an additional geometrical primitive: a surface of rev­olution. The user can edit the silhouette as a polygonal curve as well as deter­mine the resolution in the direction …

Как с нами связаться:

Украина:
г.Александрия
тел./факс +38 05235  77193 Бухгалтерия

+38 050 457 13 30 — Рашид - продажи новинок
e-mail: msd@msd.com.ua
Схема проезда к производственному офису:
Схема проезда к МСД

Партнеры МСД

Контакты для заказов оборудования:

Внимание! На этом сайте большинство материалов - техническая литература в помощь предпринимателю. Так же большинство производственного оборудования сегодня не актуально. Уточнить можно по почте: Эл. почта: msd@msd.com.ua

+38 050 512 1194 Александр
- телефон для консультаций и заказов спец.оборудования, дробилок, уловителей, дражираторов, гереторных насосов и инженерных решений.