This Rust project allows you to explore the Mandelbrot set by progressively zooming into regions of your choice.
Beyond showcasing the visual beauty of this classic fractal, the project also demonstrates Rust’s multicore capabilities by distributing the rendering workload across all available CPU cores.
Clone the repository, navigate to the mandelbrot_explorer directory, and run:
cargo runA new window will open displaying a welcome screen. Press any key to proceed to the Mandelbrot set.
Once the Mandelbrot set has been rendered, use the mouse to select a region.
- Press
Space(orZ) to zoom into the selected region. - Press
Esc(orQ) to exit the application.
You can zoom in repeatedly to explore finer details.
The application has currently been tested only on macOS (Apple M2).
This project was inspired by:
Jim Blandy, Jason Orendorff, and Leonora F. S. Tindall, Programming Rust: Fast, Safe Systems Development (Second Edition), O’Reilly (2021).
It has been significantly extended, particularly with the addition of interactive zooming functionality.