This program generates the Mandelbrot set using the Escape Time algorithm and concurrently renders a PNG image of it.
- Install rust
- Clone the repo
- In your terminal, create an optimized build:
cargo build --release
- It will install its dependencies and build an executable
- Run it!
./target/release/mandelbrot mandel_01.png 4000x3000 -2.3,-1.48 0.66,1.48
Arguments:
- Name of the image file
- Dimensions of the image. Format: "{length}x{height}"
- Top-left corner of the area to render. Format: "{x},{y}"
- Bottom-right corner of the area to render. Format: "{x},{y}"
Here is an example image from running the above command:
Enjoy :)