Composing Fractals

Composing Fractals

Mark P. Jones, Journal of Functional Programming, 14(6), November 2004.


Abstract:

This paper describes a simple but flexible family of Haskell programs for drawing pictures of fractals such as Mandelbrot and Julia sets. Its main goal is to showcase the elegance of a compositional approach to program construction, and the benefis of a clean separation between different aspects of program behavior. Aimed at readers with relatively little experience of functional programming, the paper can be used as a tutorial on functional programming, as an overview of the Mandelbrot set, or as a motivating example for studies in computability.


Available by http in pdf. Literate Haskell source is also available.