mandelbrot-set

command module
v0.0.0-...-35766d8 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 9 Imported by: 0

README

mandelbrot-set

Generate an image of the mandelbrot set

Usage

Compile with the usual go build

$ ./mandelbrot-set -h

Usage of ./mandelbrot-set:
  -color int
    	Color mode (use --help to see the available modes) (default 1)
  -height uint
    	Image height (default 1080)
  -help
    	Print a help message and exit
  -maxIterations uint
    	Maximum iteration count (default 100)
  -out string
    	The output image, maut be a png file (default "output.png")
  -width uint
    	Image width (default 1920)
  -xMaz float
    	Maximum value of X painted on the image (default 1)
  -xMin float
    	Minimum value of X painted on the image (default -2.5)
  -yMax float
    	Maximum value of X painted on the image (default 1)
  -yMin float
    	Minimum value of X painted on the image (default -1)

$ ./mandelbrot-set -help

This program generate an image of the mandelbrot set with the specified params (use -h to show them)
Available colors are "Gray Scale" (0) and "HUE" (1)

Examples

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