Skip to content

This program written in Rust plots the mandelbrot set, concurrently.

Notifications You must be signed in to change notification settings

DamianRivas/mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot

This program generates the Mandelbrot set using the Escape Time algorithm and concurrently renders a PNG image of it.

To run:

  • Install rust
  • Clone the repo
  • In your terminal, create an optimized build: cargo build --release
  • It will install its dependencies and build an executable
  • Run it! ./target/release/mandelbrot mandel_01.png 4000x3000 -2.3,-1.48 0.66,1.48

Arguments:

  1. Name of the image file
  2. Dimensions of the image. Format: "{length}x{height}"
  3. Top-left corner of the area to render. Format: "{x},{y}"
  4. Bottom-right corner of the area to render. Format: "{x},{y}"

Here is an example image from running the above command:

Example image of a Mandelbrot set

Enjoy :)

About

This program written in Rust plots the mandelbrot set, concurrently.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages