Imager::Filter::Mandelbrot - filter that renders the Mandelbrot set.
use Imager; use Imager::Filter::Mandelbrot; $img->filter(type=>'mandelbrot', ...);
This is a expansion of the mandelbrot dynamically loadable filter provided in dynfilt in previous releases of Imager.
mandelbrot
dynfilt
Valid filter parameters are:
minx, maxx - the range of x values to render. Defaults: -2.5, 1.5.
minx
maxx
miny, maxy - the range of y values to render. Defaults: -1.5, 1.5
miny
maxy
maxiter - the maximum number of iterations to perform when checking if the sequence tend towards infinity.
maxiter
Original by Arnar M. Hrafnkelsson.
Adapted and expanded by Tony Cook <tonyc@cpan.org>
Imager, Imager::Filters.
To install Imager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager
CPAN shell
perl -MCPAN -e shell install Imager
For more information on module installation, please visit the detailed CPAN module installation guide.