FERN_OPENGL
The Barnsley Fractal Fern Using OpenGL


FERN_OPENGL, a C++ code which uses the Open GL graphics library to display the Barnsley fractal fern.

Licensing:

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

Languages:

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

Related Data and Programs:

CAUSTIC_OPENGL, a C++ code which computes a caustic curve and displays it using OpenGL.

LIFE_OPENGL, a C++ code which simulates a version of John Conway's "Game of Life", displaying the results using OpenGL.

LIGHTS_OUT_OPENGL, a C++ code which sets up a "Lights Out" game and allows the user to solve it, using the OpenGL graphics window.

LISSAJOUS_OPENGL, a C++ code which computes a Lissajous figure and displays it using OpenGL.

opengl_test, C++ codes which illustrate the use of the OpenGL graphics library;

POLYGONAL_SURFACE_DISPLAY_OPENGL, a C++ code which displays a surface in 3D described as a set of polygons, using OpenGL.

ROTATING_CUBE_DISPLAY_OPENGL, a C++ code which displays a rotating color cube in 3D, using OpenGL;

SCREENSHOT_OPENGL, a C++ code which shows how a program using the OpenGL graphics library can save a screenshot of the graphics being displayed.

SPHERE_XYZ_DISPLAY_OPENGL, a C++ code which reads XYZ information defining points in 3D, and displays a unit sphere and the points, using OpenGL.

TET_MESH_DISPLAY_OPENGL, a C++ code which reads a pair of files defining a tetrahedral mesh and displays an image using OpenGL.

TRIANGULATION_DISPLAY_OPENGL, a C++ code which reads a pair of files defining a triangulation and displays an image using OpenGL.

XY_DISPLAY_OPENGL, a C++ code which reads an XY file of 2D point coordinates, and displays an image of those points using OpenGL.

XYL_DISPLAY_OPENGL, a C++ code which reads XYL information defining points and lines in 2D, and displays an image using OpenGL.

XYZ_DISPLAY_OPENGL, a C++ code which reads an XYZ file of 3D point coordinates, and displays an image of those points using OpenGL.

Reference:

  1. Edward Angel,
    Interactive Computer Graphics, a Top-Down Approach with OpenGL,
    Addison-Wesley, 2000,
    ISBN: 0-201-38597-X,
    LC: T385.A514.
  2. Michael Barnsley,
    Fractals Everywhere,
    Academic Press, 1988,
    ISBN: 0120790696,
    LC: QA614.86.B37.
  3. Cleve Moler,
    Experiments with MATLAB,
    ebook: http://www.mathworks.com/moler/exm/index.html

Source Code:


Last revised on 06 March 2020.