plot_l_system()
with plot.l_system()
so it is more consistent with the plotting methods of the other fractals.grow_l_system()
and convert_l_system()
into l_system()
.l_system()
optionally returns additional information for all lines: length, angle, and stack depth. This is useful for plotting, maybe change the color depending on line length.remove_duplicates
to l_system()
.order
to n
in dragon_curve()
and also allowed a value of 1.n
in rotate()
and made it a required argument. Now a negative value rotates clockwise and a positive rotates counterclockwise. This is more consistent with the angles in a unit circle.rotate.default()
to rotate.matrix()
to make it more generally applicable for matrices and prevent unintended usage with wrong classes.radians()
to conveniently convert from degrees to radians.NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.