sphere_grid_test a C++ code which calls sphere_grid(), which constructs a grid of points on the surface of the unit sphere in 3D.


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

Related Data and Programs:

sphere_grid, a C++ code which generates grids of points, or of points and lines, or of points and lines and faces, on the surface of the unit sphere in 3D.

Source Code:

To see the XYZ data files and images of the sphere grids created by this example program, go to the SPHERE_GRID dataset directory.

  • sphere_grid_cubed_f10.xyz, the 10 node grid.
  • sphere_grid_icos1_f3.xyz, the 92 node grid.
  • sphere_grid_icos2_f3.xyz, the 92 node grid.
  • sphere_grid_spiral_n500.xyz, the 500 node grid.
  • sphere_grid_sample_n1000.xyz, a 1000 node sample.

  • Last revised on 16 April 2020.