Skip to content

My implementation of the Mandelbrot set in Rust. Based on the buggy and non-working example in the book Rust In Action. Bugs have been fixed, code refactored and reworked from scratch, and each step of the algorithm has been extensively commented.

Notifications You must be signed in to change notification settings

IsakT/rusty-mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rusty-mandelbrot

My implementation of the Mandelbrot set in Rust. I got the idea after seeing a buggy and non-working implementation of this algorithm in the book Rust In Action.

The bugs in its implementation have been fixed, code refactored and reworked from scratch, and each step of the algorithm has been extensively commented. This is how it should have been in the book.

To render locally in your terminal, simply pull this repo, and then run:

# install cargo and rust compiler (macOS and Linux only). For Windows, download via https://win.rustup.rs/
curl https://sh.rustup.rs -sSf | sh

# run program
cargo run

Make your terminal full screen to see it in its entirety. If it looks weird, adjust the width and height settings inside the main.rs file.

About

My implementation of the Mandelbrot set in Rust. Based on the buggy and non-working example in the book Rust In Action. Bugs have been fixed, code refactored and reworked from scratch, and each step of the algorithm has been extensively commented.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages