{"id":93,"date":"2010-09-06T15:18:36","date_gmt":"2010-09-06T07:18:36","guid":{"rendered":"http:\/\/www.magicandlove.com\/blog\/?p=93"},"modified":"2010-09-06T15:23:13","modified_gmt":"2010-09-06T07:23:13","slug":"context-free-art-tutorial-8","status":"publish","type":"post","link":"http:\/\/www.magicandlove.com\/blog\/2010\/09\/06\/context-free-art-tutorial-8\/","title":{"rendered":"Context Free Art &#8211; Tutorial 8"},"content":{"rendered":"<p>By using the same square, we further experiment with the various options in the <em>STROKE<\/em> command.<\/p>\n<pre>STROKE {p miterjoin}\r\n\r\nSTROKE {p roundjoin}\r\n\r\nSTROKE {p beveljoin}<\/pre>\n<figure id=\"attachment_94\" aria-describedby=\"caption-attachment-94\" style=\"width: 480px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-94\" title=\"stroke with join\" src=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/09\/class02b.png\" alt=\"\" width=\"480\" height=\"140\" srcset=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/09\/class02b.png 480w, http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/09\/class02b-300x87.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><figcaption id=\"caption-attachment-94\" class=\"wp-caption-text\">Different uses of join<\/figcaption><\/figure>\n<pre><\/pre>\n<pre>startshape MyShape\r\n\r\npath Shape1 {\r\n\tMOVETO {x -0.5 y -0.5}\r\n\tLINETO {x 0.5 y -0.5}\r\n\tLINETO {x 0.5 y 0.5}\r\n\tSTROKE {p buttcap}\r\n}\r\n\r\npath Shape2 {\r\n\tMOVETO {x -0.5 y -0.5}\r\n\tLINETO {x 0.5 y -0.5}\r\n\tLINETO {x 0.5 y 0.5}\r\n\tSTROKE {p roundcap}\r\n}\r\n\r\npath Shape3 {\r\n\tMOVETO {x -0.5 y -0.5}\r\n\tLINETO {x 0.5 y -0.5}\r\n\tLINETO {x 0.5 y 0.5}\r\n\tSTROKE {p squarecap}\r\n}\r\n\r\nrule MyShape {\r\n\tShape1 {x -1.5}\r\n\tShape2 {x 0}\r\n\tShape3 {x 1.5}\r\n}<\/pre>\n<figure id=\"attachment_97\" aria-describedby=\"caption-attachment-97\" style=\"width: 480px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-97\" title=\"Fill with cap\" src=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/09\/class02c.png\" alt=\"\" width=\"480\" height=\"142\" srcset=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/09\/class02c.png 480w, http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/09\/class02c-300x88.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><figcaption id=\"caption-attachment-97\" class=\"wp-caption-text\">Different uses of cap<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>By using the same square, we further experiment with the various options in the STROKE command. STROKE {p miterjoin} STROKE {p roundjoin} STROKE {p beveljoin} startshape MyShape path Shape1 { MOVETO {x -0.5 y -0.5} LINETO {x 0.5 y -0.5} LINETO {x 0.5 y 0.5} STROKE {p buttcap} } path Shape2 { MOVETO {x -0.5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13,12],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-context-free-art","tag-tutorial"],"_links":{"self":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":4,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":99,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions\/99"}],"wp:attachment":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}