Function: lutCoord()
ts
function lutCoord(t, size?): number;Experimental
Texture coordinate for t ∈ [0, 1] so that t = 0 and t = 1 hit the centers of the first and last texels exactly (mirrors the shader).
Parameters
| Parameter | Type | Default value |
|---|---|---|
t | number | undefined |
size | number | COLORSCALE_LUT_SIZE |
Returns
number