Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 912 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 912 Bytes

Newton's Fractal in Rust

This is a Rust implementation of the Newton Fractal.

See an animation of it here (SD but noisier version).

As of right now, all of the customization is done through hard-coded constants in src/main.rs. The code is currently in a spaghetti state. Sorry for that :)

Installation and running

You will need an installation of rustc+cargo. Then, git clone this repository, create the output directory and run with --release:

git clone https://github.com/adri326/newton-fractal.rs newton-fractal
cd newton-fractal
mkdir -p output

# You may edit src/main.rs now, to tweak some of the parameters, especially the resolution and the number of threads

cargo run --release