Skip to content

Rust application that renders image of mandelbrot set with given parameters

License

Notifications You must be signed in to change notification settings

ivan0sokin/mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

Mandelbrot

About

This application renders an image with any given resolution (which does not exceed 232 - 1). It saves rendered bytes to a Luma PNG file named "mandelbrot.png". Needed parameters: width, height, minimum remaining memory (minimum: 1GB), number threads to use, number of iterations.
I was inspired by ideas from the book "Programming Rust: Fast, Safe Systems Development".

Build

cargo build --release

Usage

640x480 pixels image, 1GB of minimum remaining memory, 1 thread, 100 iterations

On Windows

cd target\release
.\mandelbrot.exe 640 480 1 1 100

On Linux

cd target/release
mandelbrot 640 480 1 1 100

Renders

8000x6000, 1000 iterations, color

8000x6000, 1000 iterations

8k resolution, 300 iterations

8k, 100 iterations

8k resolution, 1000 iterations

8k, 1000 iterations

16k resolution, 10000 iterations

16k, 10000 iterations

Dependencies

crossbeam
png
sysinfo

License

Mandelbrot is licensed under the MIT license

About

Rust application that renders image of mandelbrot set with given parameters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages