main ()
mandel.py
Calls mandel.c to create an array of numbers generated
using the Mandelbrot formula. Attempts to compile mandel.c
if mandel isn't found on PATH. Writes an 8-bit binary file which
can be viewed in NIH Image or Photoshop, for example.
c comma-delimited list of complex plane
delimiters: rmin,rmax,imin,imax
w width of grid
n number of cycles
v verbosity
nc new coordinates - give pixel coords corresponding to some
area within the plot of width w, bounded by coordinates c;
will return new values for c.
new coordinates
out name of outfile
NOTE: To import into NIH Image, choose File --> Import
and select Custom, 8-bit, and set to appropriate grid width.
Rotate -90 degrees to maintain proper orientation!
|