go-mandelbrot

command module
v0.0.0-...-ddf5857 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: BSD-3-Clause Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-mandelbrot

A Mandelbrot set painter with arbitrary precision.

Mandelbrot set

Installation

go get -u github.com/zzag/go-mandelbrot

Usage

  -bailout float
        bailout (default 64)
  -centerx string
        x coordinate of the center of the zoom area (default "0.0")
  -centery string
        y coordinate of the center of the zoom area (default "0.0")
  -h int
        height of the viewport (default 720)
  -iters int
        maximum number of iterations per pixel (default 1024)
  -out string
        file where output is stored (default "out.png")
  -prec uint
        computation precision (default 128)
  -scale float
        palette scale (default 256)
  -shift float
        palette shift
  -w int
        width of the viewport (default 1280)
  -zoom string
        zoom level (default "0.256")

Examples

centerx: -1.7400623825793399052208441670658256382966417204361718668798624184611, centery: 0.02817533977921104899241152114431950968753907674299060857040130959588, zoom: 2e60 (on my old laptop it took ~5 hours):

centerx: 0.3602404434376143632361252444495453084826078, centery: -0.641313061064803174860375015179302066579494, zoom: 2e3:

centerx: 0.3602404434376143632361252444495453084826078, centery: -0.641313061064803174860375015179302066579494, zoom: 2e5:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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