{"id":106,"date":"2015-06-17T03:24:13","date_gmt":"2015-06-16T23:24:13","guid":{"rendered":"http:\/\/courses.haigarmen.com\/creativecoding\/?p=106"},"modified":"2015-06-17T07:04:17","modified_gmt":"2015-06-17T03:04:17","slug":"exercise-22","status":"publish","type":"post","link":"https:\/\/courses.haigarmen.com\/creativecoding\/exercise-22\/","title":{"rendered":"Exercise 22"},"content":{"rendered":"<p>Rotating Objects<\/p>\n<pre><code>\r\nsize(400,300);\r\n\r\nbackground(#6AA21E);\r\nnoStroke();\r\nsmooth();\r\n\r\nfloat c = 0;\r\n\r\nwhile(c < 100) {\r\n  fill(random(255));\r\n  rect(200,10,50, 5);\r\n\r\n  fill(255, 0, 0);\r\n  rect(260,10,10, 5);\r\n\r\n  rotate(0.02);\r\n  c = c + 1;\r\n}\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Rotating Objects size(400,300); background(#6AA21E); noStroke(); smooth(); float c = 0; while(c < 100) { fill(random(255)); rect(200,10,50, 5); fill(255, 0, 0); rect(260,10,10, 5); rotate(0.02); c = c + 1; }\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-lessons"],"_links":{"self":[{"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":3,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":130,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts\/106\/revisions\/130"}],"wp:attachment":[{"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}