fractal

package
v0.0.0-...-f3dafcd Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2013 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fractal

type Fractal struct {
	LowerLeft  complex128
	UpperRight complex128
	Scale      float64
	RGBA       image.RGBA
}

func NewFractal

func NewFractal(lowerLeft, upperRight complex128, scale float64) Fractal

func (Fractal) Apply2All

func (f Fractal) Apply2All(pos2color func(complex128) color.Color)

func (Fractal) At

func (f Fractal) At(x, y int) color.Color

func (Fractal) Bounds

func (f Fractal) Bounds() image.Rectangle

func (Fractal) ColorModel

func (f Fractal) ColorModel() color.Model

func (Fractal) Complex2Point

func (f Fractal) Complex2Point(c complex128) image.Point

func (Fractal) Point2Complex

func (f Fractal) Point2Complex(p image.Point) complex128

func (Fractal) Set

func (f Fractal) Set(x, y int, c color.Color)

Jump to

Keyboard shortcuts

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