{"id":506,"date":"2012-11-12T14:16:48","date_gmt":"2012-11-12T14:16:48","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/?p=506"},"modified":"2012-11-12T14:16:48","modified_gmt":"2012-11-12T14:16:48","slug":"nature-3-atomic-flower","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/2012\/11\/12\/nature-3-atomic-flower\/","title":{"rendered":"Nature 3 &#8211; Atomic Flower"},"content":{"rendered":"<p>There are so many beautiful flowers of every color out in the nature. What I wanted to create was more of a dynamic kind of beauty. Here is the atomic flower.<br \/>\n<script type=\"application\/processing\">\r\nfloat a = 200;\r\n\r\nvoid setup(){\r\n  size (500,500);\r\n  background (random(100),random(100,255),random(100));\r\n   noFill();\r\n   stroke(139,101,8);\r\n   strokeWeight(10);\r\n   curve (500,400,250,500,250,250,400,250);\r\n  smooth();\r\n  frameRate(15);\r\n}\r\nvoid draw(){\r\n  for (float angle = 0; angle < PI; angle += 0.01){\r\n\r\n    float r = a * cos (5*angle);\r\n    float x = r * cos(angle) + width\/2;\r\n    float y = r * sin(angle) + height\/2 ;\r\n    \r\n   \/\/noFill();\r\n   \/\/stroke(240,230,140);\r\n   \/\/curve (500,400,250,500,250,250,400,250);\r\n   \r\n   fill(random(255),random(255),random(255),random(255));\r\n   stroke(0,0,0,127);\r\n   strokeWeight(1);\r\n   ellipse (x , y , 40 , 40);\r\n   \r\n  }\r\n}\r\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are so many beautiful flowers of every color out in the nature. What I wanted to create was more of a dynamic kind of beauty. Here is the atomic flower.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts\/506"}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/comments?post=506"}],"version-history":[{"count":1,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts\/506\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/media?parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/categories?post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/tags?post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}