{
   "description" : "One face of the SC cube. Code originally by Batuhan Bozkurt (iirc). Feel free to fork and pimp or make a 3D version of the cube ;)\r\n\r\nCode taken from:\r\nhttp://comments.gmane.org/gmane.comp.audio.supercollider.user/58758",
   "ancestor_list" : [],
   "name" : "SC Cube (from the list archives)",
   "author" : "rukano",
   "code" : "(\r\nvar w, v, r, c;\r\nvar sideLength = 360;\r\nw = SCWindow(\"icon\", Rect(100, 100, sideLength * 1.2, sideLength * 1.2));\r\nw.view.background = Color(0.5,0.5,0.8);\r\n\r\nr = Rect(20, 20, sideLength, sideLength);\r\nc = [ -0.0625, 1.0625 ]; \r\n\r\n8.do {|i|\r\nv = SCStaticText(w, r);\r\nv.background = Gradient( Color.grey(c[i>>1+1&1]), Color.grey(c[i>>1&1]), [\\v, \\h][i&1], 512);\r\nr = r.insetBy(sideLength / 16, sideLength / 16);\r\nr.postln;\r\nc = c + [1/16, -1/16];\r\nc.postln;\r\n};\r\n\r\nw.front;\r\n)",
   "is_private" : null,
   "id" : "1-1KN",
   "labels" : [
      "supercollider",
      "cube",
      "logo",
      "fanboy"
   ]
}
