Output Example
This is a little example for multithreading in Rust.
You can find this example, and many more examples in the Book:
Programming in Rust - Fast, Safe Systems Development
-by Jim Blandy, Jason Orendorff & Leonora F.S. Tindall
Requirements:
- cargo, or better yet rustup installed.
Steps:
-
clone this repository.
-
in the repository root run:
cargo build --relase
-
navigate to the newly created
./target/release/
directory. -
launch the created
mandelbrot
executable with:./mandelbrot [OutputImageName].png widthxheight UpperLeftReal,UpperLeftImg LowerRightReal,LowerRightImg
-
to get a nice set right off the bat use:
./mandelbrot mandelImage.png 1920x1080 -1.20,0.35 -1,0.20
, for example.