{"id":229,"date":"2011-11-15T16:47:26","date_gmt":"2011-11-16T00:47:26","guid":{"rendered":"http:\/\/new.joyofprocessing.com\/blog\/?p=229"},"modified":"2011-11-15T16:51:45","modified_gmt":"2011-11-16T00:51:45","slug":"tiny-sketch-1-galactica","status":"publish","type":"post","link":"https:\/\/joyofprocessing.com\/blog\/2011\/11\/tiny-sketch-1-galactica\/","title":{"rendered":"Tiny Sketch #1: Galactica"},"content":{"rendered":"<p><script type=\"application\/processing\">int w=500;\n\nvoid setup() {\n size(w,w);\n background(0);\n}\n\nint c=w\/2;\nvoid draw() {\n  stroke(255);\n  for(float r=c*1.3;r>0;r-=.1){\n    float a=r*(mouseY+mouseX*270)*.0001;\n    point(c+cos(a)*r*sin(r),c+sin(a)*r*sin(r));\n  } \n  filter(11);\n  blend(0,0,w,w,-2,2,w+3,w-5,1);\n}\n\n<\/script><\/p>\n<div class=\"ps_cap\"><a href=\"\/showexample.php?ex=galactica\">source<\/a><\/div>\n<p>\nBack in 2009 <a href=\"http:\/\/rhizome.org\">Rhizome<\/a> sponsored a <a href=\"http:\/\/rhizome.org\/editorial\/2009\/aug\/21\/tiny-sketch\/\">&#8220;Tiny Sketch&#8221; competition<\/a> at the <a href=\"http:\/\/openprocessing.org\">OpenProcessing website<\/a>.  All the entries had to be 200 characters or less.  I entered about 16 sketches, many of which are unreadable, due to lack of whitespace, and short variable names.<\/p>\n<p>I thought it would be fun to present some of the nicer ones here, although I&#8217;m going to raise the limit to 300 characters in the interest of readability.  All these sketches can be reduced 200 characters or less, with some ingenuity.<\/p>\n<p>This one looks interesting if you make tiny mouse wiggles on top of it.  Because I&#8217;m using the BLUR filter, it has a slow framerate in Processing.js, but works okay in regular Processing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>source Back in 2009 Rhizome sponsored a &#8220;Tiny Sketch&#8221; competition at the OpenProcessing website. All the entries had to be 200 characters or less. I entered about 16 sketches, many of which are unreadable, due to lack of whitespace, and short variable names. I thought it would be fun to present some of the nicer [&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":[21,20],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-advanced","tag-tiny-sketch"],"_links":{"self":[{"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":6,"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joyofprocessing.com\/blog\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}