/mandelbrot-fixed-point

Mandelbrot set renderer using fixed point arithmetic

Primary LanguageC++MIT LicenseMIT

Mandelbrot set renderer using fixed point

The Mandelbrot set is the set of complex numbers for which the recurrence relation does not diverge when iterated. The Mandelbrot set is oftan drawn onto a complex plane to illustrate the beauty and infiniteness of mathematics.

This work illustrates/visualizes the effect of quantization, which happens when a finite number of bits is used to represent a real number, by iterating using fixed point arithmetic. The result is, for some different fractional word length, displayed in the images below.

More information regarding the coloring can be found here.


2 Fractional bits 2 Fractional bits


4 Fractional bits 4 Fractional bits


6 Fractional bits 6 Fractional bits


8 Fractional bits 8 Fractional bits


10 Fractional bits 10 Fractional bits


15 Fractional bits 15 Fractional bits