This is a Rust implementation of the Chaos Game algorithm.
Numberphile has made a great video about Chaos Game, but my main source of information and inspiration was this website which belongs to Ingo Berg
- There still is some code cleanup to do
- There should be at least a bit of theory in this README
- Better font loading
- Maybe I should add more fractals other then just Sierpiński triangle
Note You may need to change path to your prefered font in the following line in th
main.rs
file.
const FONT_PATH: &str = "/usr/share/fonts/TTF/arial.ttf";
Then run it with release profile:
$ cargo run --release