• Generates a list of points representing a branch structure.

    Parameters

    • Optional height: number = DEFAULT_HEIGHT

      Height of the branch.

    • Optional strokeWidth: number = DEFAULT_STROKE_WIDTH

      Width of the branch.

    • Optional angle: number = DEFAULT_ANGLE

      Initial angle of the branch.

    • Optional bendingAngle: number = DEFAULT_BENDING_ANGLE

      Bending angle of the branch.

    • Optional details: number = DEFAULT_DETAILS

      Number of details in the branch.

    Returns [Point[], Point[]]

    An array of two lists of points representing the branch structure.