L-systems: Difference between revisions

From JSXGraph Wiki
No edit summary
Line 1: Line 1:
===Lindenmayer Systems===
===Online exxperiments with Lindenmayer Systems===
A Lindenmayer System consists of
A Lindenmayer System consists of
* an initial string called ''axiom''
* an initial string called ''axiom''
* a set of rewriting ''rules''
* a set of rewriting ''rules''


This is an experimental page, where the Lindenmayer Systems can be changed online.
This is an experimental page, where the Lindenmayer Systems can be changed online. The visualization is done by the JavaScript library [http://jsxgraph.org JSXGraph].
For each system a maximum ''level'' is defined. If this value is increased, the complexity of the drawing rises and running time increases, too.
For each system a maximum ''level'' is defined. If this value is increased, the complexity of the drawing rises and running time increases, too.



Revision as of 12:23, 3 January 2009

Online exxperiments with Lindenmayer Systems

A Lindenmayer System consists of

  • an initial string called axiom
  • a set of rewriting rules

This is an experimental page, where the Lindenmayer Systems can be changed online. The visualization is done by the JavaScript library JSXGraph. For each system a maximum level is defined. If this value is increased, the complexity of the drawing rises and running time increases, too.

Most of the examples are from the book by Przemyslaw Prusinkiewicz and James Hanan: Lindenmayer Systems, Fractals, and Plants, see the References.

Sierpinski curve



Quadratic snowflake variation


Dragon curve


Islands and lakes



Peano curve


Hexagonal Gosper curve


Plant 1


Plant 2


Hexagonal kolam


Mango kolam



Penrose tiling


References