Calculate the data to plot an L-system