mandelbrot-orbits-rust

Crates.iomandelbrot-orbits-rust
lib.rsmandelbrot-orbits-rust
version0.1.0
sourcesrc
created_at2022-12-21 10:41:58.304438
updated_at2022-12-21 10:41:58.304438
descriptionA console command to generate an image of the Mandelbrot Set where each pixel color represents the period of the complex point (if the point belongs to the Set).
homepage
repository
max_upload_size
id743053
size4,201,972
Jose Celano (josecelano)

documentation

README

Mandelbrot Orbits

Test MegaLinter

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.

For now, it's using a greyscale color scheme.

./docs/images/mandelbrot_2000x2000.png

Requirements

  • cargo: ^1.62.1.
  • rustc: ^1.62.1.

Use

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

Development

Execute MegaLinter locally:

./bin/ml.sh

Run tests:

cargo test

More info for developers.

Math

You can find an explanation here.

And I'm trying to find and write a more formal explanation of the math behind the algorithm.

./docs/images/math.png

Credits

Links

Repositories

Papers

Books

Wikibook

Demos

Other

Commit count: 0

cargo fmt