chore: improve colour smoothing

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-02-22 18:33:58 -06:00
parent baa6b340fd
commit 61414cf744
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ impl Mandelbrot {
}
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 {
num_iters as f64
}