L-systems: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 124: Line 124:
</html>
</html>


* [Quadratic snowflake variation]


===Quadratic snowflake variation===
===Quadratic snowflake variation===
Line 504: Line 505:
[[Category:Fractals]]
[[Category:Fractals]]
[[Category:Turtle Graphics]]
[[Category:Turtle Graphics]]
[[Category:Lindenmayer systems]]

Revision as of 17:03, 2 February 2009

Online experiments 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]

Quadratic snowflake variation


Dragon curve


Islands and lakes



Peano curve


Hexagonal Gosper curve


Plant 1


Plant 2


Hexagonal kolam


Mango kolam



Penrose tiling


The underlying JavaScript code

The underlying JavaScript code for producing Lindenmayer systems

References