12d8453Intro to surfacefun: interactive numbl example projectJeremy Magland 1% mesh_mobius.m — A Mobius band.
2%
3% Surfaces need not even be orientable. surfacemesh.mobius builds the
4% classic one-sided band.
6mip load --install flatironinstitute/flatironinstitute/surfacefun
8p = 16;
9nu = 30;
10nv = 7;
11dom = surfacemesh.mobius(p + 1, nu, nv);
13figure(1);
14plot(dom), camlight
15title('Mobius band');
17fprintf('patches: %d\n', length(dom));