mandel-rust
Mandelbrot set in rust, serial and parallel example (by willi-kappler)
mandelrust
Renders an image of the Mandelbrot set at the specified location. (by JSorngard)
mandel-rust | mandelrust | |
---|---|---|
1 | 4 | |
45 | 2 | |
- | - | |
10.0 | 8.7 | |
over 7 years ago | 4 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mandel-rust
Posts with mentions or reviews of mandel-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-12.
mandelrust
Posts with mentions or reviews of mandelrust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-10.
-
Mandelbrot Set zoom
I wrote my own mandelbrot renderer as my first rust project, and a few things I did to speed things up was:
-
Mulit-Threading
In my Mandelbrot renderer i compute the color of each pixel in parallel using rayon in a way that is very similar to what you might want to do. Specifically this block of code.
-
Mandelbrot rendering with Rust
Some things come to mind that I have implemented when I did this same project to learn the language is to 1. Since the image is symmetric above and below the imaginary axis you actually only need to render half the image :D 2. If you check if (Re(c) + 1)^(2)*Im(c)^(2) < 0.0625 || abs(c)^(2)*(8*abs(c)^(2) - 3) <= 0.09375 - Re(c) you can directly see if the point is inside the main cardioid or period-2 bulb, saving a lot of computation.
-
What is your favorite Mandelbrot image? This is mine. Just a small snippet from (-1.252213542, 0.125442708) to (-1.222213542, 0.108567708) at 8K resolution, but so many independent features!
I also did a mandelbrot renderer in Rust, as a way of learning the language :D I didn't follow any book though, so it might not be great. I have the source code on my github, if you want to compare. I have coloring added to my code, but it makes this region look less crisp I think. How are you defining the distance in terms of iterations right now?
What are some alternatives?
When comparing mandel-rust and mandelrust you can also consider the following projects:
mandelbrot - An algorithm that draws an image of the mandelbrot set
mandelbrot - A Rust program that plots the Mandelbrot set, using various kinds of parallelism.
rust-fractal-core - Mandelbrot fractal visualizer featuring perturbation based iteration methods, series approximation and multithreading.
rust-mandelbrot - Mandelbrot rendering from Programming in Rust 2nd Edition with interactive TUI
node_crunch - Allows to distribute computations across several nodes
MandelbrotSetZoom