.. This file is part of the OpenDSA eTextbook project. See
.. http://algoviz.org/OpenDSA for more details.
.. Copyright (c) 2012-2016 by the OpenDSA Project Contributors, and
.. distributed under an MIT open source license.

.. avmetadata::
   :author: Susan Rodger and Cliff Shaffer
   :requires: FL Introduction
   :satisfies:
   :topic: L Systems


L-Systems: Model the Growth of Plants
=====================================

L-systems use a different type of grammar to model the growth of
plants, organisms, and fractals.
You define a grammar and it generates a sequence of strings that get
longer and longer.
Some of the symbols represent graphics such as the drawing of a line,
the changing of direction, etc.

.. odsafig:: Images/LsysGrowth.png
   :width: 400
   :align: center
   :capalign: justify
   :figwidth: 90%
   :alt: L-system growth

   Iterations on a L-system.

.. note::

   DEMO the growth of an L-System tree with JFLAP.

We will study L-systems later in the semester as another application
of grammars.


