Creating a Class I geodesic icosahedron of unit radius through subdivision.
This MATLAB script contains options to choose two different starting regular icosahedron at different rotation angles, and two different subdivision algorithms.
[V,F] = icosphere(N);
generates to matrices containing vertices V
and faces F
in the form of rowID in V
, with each edge subdivided into N
equal segments.
Use trimesh(icosphere(N));axis equal;
to plot the resulting sphere.
This script generates a
This script is inspired by