mandelbrot-viewer

A Mandelbrot set viewer written in rust

Stars
9

Mandelbrot set viewer

This tool plots the Mandelbrot set for a defined area. It outputs the result as a png file.

For more info and runtime arguments run:

$ mandelbrot-viewer -h

mandelbrot-viewer 0.0.1
Andrei Gherzan <[email protected]>


USAGE:
    mandelbrot-viewer [OPTIONS] --first-point <first_point> --last-point <last_point> --output <FILE> --resolution <resolution>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --first-point <first_point>    Top left point on the cartesian graph [default: -2,1]
    -l, --last-point <last_point>      Bootom right point on the cartesian graph [default: 1,-1]
    -o, --output <FILE>                Filename for the output png [default: mandelbrot.png]
    -r, --resolution <resolution>      Image resolution of the output [default: 900x600]
    -t, --threads <threads>            Number of threads used to compute the set [default: 4]

This implementation is inspired from Programming Rust: Fast, Safe Systems Development 1st Edition by Jim Blandy and Jason Orendorff.