field

package
v0.0.0-...-a7d69a5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Width     int
	Height    int
	StartSide side.Side
	Animate   bool
	Output    output.Output
	Start     *node.Node
	End       *node.Node

	Nodes [][]*node.Node
	// contains filtered or unexported fields
}

func New

func New(width, height, scale int, startSide side.Side, out output.Output, animate bool, function string) *Field

func (*Field) Gen

func (f *Field) Gen()

func (*Field) Repr

func (f *Field) Repr() [][]uint8

func (*Field) String

func (f *Field) String() string

func (*Field) WriteFrame

func (f *Field) WriteFrame() error

func (*Field) WriteImage

func (f *Field) WriteImage(name string) error

func (*Field) WriteText

func (f *Field) WriteText()

Jump to

Keyboard shortcuts

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