Preparing search index...
The search index is not available
SCI.js
SCI.js
@4bitlabs/color
Dithers
generatePairs
Function generatePairs
Generate 256 dither pairings for all CGA pair combinations from a given palette.
generate
Pairs
(
source
,
...
transforms
)
:
DitherPair
[]
Parameters
source
:
Readonly
<
Uint32Array
>
|
(
(
entry
:
number
)
=>
DitherPair
)
Rest
...
transforms
:
DitherTransform
[]
Returns
DitherPair
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SCI.js
Loading...
Generate 256 dither pairings for all CGA pair combinations from a given palette.