Function alignBezierCurves

  • Make two bezier arrays aligns on structure. To have better animation.

    It will: Make two bezier arrays have same number of subpaths. Make each subpath has equal number of bezier curves.

    array is the convert result of pathToBezierCurves.

    Parameters

    • array1: number[][]
    • array2: number[][]

    Returns any[][]