[Solved] Drunk Mandelbrot implementation [closed]


Your calculation of the complex modulus is incorrect.

float Complex::getAbsoluteValue() const {
    return sqrt(real * real + imaginary + imaginary);
}

You’ve since removed this section of your post, but it should say

float Complex::getAbsoluteValue() const {
    return sqrt(real * real + imaginary * imaginary);
}

solved Drunk Mandelbrot implementation [closed]