Code covered by the BSD License  

Highlights from
Parametrized uniform triangulation of 3D circle/sphere

image thumbnail

Parametrized uniform triangulation of 3D circle/sphere

by

 

Short function for parametric triangulation of 3d sphere

testSphereTriangulation.m
[ stlPoints A B C]  =sphereTriangulation();
for i =1:numel(A(:,1))
    triangle = [A(i,:);B(i,:);C(i,:);A(i,:)];
    line(triangle(:,1), triangle(:,2), triangle(:,3));
    axis equal;
end

Contact us