wasm-spatial-core
    Preparing search index...

    Function colorizeByHeatmap

    • Colorize points by a heatmap gradient.

      Maps scalar values to a blue→cyan→green→yellow→red color gradient.

      Parameters

      • values: Float32Array of scalar values (one per point)
      • min: Minimum value for the gradient range
      • max: Maximum value for the gradient range

      Returns

      Uint8Array of RGB values [r0, g0, b0, r1, g1, b1, ...]

      Parameters

      • values: Float32Array
      • min: number
      • max: number

      Returns Uint8Array