art

package
v0.0.0-...-7fffe11 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Root folder of this project
	Root = filepath.Join(filepath.Dir(b), "../")
)

Functions

func ClearScreen

func ClearScreen() string

func MoveCursor

func MoveCursor(row, col int) string

Types

type Mode

type Mode int
const (
	AsciiText Mode = iota
	AnsiText
	AnsiBlock
)

type Solver

type Solver struct {
	Convert func(image2 image.Image) string
	// contains filtered or unexported fields
}

func NewSolver

func NewSolver(width, height int, contrast, sigma float64, seq string, mode Mode) (as *Solver)

func (*Solver) TuneImage

func (as *Solver) TuneImage(src image.Image) *image.NRGBA

Jump to

Keyboard shortcuts

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