brot

package
v0.0.0-...-df1cb85 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	WG              *sync.WaitGroup
	ColorPalette    string
	ColorStep       float64
	XPos            float64
	YPos            float64
	Width, Height   int
	ImageSmoothness int
	MaxIteration    int
	EscapeRadius    float64
	OutputFile      string
}

func (*Service) InterpolateColors

func (s *Service) InterpolateColors(paletteCode *string, numberOfColors float64) []color.RGBA

func (*Service) Render

func (s *Service) Render(maxIteration int, colors []color.RGBA, done chan struct{})

Jump to

Keyboard shortcuts

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