{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 8 } , "rect" : [ 1030.0, 163.0, 838.0, 588.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-65", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 375.0, 339.0, 48.0, 20.0 ], "text" : "qmetro" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-63", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 465.0, 255.0, 41.0, 18.0 ], "text" : "oprgb" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-61", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 375.0, 255.0, 77.0, 18.0 ], "text" : "penmode 32" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-59", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 465.0, 405.0, 81.625, 20.0 ], "presentation_rect" : [ 463.375, 400.0, 0.0, 0.0 ], "text" : "calculate PI" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-58", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 375.0, 405.0, 85.0, 20.0 ], "text" : "expr acos(-1.)" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-57", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 248.75, 495.0, 81.625, 33.0 ], "presentation_rect" : [ 457.5, 375.0, 0.0, 0.0 ], "text" : "combine items in a list" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-54", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 210.375, 495.0, 35.0, 20.0 ], "text" : "join" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-51", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 375.0, 450.0, 210.0, 33.0 ], "presentation_rect" : [ 28.5, 504.0, 0.0, 0.0 ], "text" : "Convert between polar and Cartesian coordinates" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-50", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "float", "float" ], "patching_rect" : [ 435.5, 495.0, 53.0, 20.0 ], "text" : "cartopol" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "float", "float" ], "patching_rect" : [ 375.0, 495.0, 53.0, 20.0 ], "text" : "poltocar" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-48", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 375.0, 210.0, 66.0, 18.0 ], "text" : "drawsprite" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-45", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 465.0, 210.0, 64.0, 18.0 ], "text" : "frontsprite" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-43", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 465.0, 180.0, 68.0, 18.0 ], "presentation_rect" : [ 462.0, 179.0, 0.0, 0.0 ], "text" : "closesprite" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-42", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 375.0, 180.0, 74.0, 18.0 ], "text" : "recordsprite" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-40", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 375.0, 150.0, 82.0, 18.0 ], "text" : "enablesprites" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-38", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 465.0, 150.0, 72.0, 18.0 ], "text" : "clearsprites" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-36", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 375.0, 90.0, 147.5, 33.0 ], "presentation_rect" : [ 371.5, 90.0, 0.0, 0.0 ], "text" : "Messages to the lcd object..." } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-35", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 53.875, 495.0, 90.0, 33.0 ], "presentation_rect" : [ 62.0, 465.0, 0.0, 0.0 ], "text" : "if / then / else conditional" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-34", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, "patching_rect" : [ 30.375, 495.0, 18.0, 20.0 ], "text" : "if" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-32", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 195.0, 180.0, 75.0, 20.0 ], "presentation_rect" : [ 195.5, 181.0, 0.0, 0.0 ], "text" : "bitwise OR" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-33", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 162.5, 180.0, 32.5, 20.0 ], "text" : "|" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-31", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 435.0, 135.0, 20.0 ], "presentation_rect" : [ 26.0, 423.0, 0.0, 0.0 ], "text" : "comparison operators" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 150.0, 405.0, 32.5, 20.0 ], "text" : "!=" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 195.0, 405.0, 32.5, 20.0 ], "presentation_rect" : [ 148.0, 390.0, 0.0, 0.0 ], "text" : ">=" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 248.75, 405.0, 32.5, 20.0 ], "text" : ">" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 68.5, 405.0, 32.5, 20.0 ], "presentation_rect" : [ 69.0, 390.0, 0.0, 0.0 ], "text" : "<=" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 111.0, 405.0, 32.5, 20.0 ], "text" : "==" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 30.0, 405.0, 32.5, 20.0 ], "text" : "<" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 62.5, 180.0, 75.0, 20.0 ], "presentation_rect" : [ 62.5, 178.0, 0.0, 0.0 ], "text" : "bitwise AND" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 30.0, 180.0, 32.5, 20.0 ], "text" : "&" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-21", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 142.0, 285.0, 188.0, 74.0 ], "presentation_rect" : [ 161.0, 237.0, 0.0, 0.0 ], "text" : "Functions: \nmin, max, int, float, pow, sqrt, exp, log10, ln, log, sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, fact, random, etc." } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-20", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 68.5, 285.0, 75.0, 47.0 ], "presentation_rect" : [ 65.0, 240.0, 0.0, 0.0 ], "text" : "Inputs: \n$i1, $i2, ...\n$f1, $f2, ..." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, "patching_rect" : [ 30.0, 285.0, 34.0, 20.0 ], "text" : "expr" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-14", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 195.0, 225.0, 98.0, 20.0 ], "presentation_rect" : [ 194.0, 191.0, 0.0, 0.0 ], "text" : "raise to a power" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], "patching_rect" : [ 162.5, 225.0, 33.0, 20.0 ], "text" : "pow" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-10", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 62.5, 225.0, 87.0, 20.0 ], "presentation_rect" : [ 328.0, 148.0, 0.0, 0.0 ], "text" : "absolute value" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 30.0, 225.0, 30.0, 20.0 ], "text" : "abs" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-8", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 195.0, 150.0, 75.0, 20.0 ], "presentation_rect" : [ 209.0, 147.0, 0.0, 0.0 ], "text" : "logical OR" } } , { "box" : { "fontface" : 2, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-7", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 62.5, 150.0, 75.0, 20.0 ], "text" : "logical AND" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 162.5, 150.0, 32.5, 20.0 ], "text" : "||" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 30.0, 150.0, 32.5, 20.0 ], "text" : "&&" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-4", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 90.0, 300.0, 33.0 ], "text" : "These are the objects introduced in Patches 041 to 059. Spend some time exploring their documentation." } } , { "box" : { "bubble" : 1, "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-2", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 15.0, 315.0, 51.0 ], "text" : "Patch 060. Object Review, Patches 041-059\nWilliam J Turkel\nhttp://williamjturkel.net/code/#programming" } } , { "box" : { "bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ], "border" : 1, "id" : "obj-3", "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 15.0, 74.5, 810.0, 495.0 ], "rounded" : 20 } } ], "lines" : [ ], "dependency_cache" : [ ] } }