plate-engine - v0.1.0
    Preparing search index...

    Type Alias DitherOptions

    type DitherOptions = {
        grain?: number;
        levels?: number;
        method?: DitherMethod;
        progress?: number;
        seed?: number;
        serpentine?: boolean;
    }
    Index
    grain?: number

    Uniform noise of this amplitude added to every cell before quantising. Default 0.

    levels?: number

    Number of output tones, 2 to 16. Default 3.

    method?: DitherMethod

    Default 'bayer8'.

    progress?: number

    0..1: how far the image has "developed" out of dark noise. 1 is the full image. Default 1.

    seed?: number

    Seed for the grain and the develop noise. Default 3.

    serpentine?: boolean

    Error diffusion only: alternate row direction to avoid diagonal drift. Default false.