Information Technology Reference
In-Depth Information
(2) B ŗ A
(3) C ŗ DA
(4) D ŗ C
If apply these rules to the initial seed structure “A”, we can get the structural
sequence as shown below:
time structure rules applied
0 A initial “seed”
1 C B rule 1, replaces A with CB
2 D A A rule 3, replaces C with DA; rule 2, replaces B with A
3 C C B C B rule 4, replaces D with C; rule 1 twice, replaces A
with CB
4 …
L-Systems combine with meta-symbols to represent branching points,
allowing a new line of symbols to branch off from the main “stem”. The symbols
“( )” and “[ ]” indicate left and right branches, respectively. Suppose there are the
following rules:
(1) A ŗ C[B]D
(2) B ŗ A
(3) C ŗ C
(4) D ŗ C(E)A
(5) E ŗ D
If apply these rules to the initial seed structure “A”, we can get the structural
sequence as shown below:
time structure rules applied
0 A
initial “seed”
1 C[B]D
rule 1.
2 C[A]C(E)A
rules 3,2,4.
3 C[C[B]D]C(D)C[B]D rules 3,1,3,5,1.
4 C[C[A]C(E)A]C(C(E)A)C[A]C(E)A rules 3,3,2,4,3,4,3,2,4.
Search WWH ::




Custom Search