transformer

package
v0.0.0-...-b0c59d4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand() *cobra.Command

func Run

func Run(originalParams *TransformerUserParams)

Run is the entry point and where config options will be passed when implemented

Types

type TransformerSketch

type TransformerSketch struct {
	*TransformerUserParams
	// contains filtered or unexported fields
}

type TransformerUserParams

type TransformerUserParams struct {
	DestWidth                int
	DestHeight               int
	StrokeRatio              float64
	StrokeReduction          float64
	StrokeJitter             int
	StrokeJitterRatio        float64
	StrokeInversionThreshold float64
	InitialAlpha             float64
	AlphaIncrease            float64
	MinEdgeCount             int
	MaxEdgeCount             int
	OutputFileType           string
	TotalCycles              int
}

Jump to

Keyboard shortcuts

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