Function spanLattice3D

  • Compute vertices and edges for a 2D graph representing the lattice of a musical scale in just intonation.

    Parameters

    • monzos: number[][]

      Prime exponents of the musical intervals in the scale.

    • options: LatticeOptions3D

      Options for connecting vertices in the graph.

    Returns {
        edges: Edge3D[];
        vertices: Vertex3D[];
    }

    Vertices and edges of the graph.