L_system_2D simulates the L-system or |
in 2 dimensions.
The recursive principle is the circle of
input string -> production rules -> output string.
The construction rules can be specified/varied in the file,
as well as the initial string and the number of iterations.
The results are plotted with a chosen angle between the
and a chosen length of each axiom.
Brackets '[' save the current position and angle,
to the saved position.
The default setting draws a 'branch', a tree-like structure
plotted with the colours brown and green with 5 iterations.
This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
2004/2005, Stuttgart University.