sphere_llq_grid, an Octave code which uses longitudes and latitudes to create grids of points, lines, and quadrilaterals over the surface of a sphere in 3D.
The computer code and data files described and made available on this web page are distributed under the MIT license
sphere_llq_grid is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
octave_grid, an Octave code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.