Documentation ¶
Index ¶
- type Fractal
- func (f Fractal) Apply2All(pos2color func(complex128) color.Color)
- func (f Fractal) At(x, y int) color.Color
- func (f Fractal) Bounds() image.Rectangle
- func (f Fractal) ColorModel() color.Model
- func (f Fractal) Complex2Point(c complex128) image.Point
- func (f Fractal) Point2Complex(p image.Point) complex128
- func (f Fractal) Set(x, y int, c color.Color)
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) ColorModel ¶
func (Fractal) Complex2Point ¶
func (f Fractal) Complex2Point(c complex128) image.Point
func (Fractal) Point2Complex ¶
func (f Fractal) Point2Complex(p image.Point) complex128
Click to show internal directories.
Click to hide internal directories.