{"id":466,"date":"2020-09-16T19:33:27","date_gmt":"2020-09-16T19:33:27","guid":{"rendered":"https:\/\/samhartburn.co.uk\/sh\/?p=466"},"modified":"2020-12-10T14:01:39","modified_gmt":"2020-12-10T14:01:39","slug":"the-carpeted-hexaflake","status":"publish","type":"post","link":"https:\/\/samhartburn.co.uk\/sh\/the-carpeted-hexaflake\/","title":{"rendered":"The Carpeted Hexaflake"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/KochSnowflake.png\" alt=\"\" class=\"wp-image-474\" width=\"252\" height=\"217\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/KochSnowflake.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/KochSnowflake-300x258.png 300w\" sizes=\"(max-width: 252px) 100vw, 252px\" \/><figcaption>Koch Snowflake<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SierpinskiCarpet.png\" alt=\"\" class=\"wp-image-475\" width=\"249\" height=\"214\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SierpinskiCarpet.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SierpinskiCarpet-300x258.png 300w\" sizes=\"(max-width: 249px) 100vw, 249px\" \/><figcaption>Sierpinski Carpet<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>I&#8217;m trying to imagine a solid. From the front, it looks like a Koch snowflake. From the top, it looks like a Sierpinski carpet. How might it look from the side? How would it feel? Is it even possible?<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/ShapesOnCubeFaces.png\" alt=\"\" class=\"wp-image-479\" width=\"292\" height=\"251\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/ShapesOnCubeFaces.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/ShapesOnCubeFaces-300x258.png 300w\" sizes=\"(max-width: 292px) 100vw, 292px\" \/><\/figure><\/div>\n\n\n\n<p>Thanks to the power of OpenSCAD and the magic of 3D printing, I can find out.<\/p>\n\n\n\n<p>OpenSCAD is a programming language that generates 3D models. It has a nifty command called Intersection that, appropriately enough, finds the intersection of two or more objects &#8211; all the bits that are in both objects. So I can generate a prism with a Koch snowflake cross section, another with a Sierpinski carpet cross section, put them perpendicular to each other&#8230;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Prisms.png\" alt=\"\" class=\"wp-image-504\" width=\"300\" height=\"257\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Prisms.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Prisms-300x258.png 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n\n\n\n<p>&#8230;and take the intersection. Hey presto! This is what I get.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SnowflakeCarpet.png\" alt=\"\" class=\"wp-image-505\" width=\"315\" height=\"270\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SnowflakeCarpet.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SnowflakeCarpet-300x258.png 300w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/figure><\/div>\n\n\n\n<p>Now I can find out how it looks from the side.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/ThirdFace.png\" alt=\"\" class=\"wp-image-481\" width=\"328\" height=\"282\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/ThirdFace.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/ThirdFace-300x258.png 300w\" sizes=\"(max-width: 328px) 100vw, 328px\" \/><\/figure><\/div>\n\n\n\n<p>It&#8217;s&#8230;a rectangle. Somewhat disappointing. Can I make it into something more interesting?<\/p>\n\n\n\n<p>There are any number of options for the side profile, but there are a few requirements it has to meet to avoid cuttting off parts of the snowflake and carpet. It has to fit inside the rectangle. It has to touch all four edges of the rectangle. Let&#8217;s try an ellipse.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SnowflakeCarpetEllipse.png\" alt=\"\" class=\"wp-image-506\" width=\"335\" height=\"288\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SnowflakeCarpetEllipse.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/SnowflakeCarpetEllipse-300x258.png 300w\" sizes=\"(max-width: 335px) 100vw, 335px\" \/><\/figure><\/div>\n\n\n\n<p>These are the profiles from side, top and front. It&#8217;s almost there, but look carefully at the snowflake profile.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"587\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face1.png\" alt=\"\" class=\"wp-image-483\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face1.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face1-300x258.png 300w\" sizes=\"(max-width: 682px) 100vw, 682px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"587\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face2.png\" alt=\"\" class=\"wp-image-484\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face2.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face2-300x258.png 300w\" sizes=\"(max-width: 682px) 100vw, 682px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"587\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face3.png\" alt=\"\" class=\"wp-image-485\" srcset=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face3.png 682w, https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/09\/Ellipise_Face3-300x258.png 300w\" sizes=\"(max-width: 682px) 100vw, 682px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Some of the points have had their ends chopped off.<\/p>\n\n\n\n<p>I&#8217;m not going to pretend that I have a foolproof method to find a shape that will work for the side profile. Apart from the requirements I already mentioned, all I have at the moment is trial and error. Happily, I&#8217;ve found a shape that I can use without losing any of the top or front &#8211; the good old hexagon. Meet the carpeted hexaflake!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/samhartburn.co.uk\/sh\/wp-content\/uploads\/2020\/08\/CarpetSnowflakeHex.gif\" alt=\"\" class=\"wp-image-467\" width=\"438\" height=\"318\"\/><\/figure><\/div>\n\n\n\n<p>And here it is in person.<\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Carpeted Hexaflake\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wTsTmrLNvzA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The OpenSCAD code and STL files to print from are available on <a href=\"https:\/\/github.com\/SamHartburn\/ShadowSolids\">GitHub<\/a>. I encourage you to play around with it and see what interesting shapes you can come up with.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to imagine a solid. From the front, it looks like a Koch snowflake. From the top, it looks like a Sierpinski carpet. How might it look from the side? How would it feel? Is it even possible?<\/p>\n","protected":false},"author":1,"featured_media":479,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[22],"tags":[23,32,37,33,27,30,36,31,34],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/466"}],"collection":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/comments?post=466"}],"version-history":[{"count":35,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":623,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/posts\/466\/revisions\/623"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/media\/479"}],"wp:attachment":[{"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/media?parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/categories?post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samhartburn.co.uk\/sh\/wp-json\/wp\/v2\/tags?post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}