/ concept-collection / numbl-surfacefun-intro
Sign in
concept-collection / numbl-surfacefun-intro
numbl-surfacefun-intro / mesh_mobius.m
17 lines · 361 BBlameHistoryRaw
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));
moveopenescclose