An algorithm that draws an image of the mandelbrot set.
Inspired by Coding Train.
More information on mandelbrot sets: Wikipedia
- Clone this repository with
git clone [email protected]/jakobdannel/mandelbrot.git
- Install rust (https://www.rust-lang.org/learn/get-started)
- Build project with
cargo build --release
- Execute file
/targets/release/mandelbrot
- Flag usage: add
-w {} -h {}
, replace{}
with the desired width and height,-f {}
to set the amount of frames, and-c
to make the image colorful
- Flag usage: add
- The output is generated as a .png file under
/output