L-systems

From GenerativeArt

(Difference between revisions)
Jump to: navigation, search
 +
__FORCETOC__
 +
L-systems are used to describe and generate branching structures or geometric objects that exhibit self-similarity.  Such structures may be 2D, 3D, or potentially in higher dimensions.  L-systems are frequently used to generate computer graphic renderings of trees, bushes, grasses, and other plant life.  L-systems can also be used in the exploration of fractals.
 +
 +
The "L" in "L-system" refers to its inventor <em>Aristid Lindenmayer.</em>  Such systems produce a string expression that can be rendered into graphics.  The string is essentially a series of commands for moving a virtual pen.  The commands are executed from left to right.  (From a historical perspective this is similar to Logo's "turtle graphics").
 +
== Rendering L-system Command Expressions ==
== Rendering L-system Command Expressions ==
-
 
<SPAN STYLE="font-size: larger;">Introductory example </SPAN>
<SPAN STYLE="font-size: larger;">Introductory example </SPAN>
 +
<br><br>
-
 
+
To render an L-system expression both a set of system constants and a set of command symbols must first be defined.  The following example demonstrates the rendering of a typical basic L-system result.
-
The "L" in "L-system" refers to its inventor <em>Aristid Lindenmayer.</em>
+
<br><br>
-
 
+
-
An L-system is a grammar based system for describing and generating branching structures that usually exhibit fractal-like self-similarity. 
+
-
 
+
-
Such systems produce a string expression that can be rendered into graphics.  The string is essentially a series of commands for moving a virtual pen.  The commands are executed from left to right.  (From a historical perspective this is similar to Logo's "turtle graphics").
+
-
 
+
<SPAN STYLE="font-size: larger;"><u>System Constants</u></SPAN>
<SPAN STYLE="font-size: larger;"><u>System Constants</u></SPAN>

Revision as of 20:45, 18 September 2009

Personal tools