Skip to content

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 ​

ParameterType
ramps| Iterable<readonly [number, Omit<Ramp, "base">], any, any> | Record<number, Omit<Ramp, "base">>

Returns ​

void

Released under the MIT License.