/ concept-collection / surfacefun-interactive
Sign in
concept-collection / surfacefun-interactive
11 lines · 429 BCodeBlameHistory
8130665Split low-level plumbing into mesh_refiner.mJeremy Magland 1% Interactive surfacefun mesh refinement.
8130665Split low-level plumbing into mesh_refiner.mJeremy Magland 3% Build a surface mesh (the "domain"), then hand it to mesh_refiner, which opens
4% an interactive figure with a slider that refines the mesh live. Drag the
5% slider to refine; drag the surface to rotate, scroll to zoom.
7mip load --install flatironinstitute/flatironinstitute/surfacefun
8130665Split low-level plumbing into mesh_refiner.mJeremy Magland 9dom = surfacemesh.sphere(8); % a cubed-sphere surfacemesh
8130665Split low-level plumbing into mesh_refiner.mJeremy Magland 11mesh_refiner(dom, 'MaxLevel', 3);
moveopenescclose