Matlab Database > GUIs, Graphics & Visualization > Fractals > L-Systems 2D

Matlab File(s)

Title: L-Systems 2D
Primary Author: M2-TUM
Other Authors:Marko Grob, Wiebke Heidelberg
E-Mail: matlabdb-AT-ma.tum.de
Institution: TU Munich
Description: L_system_2D simulates the L-system or
string-rewriting-system 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
axioms and a chosen length of each axiom.
Brackets '[' save the current position and angle,
']' returns 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",
Winter term 2004/2005, Stuttgart University.

Keywords: L-System, string, recursive, Rekursion, Regel, rules, fractal, Fraktale
File Name: L_Systems_2D.m
File Size: 4 KB
File Version: 1.0
Matlab Version: 7.0
Date: 2005-02-02
Downloads: 2508
Download File

Upload your own files today! Click here for more information.