sphere_llt_grid, a MATLAB code which uses longitudes and latitudes to create grids of points, lines, and triangles over the surface of a sphere in 3D.
The information on this web page is distributed under the MIT license.
sphere_llt_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.
matlab_grid, a MATLAB code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.