Function primeSphere

  • Compute coordinates based on sizes of primes that lie on the surface of a sphere offset on the x-axis.

    Parameters

    • equaveIndex: number = 0

      Index of the prime to use as the interval of equivalence.

    • Optional logs: number[]

      Logarithms of (formal) primes with the prime of equivalence first. Defaults to the first 24 actual primes.

    • searchResolution: number = 1024

      Search resolution for optimizing orthogonality of the resulting set.

    Returns {
        depthwiseCoordinates: number[];
        horizontalCoordinates: number[];
        verticalCoordinates: number[];
    }

    An array of horizontal coordinates for each prime and the same for vertical and depthwise coordinates.

    • depthwiseCoordinates: number[]
    • horizontalCoordinates: number[]
    • verticalCoordinates: number[]