mandelbrot

package
v0.0.0-...-dd68339 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

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

Image defines a Image set

func (Image) Bound

func (m Image) Bound() float64

func (Image) IterateWhileNotReachingBound

func (m Image) IterateWhileNotReachingBound(c complex128) (iterations uint16)

func (Image) MaxIterations

func (m Image) MaxIterations() uint16

func (Image) String

func (m Image) String() string

type ImageBuilder

type ImageBuilder struct {
	Image
}

func NewImageBuilder

func NewImageBuilder() *ImageBuilder

func (*ImageBuilder) Build

func (ib *ImageBuilder) Build() Image

func (*ImageBuilder) SetBound

func (ib *ImageBuilder) SetBound(bound float64) *ImageBuilder

func (*ImageBuilder) SetMaxIterations

func (ib *ImageBuilder) SetMaxIterations(maxIterations uint16) *ImageBuilder

Jump to

Keyboard shortcuts

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