external

package
v0.0.0-...-811d298 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SquareSize              = 64 * 7
	NoiseAmplifierRatio int = 30
	EntropyImageSide        = 8 // размер изображения в пикселях (энтропия 8х8 пикселей, всего 64 байта, это под uint64 число)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Artist

type Artist struct {
	// contains filtered or unexported fields
}

func NewArtist

func NewArtist(ai ai) *Artist

func (*Artist) MakeArt

func (a *Artist) MakeArt(
	ctx context.Context,
	artID uint,
	seed uint,
	tags []string,
) (image.Image, error)

type Entropy

type Entropy struct {
	// contains filtered or unexported fields
}

func NewEntropy

func NewEntropy() *Entropy

func (*Entropy) StartEntropyDecode

func (e *Entropy) StartEntropyDecode(ctx context.Context, stream chan image.Image)

Jump to

Keyboard shortcuts

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