This demo draws a variety of fractals based on L‑system grammars (find the dropdown in the 'Interact' panel to switch). Most examples are taken from the book 'The algorithmic beauty of plants'.

D0L is a subtype of L-system grammars. The initial string or `axiom` is generation 0. Successive generations are created by applying replacement rules or `productions` on the current string. The string contains 'turtle drawing' instructions. Here's an overview, the amount of degrees δ may vary per drawing:

Draw forward
Move forward
Turn left by δ degrees
Turn right by δ degrees

source / @courier10pt


Select a 'spec' to view a different fractal. Feel free to change some values and experiment. Just press 'Apply changes' and see what happens :)