







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








































iv
This report gives a concise insight into the work done, under the heading “FloralGenre”. In this report, I have tried and made an attempt to convey the milestones reached so far. First section of this report gives an overview of the project delivering the purpose, aims & objectives. The second chapter presents a brief summary of the work done in the earlier phases of the project. Subsequently, coming towards the current work done, the modeling of phyllotaxis and plants organs alongwith the simulation is presented. The report concludes with a brief chapter discussing the subsequent goals, the achievements up til this point and the encountered problems and their solutions.
v
2
work therefore constitutes the exploration and study of the modeling of plants using the L- systems , thus probing the plant modeling domain in detail.
Modeling fractal structures based on DOL and context-free L-systems Modeling plant structures based on the basic L-systems classes Modeling plant organs based on advanced L-systems classes Construction of algorithms for each L-systems class Coding of the algorithms in 2D and 3D Development of a GUI for the rendering of structures
3
This chapter carries a brief review of the previous project work done, that is the work carried out in the earlier phases. Owing to the fact that modeling of plants alone would be a massive chore the project went through several transitions. Howerver, the task at hand were accomplished in time. The project as per the gantt chart submitted with the project proposal comprises of some four phases. A précis follows in the remaining of the chapter.
This phase is none other than the project undertaking phase or phase 0. During this time I made an attempt to understand the subject matter and the topic. As the project involved research rather than development, so I tried to explore the areas that required further study. By the midst of this phase it could easily be concluded that modeling of plants requires technique with minimum complexity level. One such technique i.e. L-systems, amongst the many exisiting techniques was found which makes use of the idea of rewriting from chomsky grammar. Now my task was to study the technique and carryout experimentation in different modelers, study the resulting structures, make models of my own, and hypothesize. Further, based on the input, I was supposed to develop algorithms for generation of plant structures using this technique and code them. Project scope and objectives were laid by the end.
Modeling and simulation of Plants – the idea, techniques, implications, applications. L-systems – Background, logic, origin of the idea, applications. Chomsky‟s formal grammar, strings and rewriting, rules, productions. Rewritng of L-systems strings & self-similarity. Self-similarity & plants. Fractals theory & self-similarity, rewriting & L-systems. LOGO, Lisp & Turtle Interpretation.
5
Impact of stochastics and randomization. Different classes of L-systems. Axial trees and modified turtle interpretations. Modeling of trees.
This phase being the longest of the phases included the maximum development and experimentation work.
First a simple modeler (FloraL) was implemented for the deterministic and context free L-systems (DOL). FloraL went through several transitions to include node and edge rewriting. A randomization class was included to add the porbability and hence the resulting stochastic L-systems. The program then converted to bracketed L-systems. The final version of this modeler plus render program comprised of all the previous source codes. Some 48 models of both fractals and plants were simulated in the L-studio.
Project monthly plan – Submitted to supervisor Literature Reviews – Submitted to supervirsor Progress Report – Submitted to supervirsor & examiners
The phase started in the midst of 7th^ semester and ended by the end of 7th^ semester. The structures resulting from the classes explored earlier in phase 2 were not realistic-looking. This lend to the idea that plants and other organisms in nature have a certain developmental process which drives the overall development and is responsible for the resulting shape of the particular organism. Exploring it further as in plants it was found that the basis of all growth sequences comes from the herbaceous plants. They botanical
6
termonology and generations were studied and the theories transalted into the L-systems language.
The different levels of models specification were lined up. It was found that out of these specifications the most simplest and working specification is that of partial L-systems as far as the understanding of models is concerened. The branching structures were explored based on which the models of inflorescences were built. The phase conculded with the generation of a generator algorithm which was based on the branching patterns explored ealier in this phase. This generator proved to be quite helpful in the understanding of the developmental models in plants.
Signaling & control-mechanisms in plants. Environmental factors & their impact on the plant forms and growth. Different specifications for L-systems models. Branching patterns in botnay and their L-system counter-parts. Herbaceous plants and their growth sequences (Inflorescences).
A generator code was developed based on the developmental models. The code took input from the user and generated the L-systems. These L-systems were given to the FloraL to simulate the models. Several plant strucutres based on user input can now be generated without a knownledge of L-systems. The Mycelis Muralis model for the polypodial structure was studied in detail in L- studio. The developmental process translated and explored. Models of inflorescences simulated and studied in the L-studio and FloraL.
Project monthly plan – Submitted to supervisor Literature Reviews – Submitted to supervirsor Progress Report – Submitted to supervirsor & examiners
8
This chapter presents the workdone from the submission of the last project report to date. Starting off with a list of work done during this time period the chapter will scroll through the details of all the modeling and experimentation work alongwith the research & exploration been carried out till now.
Based on the work done earlier uptil phase 2 quite much was alreaady covered. Also, the development of the L-systems generator was still not addressed in the form of documentation and purpose adequately. So, ensuing a lengthy exploration process the different existing techniques were studied and the technique used in the FloraL L-systems generator compared and put in black and white. The draft went through many transitions and anticipates to be published as a research paper. The quantification of work regarding this research could be seen as follows: Person-hours: 21- 35 hours per week (approx.) Papers-read: 36 (exact figure, details in the appendix) Journals-read: 3 (exact figure, details in the appendix ) Net-exploration: 15-28 hours per week (approx.) Writing: Paper (2 Drafts)
This phase comprises of modeling the plant organs like leaves, fruits and flowers. Unlike the branching patterns, modeling and simulation of these organs is a difficult task. The arrangement of these organs is an important aspect of the plant form.
Plant organs are often arranged in spiral patterns, this effect is known as phyllotaxis. Well known examples include the layout of seeds in a sunflower head and the arrangement of scales on a pineapple. The modeling of the phyllotaxis ranges from simple geometric
9
descriptions to complex physiological ones. The two models suitable for image synthesis of spiral phyllotaxis patterns are planar and cylindrical model. These models are descriptive models. Descriptive models attempt to capture the geometry of phyllotactic patterns [2]. Both models relate phyllotaxis to packing problems [1]. Phyllotaxis is in accordance with rather interesting mathematical relationships. Erickson mentions in his paper “The geometry of Phyllotaxis”: “..remarkable fact that the numbers of spirals which can be traced through a phyllotactic pattern are predominantly integers of the Fibonacci
sequence.” [3]. The Fibonacci angle 360 ◦τ−^2 , approximately equal to 137_._ 5 ◦ , is the basis
of the first model discussed henceforth.
This model was consturcted by Vogel. He proposed the following formula for the description of the floral patterns inside a sunflower‟s head:
φ = n ∗ 137****. 5 ◦^ , r = c√n, here, φ : angle between a reference direction and the position vector of the nth floret in a polar coordinate system originating at the center of the capitulum n : a floret‟s ordering number. In a real plant its the reverse floret age r : distance between the nth floret and the center of the capitulum
Figure 3. 1 Floret patterns in a sunflower according to Vogel’s formula
Using the formula one distribution is shown in figure 3.1.
11
Figure 3. 3 A daisy capitulum
Figure 3.3 shows the capitulum of a daisy. Starting off from the center there are a total of 21 anti-clockwise spirals and 34 clockwise spirals. The sun-flower shown in Figure 3. comprises of 34 clockwise spirals and 55 anti-clockwise ones. The number of perceived spirals depends on the capitulum size expressed in terms of the number of component florets. If the field of attention is limited to a circle approximately 2/3 the size of the entire sunflower capitulum in Figure 3.4, the number of discernible spirals becomes 34 and 21.
Figure 3. 4 Domestic sunflower head
12
The basic models could be extended to come up with various shapes. Other examples of the phllotaxis using the planar model include zinnias (Figure 3.5) and water lily‟s (Figure 3.6).
Figure 3. 5 Zinnias
The zinnias illustrate the effect of changing a petal‟s altitude, size and orientation as a function of n [1]. This could be seen in Figure 3.5. As „ n‟ increases, the height at which a petal is placed decreases by a small amount. There is a linear incrementation in size of each petal. Hence, petal with small values of „n‟ would be placed rather vertically and those with small index values of „n‟ would be more horizontal. The planar model could be applied to flowers like water-lilies etc (Figure 3.6). This is further explained in the experimentation section.
Figure 3. 6 Water Lily
14
#define a 137.5281 // divergence angle #define h 35.3 // vertical displacement #define r 500 // component offset from main axis #include D //disk shape specification ω : A
The L-system given above simulate the process of subapical development characterized by sequential production of consecutive modules by the apices of the growing plant or organ. The apex A produces internodes f ( h ) along the main axis of the modeled structure.
offset is achieved by moving the disk away from the axis using the module f ( r ),positioned at a right angle with respect to the axis by &(90). The spiral disk distribution is due to the module / ( a ), which rotates the apex around its own axis by the divergence angle in each derivation step. The patterns could be explained in terms of cirlces packed on the surface of the cylinder.
An evident parastichy consists of a sequence of tangent circles, the ordering numbers of which form an arithmetic sequence with difference m. The number m is referred to as the parastichy order. Thus, the circles on the cylinder surface may be arranged in two congruent 2-parastichies, five congruent 5-parastichies, and so on.
Figure 3. 8 An opposite parastichy triangle
Pertinent Geometric Relations
Let δm be angular displacement between two consecutive circles with a range of ( −π, π ] radians. The angle of divergence is represented by α. Then the relationship between the two could be expressed as:
15
It is defined by the generative helix between two consecutive points of the m-parastichy. Owing to the fact that two parastichied are percieved, the diplacement for the other one would be defined in a similar way:
If the m and n parastichies start at circle 0, they will interscent again at circle mn. Consequently, the path from circle 0 to mn along the m -parastichy, and back to 0 along the n -parastichy, encircles the cylinder exactly once.
Construction of a phyllotaxis pattern
The section of m -parastichy between circles 0 and mn consists of n +1 circles (including the endpoints), so the angular distance between the circles 0 and mn is equal to nδm. Similary for n-parastichy we have mδn. Therefore ,
Putting the values of mδn and nδm in equtations (1) & (2), we get:
Figure 3.8 demonstrates the two parastichies and the circumference of the cylinder passing through point 0 forming a triangle. Let „d‟ be the diameter then applying pythagoras theorem, we get:
and,
Solving the two equations for „h‟ & „d‟, we get:
h = √( δ^2 m − δ^2 n ) / ( n^2 − m^2 ) (5)
d = √( n^2 δ^2 m − m^2 δ^2 ) / ( n^2 − m^2 ) (6)
Or taking into consideration equation (3) we have: