The fractal package

[Tags:bsd3, program]

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

[Skip to Readme]


Versions 0.0, 0.0.1
Dependencies base (>=2 && <5) [details]
License BSD3
Author Max Rabkin
Stability Experimental
Category Graphics
Uploaded Wed Jun 17 16:04:03 UTC 2009 by MaxRabkin
Distributions NixOS:0.0.1
Downloads 671 total (5 in the last 30 days)
0 []
Status Docs not available [build log]
Last success reported on 2016-12-31 [all 8 reports]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for fractal

Readme for fractal-0.0.1

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