The Barnsley Fractal Fern

FERN is a MATLAB program which uses MATLAB graphics to display the Barnsley fractal fern.


fern ( point_num )


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


FERN is available in a C++ version and a MATLAB version.

Related Data and Programs:

FERN_OPENGL, a C++ program which uses OpenGL to display the Barnsley fractal fern.

MANDELBROT, a MATLAB program which generates an ASCII PPM image of the Mandelbrot fractal set;

RANMAP, a FORTRAN90 program which creates PostScript images of iterated affine mappings, including the Barnsley fractal fern and the Levy dragon.


  1. Michael Barnsley,
    Fractals Everywhere,
    Academic Press, 1988,
    ISBN: 0120790696,
    LC: QA614.86.B37.
  2. Cleve Moler,
    Experiments with MATLAB,
    ebook: http://www.mathworks.com/moler/exm/index.html

Source Code:

You can go up one level to the MATLAB source codes.

Last revised on 15 May 2011.