ramp function
A color at `t` 0..1 along stops, blended in OKLab so the steps look even.
import { ramp } from '@dioramajs/data/heatmap'function ramp(stops: readonly Color[], t: number, out?: Color): ColorParameters
| Name | Type | Description |
|---|---|---|
stops | readonly Color[] | |
t | number | |
out? | Color | Default |
Defined in packages/data/src/heatmap.ts.