What is L-System?

L-System or Lindenmayer System is a set of rules and symbols that can be used to generate fractal patterns. It was first introduced by the Hungarian scientist Aristid Lindenmayer in 1968 as a way to describe the growth patterns of plants.

L-Systems have since been used to model a wide range of natural phenomena, from the growth of bacteria to the formation of galaxies. In recent years, they have also been used in computer graphics and 3D visualization to create realistic-looking models of trees, plants, and other organic objects.

There are two main components to an L-System: an alphabet of symbols and a set of production rules. The alphabet consists of characters that represent different actions or objects. For example, the characters ‘F’ and ‘G’ might represent the action of moving forward, while ‘+’ and ‘-‘ might represent the action of turning left or right.