Class representing a generator for a fractal tree-like structure.
Constructor for the Tree08 class.
X-coordinate offset of tree08.
Y-coordinate offset of tree08.
Height of the tree.
An array of Elements.
Adds an object to the elements array.
The object to be added to this.elements
Adds an object at the beginning of elements array. This way object will be rendered first, thus being a background.
Private
Recursive function to generate a fractal tree-like structure.
X-coordinate offset.
Y-coordinate offset.
Current depth of recursion.
Initial angle of the tree.
Length of the branches.
Bending angle of the tree.
Class representing a generator for a fractal tree-like structure.