using GMT
FV = sphere(n=2);
viz(FV)
Create a triangulated geodesic sphere.
Generates a geodesic sphere triangulation based on the number of refinement iterations n and the radius r. Geodesic spheres (aka Buckminster-Fuller spheres) are triangulations of a sphere that have near uniform edge lenghts. The algorithm starts with a regular icosahedron. Next this icosahedron is refined n times, while nodes are pushed to a sphere surface with radius r at each iteration.
r: the radius of the sphere.radius: the keyword radius is an alternative to the positional argument r.
n: is the number of iterations used to obtain the sphere from the icosahedron.
center: A tuple of three numbers defining the center of the sphere.
A GMTfv FacesVertices object.
Create a sphere with radius = 1, and two iterations.
cube, cylinder, dodecahedron, icosahedron, octahedron, replicant, tetrahedron, torus,