colormapToInterpolator
function
- Kind
- function
- Source
- src/colors/colormaps.js:449
Description
Resolve a colormap to an interpolation function.
Signature
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
input | string|Function|Object | Colormap reference. |
Returns
Function that maps 0..1 values to colors.
Function|null