{"id":64,"date":"2010-08-30T23:26:43","date_gmt":"2010-08-30T15:26:43","guid":{"rendered":"http:\/\/www.magicandlove.com\/blog\/?p=64"},"modified":"2010-08-30T23:31:27","modified_gmt":"2010-08-30T15:31:27","slug":"context-free-art-tutorial-4","status":"publish","type":"post","link":"http:\/\/www.magicandlove.com\/blog\/2010\/08\/30\/context-free-art-tutorial-4\/","title":{"rendered":"Context Free Art &#8211; Tutorial 4"},"content":{"rendered":"<p>The following examples illustrate the use of repetition in Context Free Art.<\/p>\n<pre>startshape MyShape\r\n\r\npath Line1 {\r\n\tMOVETO {x 0 y 0}\r\n\tLINETO {x 1 y 0}\r\n\tSTROKE {width .01}\r\n}\r\n\r\nrule MyShape {\r\n\t36 * {r 10} Line1 {}\r\n}\r\n<\/pre>\n<figure id=\"attachment_67\" aria-describedby=\"caption-attachment-67\" style=\"width: 480px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-67\" title=\"Repetition 1\" src=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/08\/class01d.jpg\" alt=\"\" width=\"480\" height=\"355\" srcset=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/08\/class01d.jpg 480w, http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/08\/class01d-300x221.jpg 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><figcaption id=\"caption-attachment-67\" class=\"wp-caption-text\">Repetition with rotation<\/figcaption><\/figure>\n<pre>startshape MyShape\r\n\r\npath Line1 {\r\n\tMOVETO {x 0 y 0}\r\n\tLINETO {x 1 y 0}\r\n\tSTROKE {width .01}\r\n}\r\n\r\nrule MyShape {\r\n\t36 * {r 10 x 0.03} Line1 {}\r\n}\r\n<\/pre>\n<figure id=\"attachment_68\" aria-describedby=\"caption-attachment-68\" style=\"width: 480px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-68\" title=\"Repetition 2\" src=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/08\/class01e.jpg\" alt=\"\" width=\"480\" height=\"355\" srcset=\"http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/08\/class01e.jpg 480w, http:\/\/www.magicandlove.com\/blog\/wp-content\/uploads\/2010\/08\/class01e-300x221.jpg 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><figcaption id=\"caption-attachment-68\" class=\"wp-caption-text\">Repetition with rotation and displacement<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The following examples illustrate the use of repetition in Context Free Art. startshape MyShape path Line1 { MOVETO {x 0 y 0} LINETO {x 1 y 0} STROKE {width .01} } rule MyShape { 36 * {r 10} Line1 {} } startshape MyShape path Line1 { MOVETO {x 0 y 0} LINETO {x 1 y [&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-64","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\/64","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=64"}],"version-history":[{"count":3,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":66,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions\/66"}],"wp:attachment":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}