fractal: Draw Newton, Julia and Mandelbrot fractals

[ bsd3, graphics, program ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0, 0.0.1
Dependencies base (>=2 && <5) [details]
License BSD-3-Clause
Author Max Rabkin
Maintainer max.rabkin@gmail.com
Category Graphics
Uploaded by MaxRabkin at 2009-06-17T16:04:03Z
Distributions NixOS:0.0.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables fractal
Downloads 2177 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-31 [all 8 reports]

Readme for fractal-0.0.1

[back to package description]
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
line.)