Generates a bark-like structure by combining two sets of points and adding details.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Creates an instance of the Barkify class.

    Parameters

    • x: number

      The x-coordinate offset for the SVG structure.

    • y: number

      The y-coordinate offset for the SVG structure.

    • branches: [Point[], Point[]]

      A tuple containing two arrays of points representing the left and right branches.

    Returns Barkify

Properties

elements: Element[] = []

An array of Elements.

range: Range = ...

Methods