TRIANGLE_SVG is a C++ library which uses Scalable Vector Graphics (SVG) to create a plot of a triangle and any number of points. Such plots can illustrate quadrature rules or sampling methods for the triangle.
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
TRIANGLE_SVG is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
TRIANGULATION_SVG, a C++ program which creates a Scalable Vector Graphics (SVG) image of a triangulation, which can be displayed by a web browser.
You can go up one level to the C++ source codes.