Skip to content

Commit ce86932

Browse files
committed
More changes, testing with a larger zoom level.
1 parent 32522f8 commit ce86932

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

output.png

-1.35 MB
Loading

src/bin/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ use std::fs::File;
88
fn main() {
99
println!("Mandelbrot Renderer");
1010

11+
// TODO on some images, we may need to check the imaginary part of the floatexp to make sure that is not too large.
12+
1113
let mut s = String::new();
1214
print!("File to render: ");
1315
let _ = stdout().flush();

src/colouring2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl ColourMethod2 {
6666
(0, 0, 0)
6767
} else {
6868
// 0.1656
69-
let hue = (10.0 * pixel.iteration as f64) as usize % 8192;
69+
let hue = (100.0 * pixel.iteration as f64) as usize % 8192;
7070

7171
let colour = colours[hue];
7272

src/math/perturbation.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ pub struct Perturbation {}
1010
// pixel_data.par_chunks_mut(1)
1111
// .for_each(|pixel_data| {
1212
// for packet in pixel_data {
13-
// // TODO investigate setting up a floatexp-type thing which only rescales every 500 or so iterations
1413
//
1514
// // normal
1615
// while packet.iteration < maximum_iteration {

0 commit comments

Comments
 (0)