This is a small project to learn Rust.
It generates an image of the Mandelbrot Set where each pixel color represents the period of the complex point if the point belongs to the Set.
More info about Mandelbrot Set Periods.
You can render it in greyscale.
Or the colorized version.
With a different color depending on the period.
cargo
: ^1.62.1
.rustc
: ^1.62.1
.git clone git@github.com:josecelano/mandelbrot-orbits-rust.git
cargo run ./output/mandelbrot_2048x2048.png 2048x2048 -2.0,2.00 2.0,-2.0
Execute MegaLinter locally:
./bin/ml.sh
Run tests:
cargo test
You can find an explanation here.
And I'm trying to find and write a more formal explanation of the math behind the algorithm.
16384x16384px
4,7MB
72m57,099s
32768x32768px
15MB
268m23,032s
MIT.