chore: improve colour smoothing
This commit is contained in:
parent
baa6b340fd
commit
61414cf744
|
@ -126,7 +126,7 @@ impl Mandelbrot {
|
||||||
}
|
}
|
||||||
|
|
||||||
if num_iters < max_iterations {
|
if num_iters < max_iterations {
|
||||||
(num_iters as f64) - z.norm() / 2f64.ln()
|
(num_iters as f64 + 1.0) - z.norm().ln().ln() / 2f64.ln()
|
||||||
} else {
|
} else {
|
||||||
num_iters as f64
|
num_iters as f64
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue