mandel

package module
v0.0.0-...-4abfdc4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

Tiny Go Library to paint mandelbrot images

Documentation

Overview

Package mandel is a package to generate mandelbrot images

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mandel

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

Mandel holds essential infos

func NewMandel

func NewMandel(max int) (m Mandel)

NewMandel creates a new instance max is the iteration depth

func (*Mandel) Pic

func (m *Mandel) Pic(p complex128, d float64, steps int) image.Image

Pic computes a mandelbrot tile a p size d with steps steps

Jump to

Keyboard shortcuts

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