#Skip to menu

Draw fractals using L-system

First read the problem description.

A easy way to draw fractals is to produce a string using an L-system and to interpret each symbol in the string as a drawing operation, thus using turtle graphics. For an interesting description of L-systems and their brief history see Chapter 1 of The algorithmic beauty of plants. Here are some examples of fractals:


Source code of the solution(s):