1681-engine / pixel / pixelTone / registerHandRamps
Function: registerHandRamps() ​
ts
function registerHandRamps(ramps): void;Defined in: src/pixel/pixelTone.ts:67
Gives these colours ramps picked by hand (darkest shade … brightest hi); a colour registered again is replaced.
Parameters ​
| Parameter | Type |
|---|---|
ramps | | Iterable<readonly [number, Omit<Ramp, "base">], any, any> | Record<number, Omit<Ramp, "base">> |
Returns ​
void