Composing fractals

  • Authors:
  • Mark P. Jones

  • Affiliations:
  • Department of Computer Science & Engineering, OGI School of Science & Engineering at OHSU, 20000 NW Walker Road, Beaverton, OR 97006, USA (email: mpj@cse.ogi.edu)

  • Venue:
  • Journal of Functional Programming
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

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 benefits 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.