% Interactive surfacefun mesh refinement. % % Build a surface mesh (the "domain"), then hand it to mesh_refiner, which opens % an interactive figure with a slider that refines the mesh live. Drag the % slider to refine; drag the surface to rotate, scroll to zoom. mip load --install flatironinstitute/flatironinstitute/surfacefun dom = surfacemesh.sphere(8); % a cubed-sphere surfacemesh mesh_refiner(dom, 'MaxLevel', 3);