The fractal package

[Tags: bsd3, program]

Functions to generate fractals, with a command-line interface to render them as PGM files.

[Skip to ReadMe]


Versions0.0, 0.0.1
Change logNone available
Dependenciesbase (>=2 && <5) [details]
AuthorMax Rabkin
UploadedWed Jun 17 08:53:07 UTC 2009 by MaxRabkin
Downloads541 total (11 in last 30 days)
0 []
StatusDocs not available [build log]
Last success reported on 2015-11-17 [all 5 reports]


Maintainers' corner

For package maintainers and hackage trustees

Readme for fractal-0.0

The fractal program generates Newton, Julia and Mandelbrot fractals. Output is
to standard output in PGM (Portable Graymap) format. There is currently no
support for colour. I suggest using a general-purpose image editor such as the
GIMP to adjust brightness levels and add colour.

Fractal accepts the following options:

  -s SCALE            --scale=SCALE                scale 1 unit to SCALE pixels
                      --ll=X,Y, --lower-left=X,Y   set lower left of viewport to X,Y
                      --tr=X,Y, --upper-right=X,Y  set upper right of viewport to X,Y
  -m                  --mandelbrot                 render the Mandelbrot set
  -j X,Y              --julia=X,Y                  render the Julia set at X,Y
  -n X1,Y1:X2,Y2;...  --newton=X1,Y1:X2,Y2;...     render the Newton fractal for a polynomial with roots at X1,Y1, X2,Y2, ...

(Newton fractals for functions other than polynomials are supported by the
underlying code, but there is currently no way to specify them on the command