{"id":3600,"date":"2016-05-25T09:54:55","date_gmt":"2016-05-25T17:54:55","guid":{"rendered":"http:\/\/bendwavy.org\/wp\/?p=3600"},"modified":"2016-05-25T11:16:07","modified_gmt":"2016-05-25T19:16:07","slug":"adaptive-sampling","status":"publish","type":"post","link":"https:\/\/bendwavy.org\/wp\/?p=3600","title":{"rendered":"adaptive sampling"},"content":{"rendered":"<p>I got an interesting idea today.<\/p>\n<p>As you may already know, I&#8217;ve been making <a href=\"http:\/\/www.shapeways.com\/shops\/bendwavy\">models<\/a> of Klein bottles an&#8217; stuff; heretofore they&#8217;ve all been in the form of bent rods, but where possible I&#8217;d prefer a continuous surface.  (A hollow body must have holes so that unused powder can be shaken out; but not all of my designs have enclosed spaces.)  How to place a minimum number of vertices so that deviations from the abstract shape are within the resolution of the process?  That&#8217;s less obvious with more degrees of freedom.<\/p>\n<p>So, today&#8217;s idea.  Start with an arbitrary set of sample nodes (in the abstract space of the parametric variables, rather than on the target surface itself), and their <a href=\"https:\/\/en.wikipedia.org\/wiki\/Delaunay_triangulation\">Delaunay triangulation<\/a>.  Along each edge of the triangulation, measure the deviation of the surface from a straight line; this gives the edge a weight.  Move each node to the weighted average of its neighbors (with a bit of noise); thus, an edge whose image is strongly curved gets shorter.<\/p>\n<p>After the movement phase, each edge ought to be checked, whether it&#8217;s still a Delaunay edge or needs to be replaced by the other diagonal of the quadrilateral formed by its two triangles.  I don&#8217;t yet have criteria for adding nodes where existing nodes are too far apart, or merging them if they become redundant.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got an interesting idea today. As you may already know, I&#8217;ve been making models of Klein bottles an&#8217; stuff; heretofore they&#8217;ve all been in the form of bent rods, but where possible I&#8217;d prefer a continuous surface. (A hollow &hellip; <a href=\"https:\/\/bendwavy.org\/wp\/?p=3600\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-3600","post","type-post","status-publish","format-standard","hentry","category-mathematics"],"_links":{"self":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3600"}],"version-history":[{"count":3,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3600\/revisions"}],"predecessor-version":[{"id":3603,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3600\/revisions\/3603"}],"wp:attachment":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}