{"id":108,"date":"2015-06-16T05:18:45","date_gmt":"2015-06-16T01:18:45","guid":{"rendered":"http:\/\/courses.haigarmen.com\/creativecoding\/?p=108"},"modified":"2015-06-17T03:28:20","modified_gmt":"2015-06-16T23:28:20","slug":"exercise-14","status":"publish","type":"post","link":"https:\/\/courses.haigarmen.com\/creativecoding\/exercise-14\/","title":{"rendered":"Exercise 14"},"content":{"rendered":"<p>Making Rainbows<\/p>\n<pre><code>\r\nvoid setup() {\r\n  size(300, 300);\r\n  background(#04B1CE);\r\n  noFill();\r\n}\r\n\r\nvoid draw() {\r\n  strokeWeight(random(3, 10));\r\n  stroke(random(255), random(255), random(255));\r\n  float rainbow_size = random(200, 270);\r\n  ellipse(150, 350, rainbow_size, rainbow_size);\r\n}\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Making Rainbows void setup() { size(300, 300); background(#04B1CE); noFill(); } void draw() { strokeWeight(random(3, 10)); stroke(random(255), random(255), random(255)); float rainbow_size = random(200, 270); ellipse(150, 350, rainbow_size, rainbow_size); }<\/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-108","post","type-post","status-publish","format-standard","hentry","category-lessons"],"_links":{"self":[{"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts\/108","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=108"}],"version-history":[{"count":1,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/posts\/108\/revisions\/109"}],"wp:attachment":[{"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.haigarmen.com\/creativecoding\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}