L-systems
From GenerativeArt
(Difference between revisions)
{{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 == | ||
+ | |||
+ | {{SingleImage|imageWidthPlusTen=460|imageURL=http://philipgalanter.com/howdy/resources/fractal/lsys5.jpg|caption=Branching Structures}} | ||
+ | |||
+ | == L Systems Combined with Genetics == | ||
+ | L Systems can be combined with genetic programming | ||
+ | * Initial condition, axioms and production rules must be translated into gene representation | ||
+ | * Genetic operations must be adapted for L System genes | ||
+ | ** Mutation: like Karl Simms, define mutations to parse and substitute so mutations do not "break" the grammar. | ||
+ | ** Crossover: more complicated, allow for example, rule swapping. | ||
+ | |||
+ | This is an important conceptual leap than having genes for a specific phenotype (e.g. "red" or "tall") L-System genes would specify a mechanism which then creates form. Much more like real DNA. |