Lsystems¶
Visualizing Lindenmayer system¶
A Lindenmayer system or L-system is a mathematical system that can be used to describe growth process such as the growth of plants. Formally, it is a symbol expansion system whereby rewrite rules are applies iteratively to generate a longer string of symbols starting from a simple initial state. In this notebook, we will see how various types of fractal, including plant-like ones can be generated with L-systems and visualized with HoloViews.
In [1]:
import holoviews as hv
from holoviews import opts
import numpy as np
hv.extension('bokeh')