L-systems
From GenerativeArt
(Difference between revisions)
m (→How L-systems Grow) |
m |
||
- | + | == Null Symbols == | |
L Systems can also have symbols which have no drawing operations associated with them, but which add to complexity in production | L Systems can also have symbols which have no drawing operations associated with them, but which add to complexity in production | ||
- | |||
- | + | <SPAN STYLE="font-size: larger;"><u>Example</u></SPAN> | |
+ | |||
+ | w: X | ||
p1: X → F[+X]F[-X]+X | p1: X → F[+X]F[-X]+X | ||
p2: F → FF | p2: F → FF | ||
{{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/03.png|caption=Example showing string substitution with symbols}} | {{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/03.png|caption=Example showing string substitution with symbols}} | ||
+ | |||
== Branching Structures == | == Branching Structures == | ||
{{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/book1.jpg|caption=Branching Structures}} | {{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/book1.jpg|caption=Branching Structures}} | ||
+ | |||
== L Systems Combined with Genetics == | == L Systems Combined with Genetics == | ||
+ | |||
+ | |||
L Systems can be combined with genetic programming | L Systems can be combined with genetic programming | ||
* Initial condition, axioms and production rules must be translated into gene representation | * Initial condition, axioms and production rules must be translated into gene representation | ||
== Stochastic L-Systems == | == Stochastic L-Systems == | ||
+ | |||
+ | |||
Like typical L-Systems, but with multiple production rules for a single expression, each with a probability. | Like typical L-Systems, but with multiple production rules for a single expression, each with a probability. | ||
== Context Sensitive Stochastic L-Systems == | == Context Sensitive Stochastic L-Systems == | ||
+ | |||
{{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/book3.jpg|caption=Context Sensitive Stochastic L-Systems rules}} | {{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/book3.jpg|caption=Context Sensitive Stochastic L-Systems rules}} | ||
{{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/book4.jpg|caption=Examples of Context Sensitive Stochastic}} | {{SingleImage|imageWidthPlusTen=460|imageURL=http://www-viz.tamu.edu/courses/viza658/wiki/lsys/book4.jpg|caption=Examples of Context Sensitive Stochastic}} |