{"id":12612,"date":"2016-01-09T10:39:35","date_gmt":"2016-01-09T10:39:35","guid":{"rendered":"http:\/\/scruss.com\/blog\/2016\/01\/09\/self-similar-petals\/"},"modified":"2016-01-10T10:59:49","modified_gmt":"2016-01-10T15:59:49","slug":"self-similar-petals","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2016\/01\/09\/self-similar-petals\/","title":{"rendered":"Self-similar petals"},"content":{"rendered":"<p><a href=\"https:\/\/www.instagram.com\/p\/BAUtm4TxUGcN3W_SBqYO4bEhfsmvf3ljoa1uCw0\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"insta-image\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2016\/01\/1452353975.jpg\" alt=\"Self-similar petals\" width=\"936\" height=\"936\" \/><\/a><\/p>\n<p>Original drawn in hand-coded PostScript from a path worked out using InkScape. Translating from InkScape&#8217;s SVG paths to PostScript is slightly annoying: PS uses Cartesian conventions, while SVG inverts the Y-axis. At least the SVG path commands map well to PostScript: <strong>m<\/strong> \u00e2\u2020\u2019 <em>moveto<\/em>, <strong>c<\/strong> \u00e2\u2020\u2019 <em>curveto<\/em>, <strong>Z<\/strong> \u00e2\u2020\u2019 <em>closepath<\/em>, <strong>S<\/strong> \u00e2\u2020\u2019 <em>stroke<\/em>.<\/p>\n<p>There&#8217;s no magic to this figure. Each row of petals is half the length of the row outside it. As there are 6 petals arranged in a circle, each petal is 60\u00c2\u00b0 of arc. To make the half-step between rows, the petals are rotated 30\u00c2\u00b0, so the rows have to be scaled by <em>sin<\/em> 30\u00c2\u00b0, or \u00c2\u00bd.<\/p>\n<p>Instagram filter used: Normal<\/p>\n<p><a href=\"https:\/\/www.instagram.com\/p\/BAUtm4TxUGcN3W_SBqYO4bEhfsmvf3ljoa1uCw0\/\" target=\"_blank\">View in Instagram \u00e2\u2021\u2019<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Self-similar petals<\/p>\n","protected":false},"author":2,"featured_media":12613,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,11],"tags":[2914,2294,2687,812],"class_list":["post-12612","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computers-suck","category-photo","tag-geometry","tag-inkscape","tag-instagram","tag-postscript"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2016\/01\/1452353975.jpg","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-3hq","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/12612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=12612"}],"version-history":[{"count":3,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/12612\/revisions"}],"predecessor-version":[{"id":12616,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/12612\/revisions\/12616"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media\/12613"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=12612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=12612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=12612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}