dithering

package
v0.0.0-...-61b0527 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BayerMatrix

type BayerMatrix struct {
	BayerSize   int
	BayerMatrix [8][8]uint8
}

func UseBayerMatrix

func UseBayerMatrix() BayerMatrix

func (BayerMatrix) Dither

func (bayerMatrix BayerMatrix) Dither(asciifxObj *asciifx.AsciiFx)

type FloydSteinberg

type FloydSteinberg struct{}

func UseFloydSteinberg

func UseFloydSteinberg() FloydSteinberg

func (FloydSteinberg) Dither

func (floydSteinberg FloydSteinberg) Dither(asciifxObj *asciifx.AsciiFx)

type Random

type Random struct {
	RandomThreshold uint8
}

func UseRandom

func UseRandom() Random

func (Random) Dither

func (random Random) Dither(asciifxObj *asciifx.AsciiFx)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL