mandelbrot

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 2 Imported by: 0

README

Mandelbrot

Mandelbrot set library.

Go Reference

Documentation

Overview

Package mandelbrot provides utilities to compute the Mandelbrot set.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(complex128) Result

Func represents a function that computes the Mandelbrot set for a given point.

func New

func New(maxIter int) Func

New returns a new Func.

func NewPow

func NewPow(maxIter int, pow float64) Func

NewPow returns a new Func that uses the given power.

type Result

type Result struct {
	Bounded bool
	Iter    int
	Abs     float64
}

Result represents a result of the Mandelbrot set computation for a point.

Directories

Path Synopsis
cmd
Package cmd contains common utils for commands.
Package cmd contains common utils for commands.
color
Package color provides an example of rendering a colored Mandelbrot image.
Package color provides an example of rendering a colored Mandelbrot image.
explore
Package explore provides an example of exploring the Mandelbrot set.
Package explore provides an example of exploring the Mandelbrot set.
httpserver
Package httpserver provides an HTTP server for the Mandelbrot set.
Package httpserver provides an HTTP server for the Mandelbrot set.
simple
Package simple provides an example of rendering a simple Mandelbrot image.
Package simple provides an example of rendering a simple Mandelbrot image.
Package image provides image rendering for the Mandelbrot set.
Package image provides image rendering for the Mandelbrot set.
colorizer/rainbow
Package rainbow provides a colorizer that uses a rainbow color scheme.
Package rainbow provides a colorizer that uses a rainbow color scheme.

Jump to

Keyboard shortcuts

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