MRaster examples 21.0.0.0
Image Processing Library
Loading...
Searching...
No Matches
mandelbrot_potential.cpp File Reference

This program draws a Mandelbrot set using the "potential". More...

Go to the source code of this file.

Detailed Description

This program draws a Mandelbrot set using the "potential".

Author
Mitch Richling https://www.mitchr.me
Standards
C++20
See also
https://www.mitchr.me/SS/mandelbrot/index.html
Details

This example program computes the potential function of the Mandelbrot set over various regions of the complex plane. For each region it produces three images – two POV-Ray height fields and a 16-bit greyscale images.

One can create a BOV-type data file like so:

dd if=mandelbrot_potential_2.mrw skip=100 iflag=skip_bytes of=mandelbrot_potential_2.mrd

Definition in file mandelbrot_potential.cpp.