XYF_DISPLAY_OPENGL, a C++ code which reads XYF information defining points and faces in 2D, and draws a picture using OPENGL.
The point and face information is stored in a pair of files, called the XYF format. Essentially, the first file stores a list of point coordinates, and the second lists point indices which can be connected to form faces.
xyf_display_opengl prefixwhere
The information on this web page is distributed under the MIT license.
xyf_display_opengl is available in a C++ version.
BOX_PLOT, a MATLAB program which can color in specified entries of a checkerboard, corresponding to pairs of integer data.
CAUSTIC_OPENGL, a C++ program which computes a caustic curve and displays it using OpenGL.
FERN_OPENGL, a C++ program which uses OpenGL to display the Barnsley fractal fern.
LIFE_OPENGL, a C++ program which plays John Conway's "Game of Life", using OpenGL to display the results.
LISSAJOUS_OPENGL, a C++ program which computes a Lissajous figure and displays it using OpenGL.
OPENGL, C++ programs which illustrate the use of the OpenGL graphics library;
POLYGONAL_SURFACE_DISPLAY_OPENGL, a C++ program which displays a surface in 3D described as a set of polygons, using OpenGL.
ROTATING_CUBE_DISPLAY_OPENGL, a C++ program which displays a rotating color cube in 3D, using OpenGL;
SCREENSHOT_OPENGL, a C++ program 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++ program which reads XYZ information defining points in 3D, and displays a unit sphere and the points, using OpenGL.
TABLE_DELAUNAY, a Fortran90 program which computes the Delaunay triangulation of a set of points.
TABLE_VORONOI, a C++ program which computes information about the Voronoi diagram of the points.
TRIANGULATION_DISPLAY_OPENGL, a C++ program which reads files defining a triangulation and displays an image using Open GL.
XY_DISPLAY_OPENGL, a C++ program which reads an XY file of 2D point coordinates, and displays an image of those points using OpenGL.
XYF, a data directory which contains examples of XYF files, a simple 2D graphics point and face format;
XYL_DISPLAY, a MATLAB program which reads XYL information defining points and lines in 2D, and displays an image in a MATLAB graphics window.
You can go up one level to the C++ source codes.