diff --git a/patchers/fluid.jit.plotter.maxpat b/patchers/fluid.jit.plotter.maxpat index 3f319bd5..f5f8befa 100644 --- a/patchers/fluid.jit.plotter.maxpat +++ b/patchers/fluid.jit.plotter.maxpat @@ -1,18799 +1,16832 @@ { - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "openrect" : [ 34.0, 100.0, 363.0, 361.0 ], - "openinpresentation" : 1, - "gridsize" : [ 15.0, 15.0 ], - "devicewidth" : 363.0, - "boxes" : [ { - "box" : { - "id" : "obj-78", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1168.0, 223.5, 81.0, 33.0 ], - "text" : "disable upon \"highlight -1\"" - } - - } -, { - "box" : { - "id" : "obj-63", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1158.0, 279.0, 55.0, 22.0 ], - "text" : "enable 0" - } - - } -, { - "box" : { - "id" : "obj-90", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 453.95398337642348, 776.0, 93.0, 22.0 ], - "text" : "r #0_to_node" - } - - } -, { - "box" : { - "id" : "obj-88", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1427.0, 565.0, 61.0, 22.0 ], - "text" : "list.slice 2" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1469.0, 602.0, 93.0, 22.0 ], - "text" : "pv bpatcher_wh" - } - - } -, { - "box" : { - "id" : "obj-89", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 394.0, 612.0, 93.0, 22.0 ], - "text" : "pv bpatcher_wh" - } - - } -, { - "box" : { - "id" : "obj-84", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 381.95398337642348, 776.0, 61.0, 22.0 ], - "text" : "dim $1 $1" - } - - } -, { - "box" : { - "id" : "obj-85", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 381.95398337642348, 749.0, 29.5, 22.0 ], - "text" : "* 2" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 381.95398337642348, 722.0, 57.0, 22.0 ], - "text" : "minimum" - } - - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 339.95398337642348, 578.0, 61.0, 22.0 ], - "text" : "list.slice 2" - } - - } -, { - "box" : { - "id" : "obj-82", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_gl_texture", "" ], - "patching_rect" : [ 470.95398337642348, 860.0, 263.0, 22.0 ], - "text" : "jit.gl.camera #0_fluid.jit.plotter.node @ortho 2" - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 381.95398337642348, 892.0, 422.0, 22.0 ], - "text" : "jit.gl.videoplane #0_fluid.jit.plotter @transform_reset 1 @preserve_aspect 1" - } - - } -, { - "box" : { - "id" : "obj-58", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "jit_gl_texture", "", "" ], - "patching_rect" : [ 381.95398337642348, 814.0, 342.0, 35.0 ], - "text" : "jit.gl.node #0_fluid.jit.plotter @erase_color 1 1 1 1 @adapt 0 @dim 300 300 @capture 1 @name #0_fluid.jit.plotter.node" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 505.0, 124.0, 22.0 ], - "text" : "pv highlight_scale 2.4" - } - - } -, { - "box" : { - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 521.0, 262.0, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 521.0, 290.0, 107.0, 22.0 ], - "text" : "pv pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-100", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 671.0, 417.0, 109.0, 22.0 ], - "text" : "r #0_to_shaders" - } - - } -, { - "box" : { - "id" : "obj-99", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 772.0, 619.0, 146.0, 22.0 ], - "text" : "r #0_update_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-97", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1267.0, 240.0, 222.0, 20.0 ], - "text" : "pointsize to control individual point sizes" - } - - } -, { - "box" : { - "id" : "obj-93", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 1343.0, -1083.0, 453.0, 648.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 132.0, 411.0, 57.0, 22.0 ], - "text" : "tosymbol" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 132.0, 504.0, 95.0, 22.0 ], - "text" : "setcell $1 val $2" - } - - } -, { - "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 195.0, 342.0, 150.0, 22.0 ], - "text" : "s #0_request_ids_dump" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 155.0, 313.0, 59.0, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 574.0, 225.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 137.0, 54.0, 22.0 ], - "text" : "deferlow" - } - - } -, { - "box" : { - "id" : "obj-2", - "linecount" : 8, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 131.0, 78.0, 418.0, 114.0 ], - "text" : "This will make sure that we only trigger redraw after the last \"pointcolor\".\n\nWe expect that users might use \"pointcolor\" to set individual colors for every sample in the dataset, possibly in a loop (driven by an uzi). This way we only trigger an update after the loop is done.\n\n(The assumption is that there cannot be 20ms pauses between consequtive steps in the loop.)" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 78.0, 65.0, 22.0 ], - "text" : "stop, bang" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 108.0, 54.0, 22.0 ], - "text" : "delay 20" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-37", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-39", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 167.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-37", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 12.0, 536.0, 79.0, 22.0 ], - "text" : "p bangthresh" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 12.0, 603.0, 148.0, 22.0 ], - "text" : "s #0_update_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-167", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 32.0, 573.0, 153.0, 22.0 ], - "text" : "s #0_redraw_highlighted" - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 12.0, 113.0, 162.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 132.0, 535.0, 143.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 132.0, 474.0, 161.0, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 132.0, 381.0, 161.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 132.0, 441.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 132.0, 249.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-57", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 132.0, 279.0, 42.0, 22.0 ], - "text" : "gate 2" - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 190.0, 206.0, 33.0, 22.0 ], - "text" : "== 0" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 190.0, 174.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "length" ], - "patching_rect" : [ 155.0, 145.0, 54.0, 22.0 ], - "text" : "t l length" - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 355.0, 117.0, 77.0, 33.0 ], - "text" : "other messages" - } - - } -, { - "box" : { - "comment" : "colorscheme", - "id" : "obj-241", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 323.0, 117.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 25.0, 40.0, 56.0, 20.0 ], - "text" : "pointsize" - } - - } -, { - "box" : { - "id" : "obj-154", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 12.0, 83.0, 330.0, 22.0 ], - "text" : "route pointsize" - } - - } -, { - "box" : { - "comment" : "shape, pointsize, highlightedpointsize, bgcolor", - "id" : "obj-243", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 12.0, 8.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 1 ], - "source" : [ "obj-12", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-154", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-241", 0 ], - "source" : [ "obj-154", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-21", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-154", 0 ], - "source" : [ "obj-243", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-167", 0 ], - "order" : 0, - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-48", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 1 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-56", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-57", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-57", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 0 ], - "source" : [ "obj-58", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1258.0, 262.0, 109.0, 22.0 ], - "text" : "p handle_pointsize" - } - - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ -258.0, -859.0, 459.0, 366.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 320.666666666666686, 148.0, 107.0, 22.0 ], - "text" : "pv highlight_scale" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 320.666666666666686, 178.0, 107.0, 22.0 ], - "text" : "highlight_scale $1" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 269.0, 121.0, 22.0 ], - "text" : "vertex_attr_matrix $2" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.333333333333343, 148.0, 107.0, 22.0 ], - "text" : "pv pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.333333333333343, 178.0, 107.0, 22.0 ], - "text" : "pointsize_scale $1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 50.0, 81.0, 289.666666666666686, 22.0 ], - "text" : "b 3" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "jit.gen", - "rect" : [ 1223.0, -1207.0, 297.0, 210.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 47.0, 103.0, 22.0 ], - "text" : "* pointsize_scaler" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 137.0, 47.0, 149.0, 22.0 ], - "text" : "param pointsize_scaler 20" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 105.0, 96.0, 22.0 ], - "text" : "* highlight_scale" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 139.0, 105.0, 145.0, 22.0 ], - "text" : "param highlight_scale 2.4" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 137.0, 77.0, 138.0, 22.0 ], - "text" : "param pointsize_scale 1" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 16.0, 28.0, 22.0 ], - "text" : "in 1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 77.0, 99.0, 22.0 ], - "text" : "* pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 16.0, 166.0, 35.0, 22.0 ], - "text" : "out 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-8", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 50.0, 236.0, 41.0, 22.0 ], - "text" : "jit.gen" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 113.0, 227.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_pointsizes" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-63", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-73", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 306.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-73", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-8", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 869.0, 417.0, 136.0, 22.0 ], - "text" : "p apply_pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 371.0, -830.0, 346.0, 355.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 265.0, 121.0, 22.0 ], - "text" : "vertex_attr_matrix $2" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 141.0, 107.0, 22.0 ], - "text" : "pv pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 171.0, 107.0, 22.0 ], - "text" : "pointsize_scale $1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 50.0, 80.0, 179.0, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "jit.gen", - "rect" : [ 1107.0, -831.0, 310.0, 178.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-9", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 75.0, 109.0, 142.0, 20.0 ], - "text" : "for parity with fluid.plotter" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 38.0, 108.0, 23.0, 22.0 ], - "text" : "* 2" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 48.0, 103.0, 22.0 ], - "text" : "* pointsize_scaler" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 136.0, 48.0, 149.0, 22.0 ], - "text" : "param pointsize_scaler 20" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 136.0, 80.0, 138.0, 22.0 ], - "text" : "param pointsize_scale 1" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 16.0, 28.0, 22.0 ], - "text" : "in 1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 79.0, 99.0, 22.0 ], - "text" : "* pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 16.0, 135.0, 35.0, 22.0 ], - "text" : "out 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-7", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 50.0, 232.0, 41.0, 22.0 ], - "text" : "jit.gen" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 112.0, 164.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-63", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-73", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 302.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-73", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-8", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 772.0, 685.5, 136.0, 22.0 ], - "text" : "p apply_pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 479.5, 117.0, 22.0 ], - "text" : "pv pointsize_scale 1" - } - - } -, { - "box" : { - "id" : "obj-57", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1944.0, 134.0, 267.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_pointsizes 1 float32 1" - } - - } -, { - "box" : { - "filename" : "fluid.jit.plotter.mesh.render.jxs", - "id" : "obj-52", - "linecount" : 3, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 690.0, 459.0, 234.0, 49.0 ], - "text" : "jit.gl.shader @file fluid.jit.plotter.mesh.render.jxs @name #0_highlighted_points_render", - "textfile" : { - "filename" : "fluid.jit.plotter.mesh.render.jxs", - "flags" : 0, - "embed" : 0, - "autowatch" : 1 - } - - } - - } -, { - "box" : { - "filename" : "fluid.jit.plotter.mesh.render.jxs", - "id" : "obj-50", - "linecount" : 3, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 690.0, 722.0, 240.0, 49.0 ], - "text" : "jit.gl.shader @file fluid.jit.plotter.mesh.render.jxs @name #0_points_render", - "textfile" : { - "filename" : "fluid.jit.plotter.mesh.render.jxs", - "flags" : 0, - "embed" : 0, - "autowatch" : 1 - } - - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1944.0, 49.0, 203.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes 1 float32 1" - } - - } -, { - "box" : { - "id" : "obj-71", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1489.0, 865.0, 77.0, 22.0 ], - "text" : "s #0_draw" - } - - } -, { - "box" : { - "id" : "obj-72", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 1489.0, 832.0, 103.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-69", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1495.0, 94.0, 77.0, 22.0 ], - "text" : "s #0_draw" - } - - } -, { - "box" : { - "id" : "obj-70", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 1495.0, 58.0, 103.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-64", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 8.0, 94.0, 77.0, 22.0 ], - "text" : "s #0_draw" - } - - } -, { - "box" : { - "id" : "obj-66", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 8.0, 58.0, 99.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 88.0, 211.0, 77.0, 22.0 ], - "text" : "s #0_draw" - } - - } -, { - "box" : { - "id" : "obj-59", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 1642.0, 548.5, 108.0, 22.0 ], - "text" : "b 3" - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 177.95398337642348, 578.0, 77.0, 22.0 ], - "text" : "s #0_draw" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 938.0, 807.0, 75.0, 22.0 ], - "text" : "r #0_draw" - } - - } -, { - "box" : { - "id" : "obj-49", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 938.0, 837.0, 46.0, 22.0 ], - "text" : "qlim 11" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 935.5, 959.0, 43.0, 20.0 ], - "text" : "render" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1006.0, 865.0, 101.0, 22.0 ], - "text" : "r #0_to_render" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-41", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "erase" ], - "patching_rect" : [ 938.0, 864.0, 63.0, 23.0 ], - "text" : "t b erase" - } - - } -, { - "box" : { - "id" : "obj-42", - "linecount" : 3, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 938.0, 908.0, 165.0, 49.0 ], - "text" : "jit.gl.render #0_fluid.jit.plotter @erase_color 1 1 1 1 @blend_enable 1" - } - - } -, { - "box" : { - "id" : "obj-38", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1284.0, 459.0, 130.0, 35.0 ], - "text" : "loadmess name #0_fluid.jit.plotter" - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "jit.pwindow", - "name" : "#0_fluid.jit.plotter", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1284.0, 565.0, 80.0, 80.0 ], - "presentation" : 1, - "presentation_rect" : [ 0.0, 0.0, 363.0, 361.0 ], - "sync" : 1 - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1299.0, 512.0, 113.0, 22.0 ], - "text" : "r #0_to_pwindow" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 357.86195012927044, 290.0, 153.0, 22.0 ], - "text" : "s #0_redraw_highlighted" - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 357.86195012927044, 262.0, 43.0, 22.0 ], - "text" : "zlclear" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 827.0, 118.0, 51.0, 20.0 ], - "text" : "setpoint" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 87.0, 128.0, 1539.0, 861.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 353.0, 277.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 87.0, 138.0, 80.0, 22.0 ], - "text" : "setall 1, bang" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 82.0, 45.0, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-22", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 207.0, 166.0, 140.0, 33.0 ], - "text" : "add a new 1D point with default point size" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 50.0, 79.0, 56.0, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 227.0, 143.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 87.0, 165.0, 113.0, 22.0 ], - "text" : "jit.matrix 1 float32 1" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 191.0, 56.0, 22.0 ], - "text" : "jit.concat" - } - - } -, { - "box" : { - "id" : "obj-137", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 109.0, 143.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-56", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 1 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-137", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-137", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-20", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-56", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 143.0, 391.0, 141.0, 22.0 ], - "text" : "p extend_pointsizes_mat" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 143.0, 343.0, 81.0, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 273.0, 369.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 94.0, 191.0, 29.5, 22.0 ], - "text" : "!- 1" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 73.0, 100.0, 39.5, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 94.0, 216.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 38.0, 259.0, 54.0, 22.0 ], - "text" : "gate 2" - } - - } -, { - "box" : { - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 94.0, 159.0, 149.0, 22.0 ], - "text" : "list.compare #0_internal" - } - - } -, { - "box" : { - "id" : "obj-78", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 93.5, 130.0, 101.0, 22.0 ], - "text" : "pv dataset_name" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-30", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 73.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-37", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 38.0, 299.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-45", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 73.0, 299.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-15", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 1 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-30", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-79", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 341.0, 54.0, 118.0, 22.0 ], - "text" : "p check_if_first_time" - } - - } -, { - "box" : { - "id" : "obj-123", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 450.0, 289.0, 101.0, 33.0 ], - "text" : "set existing point with new data" - } - - } -, { - "box" : { - "id" : "obj-97", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 454.0, 414.0, 126.0, 20.0 ], - "text" : "trigger buffer to matrix" - } - - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 438.0, 469.0, 114.0, 22.0 ], - "text" : "s #0_to_jit_buffer" - } - - } -, { - "box" : { - "id" : "obj-99", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 438.0, 441.0, 229.0, 22.0 ], - "text" : "set #0_points_2d, outputlast $1, output" - } - - } -, { - "box" : { - "id" : "obj-100", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 438.0, 383.0, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "id" : "obj-115", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 450.0, 355.0, 54.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-119", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 134.0, 172.0, 418.0, 363.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-33", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 189.0, 326.0, 169.0, 20.0 ], - "text" : "store point xy at existing index" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 189.0, 257.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 189.0, 225.0, 43.0, 22.0 ], - "text" : "list.rev" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "list" ], - "patching_rect" : [ 189.0, 191.0, 66.0, 22.0 ], - "text" : "listfunnel 1" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 147.0, 132.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 147.0, 97.0, 141.0, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-533", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 189.0, 300.0, 179.0, 22.0 ], - "text" : "poke~ #0_points_2d" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 269.0, 160.0, 57.0, 22.0 ], - "text" : "tosymbol" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 269.0, 132.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 19.0, 60.0, 147.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 269.0, 191.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 51.0, 137.0, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-15", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 19.0, 132.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 51.0, 23.0, 115.0, 20.0 ], - "text" : " " - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-48", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.0, 18.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-14", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-30", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-533", 2 ], - "source" : [ "obj-31", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-533", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-533", 1 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-9", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 438.0, 331.0, 116.0, 22.0 ], - "text" : "p modify_points_buf" - } - - } -, { - "box" : { - "id" : "obj-81", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 341.0, 217.0, 44.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 341.0, 147.0, 141.0, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-74", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 438.0, 217.0, 44.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-66", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 873.0, 282.0, 193.0, 380.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 72.0, 281.0, 25.0, 22.0 ], - "text" : "b 1" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 21.0, 115.0, 20.0 ], - "text" : " " - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 16.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 17.0, 252.0, 74.0, 22.0 ], - "text" : "sel notfound" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 47.0, 111.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-37", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "notfound" ], - "patching_rect" : [ 17.0, 73.0, 78.0, 22.0 ], - "text" : "t b l notfound" - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 17.0, 221.0, 78.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 47.0, 150.0, 57.0, 22.0 ], - "text" : "tosymbol" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 47.0, 183.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-62", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 17.0, 314.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-63", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 72.0, 314.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "source" : [ "obj-30", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 1 ], - "source" : [ "obj-37", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-37", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 1 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-52", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "source" : [ "obj-52", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 341.0, 183.0, 116.0, 22.0 ], - "text" : "p check_if_id_exists" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 279.0, 184.0, 58.0, 20.0 ], - "text" : "ID is new" - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 478.0, 184.0, 97.0, 20.0 ], - "text" : "ID already exists" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 452.0, 57.0, 22.0 ], - "text" : "tosymbol" - } - - } -, { - "box" : { - "id" : "obj-96", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 41.0, 775.0, 126.0, 20.0 ], - "text" : "trigger buffer to matrix" - } - - } -, { - "box" : { - "id" : "obj-164", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 25.0, 830.0, 114.0, 22.0 ], - "text" : "s #0_to_jit_buffer" - } - - } -, { - "box" : { - "id" : "obj-553", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 802.0, 229.0, 22.0 ], - "text" : "set #0_points_2d, outputlast $1, output" - } - - } -, { - "box" : { - "id" : "obj-94", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 747.0, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "id" : "obj-93", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 209.0, 720.0, 113.0, 20.0 ], - "text" : "map label to buf idx" - } - - } -, { - "box" : { - "id" : "obj-92", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 84.0, 693.0, 69.0, 22.0 ], - "text" : "store $1 $2" - } - - } -, { - "box" : { - "id" : "obj-90", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 84.0, 718.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-89", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "" ], - "patching_rect" : [ 25.0, 604.0, 137.0, 22.0 ], - "text" : "t b l l" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 284.0, 666.0, 113.0, 20.0 ], - "text" : "map buf idx to label" - } - - } -, { - "box" : { - "id" : "obj-82", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 143.0, 634.0, 83.0, 22.0 ], - "text" : "setlabel $2 $1" - } - - } -, { - "box" : { - "id" : "obj-77", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 35.0, 573.0, 125.0, 20.0 ], - "text" : "(identifier, last buf idx)" - } - - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 539.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 209.0, 509.0, 127.0, 20.0 ], - "text" : "increment num_points" - } - - } -, { - "box" : { - "id" : "obj-73", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 143.0, 479.0, 47.0, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-71", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 171.0, 539.0, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "id" : "obj-70", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 171.0, 508.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-72", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 143.0, 452.0, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "id" : "obj-69", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 25.0, 421.0, 137.0, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-68", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 37.0, 332.0, 54.0, 20.0 ], - "text" : "identifier" - } - - } -, { - "box" : { - "id" : "obj-67", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 143.0, 665.0, 134.0, 22.0 ], - "text" : "fluid.labelset~ #0_ids" - } - - } -, { - "box" : { - "id" : "obj-59", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 164.0, 295.5, 155.0, 47.0 ], - "text" : "extend point_colors and pointsizes matrices without losing their content" - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 346.0, 277.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 87.0, 135.0, 120.0, 22.0 ], - "text" : "setall 0 0 0 0.8, bang" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 82.0, 45.0, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 207.0, 164.0, 112.0, 20.0 ], - "text" : "add a new 4D point" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 50.0, 79.0, 56.0, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 227.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 87.0, 163.0, 113.0, 22.0 ], - "text" : "jit.matrix 4 float32 1" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 191.0, 56.0, 22.0 ], - "text" : "jit.concat" - } - - } -, { - "box" : { - "id" : "obj-137", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.0, 107.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-56", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 1 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-137", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-137", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-20", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-56", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 205.0, 367.0, 153.0, 22.0 ], - "text" : "p extend_point_colors_mat" - } - - } -, { - "box" : { - "id" : "obj-51", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 37.0, 265.0, 95.0, 33.0 ], - "text" : "append point to points buffer" - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 787.0, 387.0, 640.0, 480.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-16", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 82.0, 389.0, 54.0, 20.0 ], - "text" : "identifier" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-15", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 384.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 124.0, 345.0, 97.0, 20.0 ], - "text" : "bang when done" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 92.0, 304.0, 25.0, 22.0 ], - "text" : "b 1" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 232.0, 243.0, 117.0, 20.0 ], - "text" : "append to points_2d" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 112.0, 82.0, 192.0, 20.0 ], - "text" : "write into buffer as 2-channel point" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 92.0, 242.0, 135.0, 22.0 ], - "text" : "deststartframe $1, bang" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 92.0, 140.0, 25.0, 22.0 ], - "text" : "b 1" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 92.0, 173.0, 135.0, 22.0 ], - "text" : "getattr samps @listen 0" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 81.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "buffer" ], - "patching_rect" : [ 92.0, 111.0, 275.0, 22.0 ], - "text" : "fluid.list2buf @destination #0_point_2d @axis 1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 365.0, 86.0, 129.0, 22.0 ], - "text" : "buffer~ #0_point_2d " - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 92.0, 274.0, 488.0, 22.0 ], - "text" : "fluid.bufcompose~ @source #0_point_2d @destination #0_points_2d @numframes 1" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 82.0, 45.0, 115.0, 20.0 ], - "text" : " " - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 150.0, 208.0, 135.0, 22.0 ], - "text" : "buffer~ #0_points_2d" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-48", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-49", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 92.0, 340.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-5", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-7", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 25.0, 308.0, 137.0, 22.0 ], - "text" : "p append_to_points_buf" - } - - } -, { - "box" : { - "id" : "obj-44", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 628.0, 136.0, 93.0, 33.0 ], - "text" : "set point in internal dataset" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 616.0, 332.0, 202.0, 20.0 ], - "text" : "set buffer as entry in internal dataset" - } - - } -, { - "box" : { - "id" : "obj-38", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 616.0, 279.0, 153.0, 22.0 ], - "text" : "setpoint $1 #0_set_point" - } - - } -, { - "box" : { - "id" : "obj-39", - "linecount" : 4, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "buffer" ], - "patching_rect" : [ 658.0, 206.0, 91.0, 62.0 ], - "text" : "fluid.list2buf @autosize 0 @destination #0_set_point" - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 616.0, 176.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 616.0, 308.0, 156.0, 22.0 ], - "text" : "fluid.dataset~ #0_internal" - } - - } -, { - "box" : { - "id" : "obj-186", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 903.0, 158.0, 169.0, 47.0 ], - "text" : "it is necessary to dereference the buffer in jit.buffer first, so the dataset can resize it" - } - - } -, { - "box" : { - "id" : "obj-162", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 890.0, 239.0, 114.0, 22.0 ], - "text" : "s #0_to_jit_buffer" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 891.0, 212.0, 55.0, 22.0 ], - "text" : "set none" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 341.0, 112.0, 569.0, 22.0 ], - "text" : "t l l l" - } - - } -, { - "box" : { - "id" : "obj-33", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1267.0, 502.0, 202.0, 47.0 ], - "text" : "this will populate the coll ids2samps with the first sample (loaded from the ids labelset)" - } - - } -, { - "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1114.0, 502.0, 150.0, 22.0 ], - "text" : "s #0_request_ids_dump" - } - - } -, { - "box" : { - "id" : "obj-32", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1273.0, 367.0, 202.0, 60.0 ], - "text" : "set reference to this internal dataset; this will:\n- reset everything\n- trigger jit.buffer to mesh" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1189.0, 367.0, 81.0, 22.0 ], - "text" : "#0_internal" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 1114.0, 333.0, 94.0, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1319.0, 274.0, 202.0, 20.0 ], - "text" : "set buffer as entry in internal dataset" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1175.0, 113.0, 152.0, 20.0 ], - "text" : "set point in internal dataset" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 1114.0, 112.0, 59.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1154.0, 244.0, 185.0, 22.0 ], - "text" : "clear, setpoint $1 #0_set_point" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 1305.0, 206.0, 192.0, 22.0 ], - "text" : "buffer~ #0_set_point @samps 2" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "buffer" ], - "patching_rect" : [ 1196.0, 177.0, 301.0, 22.0 ], - "text" : "fluid.list2buf @autosize 0 @destination #0_set_point" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1154.0, 144.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 265.0, 55.0, 74.0, 20.0 ], - "text" : "not first time" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 461.0, 55.0, 54.0, 20.0 ], - "text" : "first time" - } - - } -, { - "box" : { - "id" : "obj-64", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1376.0, 798.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1232.0, 798.0, 134.0, 22.0 ], - "text" : "fluid.labelset~ #0_ids" - } - - } -, { - "box" : { - "id" : "obj-533", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 1087.0, 798.0, 135.0, 22.0 ], - "text" : "buffer~ #0_points_2d" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "clear" ], - "patching_rect" : [ 926.0, 743.0, 41.0, 22.0 ], - "text" : "t clear" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 926.0, 798.0, 156.0, 22.0 ], - "text" : "fluid.dataset~ #0_internal" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 958.0, 711.0, 79.0, 20.0 ], - "text" : "bang to reset" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 926.0, 706.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1154.0, 273.0, 156.0, 22.0 ], - "text" : "fluid.dataset~ #0_internal" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1224.0, 449.0, 106.0, 20.0 ], - "text" : "to [p handle_refer]" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 376.0, 15.0, 115.0, 20.0 ], - "text" : " " - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-41", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 341.0, 10.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-42", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1189.0, 444.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-162", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-100", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "order" : 1, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-533", 0 ], - "order" : 2, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-64", 0 ], - "order" : 0, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "order" : 3, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-100", 0 ], - "source" : [ "obj-119", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-18", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-23", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-29", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-34", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-34", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-38", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-40", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-41", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "midpoints" : [ 449.5, 93.5, 1123.5, 93.5 ], - "source" : [ "obj-46", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-46", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-5", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-50", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-69", 0 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-164", 0 ], - "source" : [ "obj-553", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-74", 0 ], - "source" : [ "obj-66", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-81", 0 ], - "source" : [ "obj-66", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-69", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-69", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-70", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-73", 0 ], - "source" : [ "obj-72", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-73", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 1 ], - "source" : [ "obj-73", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "source" : [ "obj-74", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-89", 0 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-74", 1 ], - "order" : 0, - "source" : [ "obj-80", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-81", 1 ], - "order" : 1, - "source" : [ "obj-80", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "midpoints" : [ 350.5, 252.0, 34.5, 252.0 ], - "source" : [ "obj-81", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-82", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-89", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-89", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "source" : [ "obj-89", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-90", 0 ], - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-553", 0 ], - "source" : [ "obj-94", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-99", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 223.0, 330.0, 103.0, 22.0 ], - "text" : "p handle_setpoint" - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1943.0, 858.0, 156.0, 22.0 ], - "text" : "fluid.dataset~ #0_internal" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1907.0, 834.0, 122.0, 20.0 ], - "text" : "internal (for setpoint):" - } - - } -, { - "box" : { - "id" : "obj-37", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1272.0, 345.5, 240.0, 33.0 ], - "text" : "pointcolor will set an RGBA color to a point (referenced by dataset ID)" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 534.0, 213.0, 481.0, 711.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 109.0, 169.0, 288.0, 463.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-17", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 71.0, 388.0, 77.0, 20.0 ], - "text" : "R G B A (list)" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 44.0, 328.0, 62.0, 22.0 ], - "text" : "append 1." - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 110.0, 227.0, 22.0, 22.0 ], - "text" : "t 2" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 73.0, 227.0, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 44.0, 121.0, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 11.0, 283.0, 52.0, 22.0 ], - "text" : "gate 2 1" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 73.0, 197.0, 93.0, 22.0 ], - "text" : "sel 4 3" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 73.0, 161.0, 43.0, 22.0 ], - "text" : "list.len" - } - - } -, { - "box" : { - "id" : "obj-6", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 92.0, 63.0, 150.0, 47.0 ], - "text" : "if the user only specifies RGB then fill 1. for the alpha" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 84.0, 28.0, 150.0, 20.0 ], - "text" : "R G B or R G B A (list)" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-2", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 11.0, 385.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 44.0, 23.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-10", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-11", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-8", 1 ] - } - - } - ] - } -, - "patching_rect" : [ 301.0, 436.5, 169.0, 22.0 ], - "text" : "p fill_alpha_1_if_not_specified" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 159.0, 436.5, 57.0, 22.0 ], - "text" : "tosymbol" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 159.0, 532.0, 145.0, 22.0 ], - "text" : "setcell $1 val $2 $3 $4 $5" - } - - } -, { - "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 222.0, 346.0, 150.0, 22.0 ], - "text" : "s #0_request_ids_dump" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 182.0, 317.0, 59.0, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 574.0, 225.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 137.0, 54.0, 22.0 ], - "text" : "deferlow" - } - - } -, { - "box" : { - "id" : "obj-2", - "linecount" : 8, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 131.0, 78.0, 418.0, 114.0 ], - "text" : "This will make sure that we only trigger redraw after the last \"pointcolor\".\n\nWe expect that users might use \"pointcolor\" to set individual colors for every sample in the dataset, possibly in a loop (driven by an uzi). This way we only trigger an update after the loop is done.\n\n(The assumption is that there cannot be 20ms pauses between consequtive steps in the loop.)" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 78.0, 65.0, 22.0 ], - "text" : "stop, bang" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 108.0, 54.0, 22.0 ], - "text" : "delay 20" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-37", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-39", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 167.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-37", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 39.0, 580.0, 79.0, 22.0 ], - "text" : "p bangthresh" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 39.0, 647.0, 159.0, 22.0 ], - "text" : "s #0_update_point_colors" - } - - } -, { - "box" : { - "id" : "obj-167", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 59.0, 617.0, 153.0, 22.0 ], - "text" : "s #0_redraw_highlighted" - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 39.0, 117.0, 162.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 159.0, 563.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors " - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 159.0, 502.0, 161.0, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 159.0, 404.0, 161.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 159.0, 469.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 159.0, 253.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-57", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 159.0, 283.0, 42.0, 22.0 ], - "text" : "gate 2" - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 217.0, 210.0, 33.0, 22.0 ], - "text" : "== 0" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 217.0, 178.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "length" ], - "patching_rect" : [ 182.0, 149.0, 54.0, 22.0 ], - "text" : "t l length" - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 382.0, 121.0, 77.0, 33.0 ], - "text" : "other messages" - } - - } -, { - "box" : { - "comment" : "colorscheme", - "id" : "obj-241", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 350.0, 121.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 52.0, 44.0, 61.0, 20.0 ], - "text" : "pointcolor" - } - - } -, { - "box" : { - "id" : "obj-154", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 39.0, 87.0, 330.0, 22.0 ], - "text" : "route pointcolor" - } - - } -, { - "box" : { - "comment" : "shape, pointsize, highlightedpointsize, bgcolor", - "id" : "obj-243", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 39.0, 12.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-1", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-12", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-154", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-241", 0 ], - "source" : [ "obj-154", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-21", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-154", 0 ], - "source" : [ "obj-243", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-167", 0 ], - "order" : 0, - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-48", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 1 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-56", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-57", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-57", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 1 ], - "source" : [ "obj-6", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1258.0, 384.5, 113.0, 22.0 ], - "text" : "p handle_pointcolor" - } - - } -, { - "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1731.0, 580.5, 150.0, 22.0 ], - "text" : "s #0_request_ids_dump" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1272.0, 186.0, 178.0, 20.0 ], - "text" : "panfactor for shift+drag panning" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 553.0, 489.0, 174.0, 239.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 121.000012129270544, 117.0, 36.0, 20.0 ], - "text" : "other" - } - - } -, { - "box" : { - "id" : "obj-2", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 34.000012129270544, 45.0, 59.0, 33.0 ], - "text" : "panfactor\nother" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 39.000012129270544, 158.0, 70.0, 22.0 ], - "text" : "loadmess 1" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.000012129270544, 189.0, 81.0, 22.0 ], - "text" : "pv pan_factor" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 19.000012129270544, 86.0, 89.0, 22.0 ], - "text" : "route panfactor" - } - - } -, { - "box" : { - "comment" : "xrange, yrange, range, other", - "id" : "obj-240", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.000012129270544, 12.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "other", - "id" : "obj-241", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 89.000012129270544, 112.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-241", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-240", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1258.0, 207.0, 111.0, 22.0 ], - "text" : "p handle_panfactor" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 453.5, 81.0, 22.0 ], - "text" : "pv pan_factor" - } - - } -, { - "box" : { - "id" : "obj-22", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 99.0, 144.0, 158.0, 33.0 ], - "text" : "clear and reset are aliases to refer with no args" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "bang", "bang", "bang", "bang" ], - "patching_rect" : [ 88.0, 179.0, 288.86195012927044, 22.0 ], - "text" : "b 4" - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 623.0, 118.0, 60.0, 20.0 ], - "text" : "dictionary" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 134.0, 172.0, 284.0, 296.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 21.0, 253.0, 150.0, 22.0 ], - "text" : "s #0_request_ids_dump" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 21.0, 172.0, 98.0, 22.0 ], - "text" : "t b #0_internal" - } - - } -, { - "box" : { - "id" : "obj-1", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 201.0, 16.0, 60.0, 33.0 ], - "text" : "load, then refer" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 21.0, 144.0, 50.0, 22.0 ], - "text" : "sel load" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 21.0, 63.0, 133.0, 22.0 ], - "text" : "prepend load dictionary" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 21.0, 103.0, 156.0, 22.0 ], - "text" : "fluid.dataset~ #0_internal" - } - - } -, { - "box" : { - "id" : "obj-8", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 132.0, 206.0, 112.0, 33.0 ], - "text" : "dataset name sent to [p handle_refer]" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 59.0, 16.0, 60.0, 20.0 ], - "text" : "dictionary" - } - - } -, { - "box" : { - "comment" : "refer ", - "id" : "obj-209", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 21.0, 11.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-210", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 100.0, 206.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-210", 0 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-209", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-25", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-28", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 205.0, 262.0, 113.0, 22.0 ], - "text" : "p handle_dictionary" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 177.95398337642348, 407.5, 58.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1642.0, 646.5, 159.0, 22.0 ], - "text" : "s #0_update_point_colors" - } - - } -, { - "box" : { - "id" : "obj-5", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1272.0, 408.5, 166.0, 33.0 ], - "text" : "colorscheme message is redirected to [p labels2colors]" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1073.0, 279.0, 55.0, 22.0 ], - "text" : "enable 1" - } - - } -, { - "box" : { - "id" : "obj-311", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 40.0, 18.0, 230.0, 20.0 ], - "text" : "refer (to a dataset) or highlight (list of IDs)" - } - - } -, { - "box" : { - "id" : "obj-309", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1573.0, 916.0, 152.0, 20.0 ], - "text" : "click'n'drag zoom rectangle" - } - - } -, { - "box" : { - "id" : "obj-307", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "jit_matrix", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 183.0, 207.0, 1353.0, 824.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-38", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 477.0, 294.0, 119.0, 47.0 ], - "text" : "set mousing mode to normal only if opt/alt is not pressed" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 439.750017999999955, 321.5, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 439.750017999999955, 294.0, 34.0, 22.0 ], - "text" : "sel 0" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 439.750017999999955, 264.45703125, 61.0, 22.0 ], - "text" : "pv opt_alt" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 825.749982000000045, 177.45703125, 61.0, 22.0 ], - "text" : "pv opt_alt" - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 205.749985000000038, 559.0, 180.0, 22.0 ], - "text" : "s #0_to_mousing_mode_gate" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 967.749952000000121, 361.95703125, 180.0, 22.0 ], - "text" : "s #0_to_mousing_mode_gate" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 972.249970000000076, 255.5, 180.0, 22.0 ], - "text" : "s #0_to_mousing_mode_gate" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 27.0, 359.0, 178.0, 22.0 ], - "text" : "r #0_to_mousing_mode_gate" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 396.500029999999924, 369.5, 180.0, 22.0 ], - "text" : "s #0_to_mousing_mode_gate" - } - - } -, { - "box" : { - "id" : "obj-23", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 438.0, 449.45703125, 230.0, 33.0 ], - "text" : "if shift is held while mousing then pan view around keeping current zoom level" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 407.000029999999924, 139.9140625, 31.0, 20.0 ], - "text" : "shift" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 508.0, 193.0, 846.0, 784.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-109", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 648.888049870729446, 323.0, 135.0, 33.0 ], - "text" : "save view ranges upon entering panning mode" - } - - } -, { - "box" : { - "id" : "obj-108", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 364.75, 582.0, 142.0, 33.0 ], - "text" : "scale displacement by current zoom proportions" - } - - } -, { - "box" : { - "id" : "obj-107", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 433.83207480609417, 914.0, 115.0, 33.0 ], - "text" : "apply displacement to x/y ranges" - } - - } -, { - "box" : { - "id" : "obj-106", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 35.0, 529.0, 85.5, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-105", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 665.5, 86.0, 22.0 ], - "text" : "vexpr $f1 * $f2" - } - - } -, { - "box" : { - "id" : "obj-104", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 101.5, 626.0, 147.611950129270554, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-99", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 230.111950129270554, 597.0, 29.5, 22.0 ], - "text" : "!- 0." - } - - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 101.5, 597.0, 29.5, 22.0 ], - "text" : "!- 0." - } - - } -, { - "box" : { - "id" : "obj-96", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 230.111950129270554, 568.5, 117.0, 22.0 ], - "text" : "pv yrange@panstart" - } - - } -, { - "box" : { - "id" : "obj-97", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 101.5, 568.5, 117.0, 22.0 ], - "text" : "pv xrange@panstart" - } - - } -, { - "box" : { - "id" : "obj-91", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 275.83207480609417, 764.0, 94.0, 20.0 ], - "text" : "apply pan factor" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 188.5, 764.0, 81.0, 22.0 ], - "text" : "pv pan_factor" - } - - } -, { - "box" : { - "id" : "obj-85", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 34.5, 735.0, 173.0, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-84", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 792.0, 173.0, 22.0 ], - "text" : "vexpr $f1 * $f2 @scalarmode 1" - } - - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 68.0, 60.0, 333.888049870729446, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-81", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 382.888049870729446, 268.0, 65.0, 22.0 ], - "text" : "onebang 1" - } - - } -, { - "box" : { - "id" : "obj-67", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 187.5, 1095.5, 90.055975064635277, 22.0 ], - "text" : "list.slice 2" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 520.276099741458893, 309.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 382.888049870729446, 309.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 520.276099741458893, 337.5, 117.0, 22.0 ], - "text" : "pv yrange@panstart" - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 383.888049870729446, 337.5, 117.0, 22.0 ], - "text" : "pv xrange@panstart" - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 996.0, 214.111950129270554, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-47", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 229.611950129270554, 961.0, 176.0, 22.0 ], - "text" : "vexpr $f1 + $f2 @scalarmode 1" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 229.611950129270554, 899.0, 176.0, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "id" : "obj-49", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 229.611950129270554, 931.0, 117.0, 22.0 ], - "text" : "pv yrange@panstart" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 961.0, 176.0, 22.0 ], - "text" : "vexpr $f1 + $f2 @scalarmode 1" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 34.5, 899.0, 176.0, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 931.0, 117.0, 22.0 ], - "text" : "pv xrange@panstart" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 34.5, 862.0, 214.111950129270554, 22.0 ], - "text" : "unpack f f" - } - - } -, { - "box" : { - "id" : "obj-37", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 128.5, 453.5, 104.0, 33.0 ], - "text" : "vector xy1 --> xy0\n(v0, v1) [0...1]" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 35.0, 464.5, 85.0, 22.0 ], - "text" : "vexpr $f1 - $f2" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 35.0, 435.0, 85.0, 22.0 ], - "text" : "list.slice 2" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 561.0, 220.0, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-12", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 591.388049870729446, 24.0, 129.0, 47.0 ], - "text" : "bang to reset onegate and onebang (upon lifting shift key)" - } - - } -, { - "box" : { - "comment" : "bang to reset onegate", - "id" : "obj-15", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 561.0, 19.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.5, 1114.5, 119.0, 20.0 ], - "text" : "update mesh scaling" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 346.16792519390583, 1135.5, 143.0, 20.0 ], - "text" : "update and report ranges" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 254.888049870729446, 198.0, 193.0, 20.0 ], - "text" : "bang when mouse button released" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 259.5, 154.0, 119.0, 20.0 ], - "text" : "all mouse xy (x1, y1)" - } - - } -, { - "box" : { - "id" : "obj-18", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 298.0, 138.0, 33.0 ], - "text" : "mouse xy when starting panning (x0, y0)" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 407.0, 128.0, 20.0 ], - "text" : "(x0, y0, x1, y1) [0...1]" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 291.66792519390583, 1239.0, 182.0, 20.0 ], - "text" : "report zoomxrange, zoomyrange" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 179.5, 268.0, 60.0, 20.0 ], - "text" : "\"onegate\"" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 98.388049870729446, 24.0, 69.0, 20.0 ], - "text" : "(x, y) [0...1]" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 258.555975064635277, 1170.0, 122.0, 22.0 ], - "text" : "prepend zoomyrange" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 187.5, 1201.0, 122.0, 22.0 ], - "text" : "prepend zoomxrange" - } - - } -, { - "box" : { - "comment" : "report zoomxrange, zoomyrange", - "id" : "obj-1", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 258.555975064635277, 1234.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-215", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 154.0, 84.0, 22.0 ], - "text" : "pv mouse_btn" - } - - } -, { - "box" : { - "id" : "obj-184", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 34.5, 1064.5, 172.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-168", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 34.5, 1139.5, 132.0, 22.0 ], - "text" : "s #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-169", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 275.944024935364723, 1134.5, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-170", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 205.055975064635277, 1134.5, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-111", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 35.0, 376.0, 233.0, 22.0 ], - "text" : "join 2 @triggers -1" - } - - } -, { - "box" : { - "id" : "obj-110", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "" ], - "patching_rect" : [ 68.0, 126.0, 200.0, 22.0 ], - "text" : "t b l l" - } - - } -, { - "box" : { - "id" : "obj-94", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 68.0, 220.0, 379.888049870729446, 22.0 ], - "text" : "t 1 b" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patching_rect" : [ 24.0, 268.0, 29.5, 22.0 ], - "text" : "t 0 l" - } - - } -, { - "box" : { - "color" : [ 1.0, 0.0, 0.0, 1.0 ], - "id" : "obj-82", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 268.0, 109.5, 22.0 ], - "text" : "gate 1 1" - } - - } -, { - "box" : { - "id" : "obj-69", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 68.0, 187.0, 34.0, 22.0 ], - "text" : "sel 0" - } - - } -, { - "box" : { - "comment" : "(x, y) [0...1]", - "id" : "obj-216", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 19.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-105", 1 ], - "source" : [ "obj-104", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-105", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-105", 0 ], - "source" : [ "obj-106", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-96", 0 ], - "order" : 0, - "source" : [ "obj-106", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-97", 0 ], - "order" : 1, - "source" : [ "obj-106", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 1 ], - "source" : [ "obj-110", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-215", 0 ], - "source" : [ "obj-110", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 1 ], - "source" : [ "obj-110", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "order" : 0, - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-81", 1 ], - "order" : 1, - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-168", 0 ], - "source" : [ "obj-184", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-184", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-69", 0 ], - "source" : [ "obj-215", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 0 ], - "source" : [ "obj-216", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 1 ], - "source" : [ "obj-34", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-106", 0 ], - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-43", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 1 ], - "source" : [ "obj-45", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-46", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 1 ], - "source" : [ "obj-47", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-47", 1 ], - "source" : [ "obj-48", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-47", 0 ], - "source" : [ "obj-49", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-184", 0 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-169", 0 ], - "order" : 0, - "source" : [ "obj-67", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-170", 0 ], - "order" : 0, - "source" : [ "obj-67", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "order" : 1, - "source" : [ "obj-67", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "order" : 1, - "source" : [ "obj-67", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "source" : [ "obj-69", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "order" : 1, - "source" : [ "obj-81", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "order" : 0, - "source" : [ "obj-81", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-82", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-110", 0 ], - "source" : [ "obj-83", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-81", 0 ], - "source" : [ "obj-83", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-84", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-84", 0 ], - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-85", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 0 ], - "source" : [ "obj-86", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-84", 1 ], - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-81", 1 ], - "source" : [ "obj-94", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-94", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-96", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-97", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-104", 0 ], - "source" : [ "obj-98", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-104", 1 ], - "source" : [ "obj-99", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 424.0, 487.95703125, 98.0, 22.0 ], - "text" : "p panning_mode" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 490.0, 228.95703125, 32.5, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 439.750017999999955, 199.95703125, 69.249982000000045, 22.0 ], - "text" : "change" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 396.500029999999924, 228.95703125, 32.0, 22.0 ], - "text" : "t 3 b" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 396.500029999999924, 199.95703125, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "bubble" : 1, - "bubbleside" : 3, - "id" : "obj-11", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 245.750014999999962, 192.45703125, 147.0, 37.0 ], - "text" : "enter panning mode upon shift is pressed" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 396.500029999999924, 165.4140625, 53.0, 22.0 ], - "text" : "list.nth 2" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 894.749970000000076, 209.45703125, 32.0, 22.0 ], - "text" : "t b 0" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 972.249970000000076, 209.45703125, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 769.249982000000045, 209.45703125, 22.0, 22.0 ], - "text" : "t 2" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 769.249982000000045, 177.45703125, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 653.0, 369.0, 364.0, 260.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-5", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 183.0, 41.0, 154.0, 33.0 ], - "text" : "only let it through while the mouse button is held down" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 45.000012129270544, 77.0, 29.5, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 32.000012129270544, 163.0, 32.0, 22.0 ], - "text" : "gate" - } - - } -, { - "box" : { - "id" : "obj-214", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 32.000012129270544, 125.45703125, 84.0, 22.0 ], - "text" : "pv mouse_btn" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 67.0, 210.0, 87.0, 20.0 ], - "text" : "normalized XY" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.0, 41.0, 87.0, 20.0 ], - "text" : "normalized XY" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 32.000012129270544, 205.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 1 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-214", 0 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-214", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 27.0, 704.95703125, 126.0, 22.0 ], - "text" : "p filter_mouse_btn_lift" - } - - } -, { - "box" : { - "bubble" : 1, - "bubbleside" : 3, - "id" : "obj-24", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 76.0, 520.0, 133.0, 37.0 ], - "text" : "back to normal mousing when done" - } - - } -, { - "box" : { - "bubble" : 1, - "bubbleside" : 3, - "id" : "obj-22", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 620.249982000000045, 169.95703125, 147.0, 37.0 ], - "text" : "enter zooming mode upon opt/alt is pressed" - } - - } -, { - "box" : { - "bubble" : 1, - "id" : "obj-21", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 988.749952000000121, 290.5, 229.0, 51.0 ], - "text" : "if opt/alt lifted while drawing the zoom rect, the zooming is cancelled and mousing is reverted to default mode" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 205.749985000000038, 527.5, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-17", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1212.249952000000121, 449.45703125, 130.0, 33.0 ], - "text" : "erase zoom rect when zooming is cancelled" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1198.249952000000121, 487.95703125, 80.0, 22.0 ], - "text" : "setall 0, bang" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 860.749952000000121, 319.5, 126.0, 22.0 ], - "text" : "t b b 1" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 810.499970000000076, 277.45703125, 69.249982000000045, 22.0 ], - "text" : "change" - } - - } -, { - "box" : { - "id" : "obj-246", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 118.874979000000053, 20.000000249999971, 326.0, 33.0 ], - "text" : "mouse tracking \n(x, y, button, cmd[mac]/ctrl[win], shift, caps, opt/alt ctrl[mac])" - } - - } -, { - "box" : { - "id" : "obj-67", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 456.0, 768.95703125, 182.0, 20.0 ], - "text" : "report zoomxrange, zoomyrange" - } - - } -, { - "box" : { - "id" : "obj-223", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 59.0, 768.95703125, 126.0, 20.0 ], - "text" : "normalized mouse XY" - } - - } -, { - "box" : { - "id" : "obj-192", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 894.749970000000076, 177.45703125, 174.0, 22.0 ], - "text" : "sel 1 0" - } - - } -, { - "box" : { - "id" : "obj-264", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 908.249970000000076, 449.45703125, 266.0, 33.0 ], - "text" : "reset zoom (ranges) to the values before click'n'drag if ctrl[mac] is pressed while mousing" - } - - } -, { - "box" : { - "id" : "obj-262", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 81.0, 422.45703125, 230.0, 60.0 ], - "text" : "if opt/alt is held while mousing then draw selection zoom rectangle (right branch), otherwise scale normalized XY to current ranges and output (left branch)" - } - - } -, { - "box" : { - "id" : "obj-260", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 906.749970000000076, 138.95703125, 54.0, 20.0 ], - "text" : "ctrl[mac]" - } - - } -, { - "box" : { - "id" : "obj-259", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 821.999970000000076, 138.95703125, 41.0, 20.0 ], - "text" : "opt/alt" - } - - } -, { - "box" : { - "id" : "obj-257", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 194.0, 138.95703125, 81.0, 20.0 ], - "text" : "mouse button" - } - - } -, { - "box" : { - "id" : "obj-255", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 103.0, 188.45703125, 35.0, 20.0 ], - "text" : "(x, y)" - } - - } -, { - "box" : { - "id" : "obj-254", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 103.0, 112.95703125, 35.0, 20.0 ], - "text" : "(x, y)" - } - - } -, { - "box" : { - "id" : "obj-221", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 322.0, 361.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-8", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 23.0, 183.0, 155.0, 33.0 ], - "text" : "update scaling and make zoom rectangle disappear" - } - - } -, { - "box" : { - "id" : "obj-7", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 178.0, 42.0, 128.0, 33.0 ], - "text" : "overwrite ranges from pre-drag variables" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 314.0, 107.0, 20.0 ], - "text" : "to zoomrect matrix" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 18.0, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-212", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 154.971383204062931, 119.0, 116.0, 22.0 ], - "text" : "pv yrange_pre_drag" - } - - } -, { - "box" : { - "id" : "obj-213", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 83.916037403047085, 80.0, 116.0, 22.0 ], - "text" : "pv xrange_pre_drag" - } - - } -, { - "box" : { - "id" : "obj-204", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 277.0, 80.0, 22.0 ], - "text" : "setall 0, bang" - } - - } -, { - "box" : { - "id" : "obj-205", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 13.0, 53.0, 160.83207480609417, 22.0 ], - "text" : "b 3" - } - - } -, { - "box" : { - "id" : "obj-208", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 13.0, 218.0, 36.388049870729446, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-209", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 30.388049870729446, 249.0, 132.0, 22.0 ], - "text" : "s #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-210", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 154.804087273776531, 147.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-211", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 83.916037403047085, 110.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-219", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 13.0, 13.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "to zoomrect matrix", - "id" : "obj-220", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 13.0, 309.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-220", 0 ], - "source" : [ "obj-204", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-208", 0 ], - "source" : [ "obj-205", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-212", 0 ], - "source" : [ "obj-205", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-213", 0 ], - "source" : [ "obj-205", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-204", 0 ], - "source" : [ "obj-208", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-209", 0 ], - "source" : [ "obj-208", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-210", 0 ], - "source" : [ "obj-212", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-211", 0 ], - "source" : [ "obj-213", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-205", 0 ], - "source" : [ "obj-219", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 894.749970000000076, 487.95703125, 81.0, 22.0 ], - "text" : "p reset_zoom" - } - - } -, { - "box" : { - "id" : "obj-218", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "", "bang", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 340.0, 100.0, 902.0, 983.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-6", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 569.720124676823616, 518.5, 203.0, 47.0 ], - "text" : "enforce that x0 < x1 and y0 < y1 so that the direction of drawing the rect does not affect (flip) ranges" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 228.0, 182.0, 275.0, 280.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 45.000012129270544, 176.0, 107.0, 22.0 ], - "text" : "list.lace" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 133.000012129270544, 142.0, 47.0, 22.0 ], - "text" : "list.sort" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 45.000012129270544, 142.0, 47.0, 22.0 ], - "text" : "list.sort" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 146.0, 117.0, 49.0, 20.0 ], - "text" : "(y0, y1)" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 58.000012129270544, 117.0, 49.0, 20.0 ], - "text" : "(x0, x1)" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 45.000012129270544, 88.0, 107.0, 22.0 ], - "text" : "list.delace" - } - - } -, { - "box" : { - "id" : "obj-9", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.000012129270544, 218.0, 152.0, 33.0 ], - "text" : "(x0, y0, x1, y1) [0...1] where x0 < x1 and y0 < y1" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.000012129270544, 41.0, 124.0, 20.0 ], - "text" : "(x0, y0, x1, y1) [0...1]" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 45.000012129270544, 213.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 1 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-21", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 504.888049870729446, 531.0, 57.0, 22.0 ], - "text" : "p sort_xy" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 561.0, 220.0, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 591.388049870729446, 24.0, 125.0, 20.0 ], - "text" : "bang to reset onegate" - } - - } -, { - "box" : { - "comment" : "bang to reset onegate", - "id" : "obj-15", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 561.0, 19.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 319.888049870729446, 993.0, 183.0, 20.0 ], - "text" : "bang when zooming has finished" - } - - } -, { - "box" : { - "comment" : "bang when zooming has finished", - "id" : "obj-9", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 504.888049870729446, 984.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-28", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 368.888049870729446, 830.5, 134.0, 47.0 ], - "text" : "update mesh scaling, erase zoom rectangle,\nchange mousing mode" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 734.5, 784.0, 143.0, 20.0 ], - "text" : "update and report ranges" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 517.5, 662.0, 232.0, 20.0 ], - "text" : "last (x0, y0, x1, y1) relative to view ranges" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 517.5, 486.0, 146.0, 20.0 ], - "text" : "last (x0, y0, x1, y1) [0...1]" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 46.5, 821.0, 120.0, 20.0 ], - "text" : "draw zoom rectangle" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 517.5, 269.0, 193.0, 20.0 ], - "text" : "bang when mouse button released" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 259.5, 154.0, 119.0, 20.0 ], - "text" : "all mouse xy (x1, y1)" - } - - } -, { - "box" : { - "id" : "obj-18", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 312.0, 138.0, 33.0 ], - "text" : "mouse xy when starting the rectangle (x0, y0)" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 385.0, 128.0, 20.0 ], - "text" : "(x0, y0, x1, y1) [-1...1]" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 680.0, 989.0, 182.0, 20.0 ], - "text" : "report zoomxrange, zoomyrange" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 68.0, 993.0, 107.0, 20.0 ], - "text" : "to zoomrect matrix" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 80.5, 80.0, 73.0, 20.0 ], - "text" : "(x, y) [-1...1]" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 179.5, 268.0, 60.0, 20.0 ], - "text" : "\"onegate\"" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 98.388049870729446, 24.0, 69.0, 20.0 ], - "text" : "(x, y) [0...1]" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 646.888049870729446, 920.0, 122.0, 22.0 ], - "text" : "prepend zoomyrange" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 575.83207480609417, 951.0, 122.0, 22.0 ], - "text" : "prepend zoomxrange" - } - - } -, { - "box" : { - "comment" : "report zoomxrange, zoomyrange", - "id" : "obj-1", - "index" : 3, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 646.888049870729446, 984.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-215", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 154.0, 84.0, 22.0 ], - "text" : "pv mouse_btn" - } - - } -, { - "box" : { - "id" : "obj-186", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 515.388049870729446, 920.0, 80.0, 22.0 ], - "text" : "setall 0, bang" - } - - } -, { - "box" : { - "id" : "obj-184", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "" ], - "patching_rect" : [ 504.888049870729446, 699.0, 160.888049870729446, 22.0 ], - "text" : "t b l l" - } - - } -, { - "box" : { - "id" : "obj-183", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 646.720124676823616, 727.0, 39.0, 22.0 ], - "text" : "$2 $4" - } - - } -, { - "box" : { - "id" : "obj-182", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 575.83207480609417, 727.0, 39.0, 22.0 ], - "text" : "$1 $3" - } - - } -, { - "box" : { - "id" : "obj-178", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 504.888049870729446, 638.0, 161.888049870729446, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-173", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 653.0, 369.0, 535.0, 371.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 362.5, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 209.5, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 45.000012129270544, 116.0, 44.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 245.0, 308.0, 63.0, 20.0 ], - "text" : "scaled XY" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 36.0, 130.0, 22.0 ], - "text" : "r #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 362.500012129270544, 117.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 116.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 266.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 363.000012129270544, 214.0, 90.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 45.000012129270544, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 425.500012129270544, 117.0, 45.0, 20.0 ], - "text" : "yrange" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 272.5, 117.0, 45.0, 20.0 ], - "text" : "xrange" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.0, 41.0, 87.0, 20.0 ], - "text" : "normalized XY" - } - - } -, { - "box" : { - "id" : "obj-566", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 214.0, 90.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 210.000012129270544, 303.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 4 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 3 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 4 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 3 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 1, - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 0, - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-566", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 647.776099741458893, 606.0, 135.0, 22.0 ], - "text" : "p scale_to_ranges_lazy" - } - - } -, { - "box" : { - "id" : "obj-172", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 504.888049870729446, 574.0, 161.888049870729446, 22.0 ], - "text" : "list.slice 2" - } - - } -, { - "box" : { - "id" : "obj-171", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 653.0, 369.0, 535.0, 371.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 362.5, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 209.5, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 45.000012129270544, 116.0, 44.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 245.0, 308.0, 63.0, 20.0 ], - "text" : "scaled XY" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 36.0, 130.0, 22.0 ], - "text" : "r #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 362.500012129270544, 117.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 116.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 266.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 363.000012129270544, 214.0, 90.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 45.000012129270544, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 425.500012129270544, 117.0, 45.0, 20.0 ], - "text" : "yrange" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 272.5, 117.0, 45.0, 20.0 ], - "text" : "xrange" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.0, 41.0, 87.0, 20.0 ], - "text" : "normalized XY" - } - - } -, { - "box" : { - "id" : "obj-566", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 214.0, 90.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 210.000012129270544, 303.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 4 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 3 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 4 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 3 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 1, - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 0, - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-566", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 504.888049870729446, 606.0, 135.0, 22.0 ], - "text" : "p scale_to_ranges_lazy" - } - - } -, { - "box" : { - "id" : "obj-166", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 504.888049870729446, 843.0, 40.0, 22.0 ], - "text" : "b 3" - } - - } -, { - "box" : { - "id" : "obj-168", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 525.888049870729446, 883.0, 132.0, 22.0 ], - "text" : "s #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-169", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 664.276099741458893, 783.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-170", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 593.388049870729446, 783.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-165", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 504.888049870729446, 458.0, 94.0, 22.0 ], - "text" : "scale -1. 1. 0. 1." - } - - } -, { - "box" : { - "id" : "obj-162", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 504.888049870729446, 428.0, 44.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-144", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 849.0, 139.0, 22.0 ], - "text" : "$1 $2 $3 $2 $3 $4 $1 $4" - } - - } -, { - "box" : { - "id" : "obj-111", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 35.0, 354.0, 233.0, 22.0 ], - "text" : "join 2 @triggers -1" - } - - } -, { - "box" : { - "id" : "obj-110", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "" ], - "patching_rect" : [ 68.0, 126.0, 200.0, 22.0 ], - "text" : "t b l l" - } - - } -, { - "box" : { - "id" : "obj-94", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 68.0, 220.0, 455.888049870729446, 22.0 ], - "text" : "t 1 b" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patching_rect" : [ 24.0, 268.0, 29.5, 22.0 ], - "text" : "t 0 l" - } - - } -, { - "box" : { - "color" : [ 1.0, 0.0, 0.0, 1.0 ], - "id" : "obj-82", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 268.0, 109.5, 22.0 ], - "text" : "gate 1 1" - } - - } -, { - "box" : { - "id" : "obj-69", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 68.0, 187.0, 34.0, 22.0 ], - "text" : "sel 0" - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 56.0, 94.0, 22.0 ], - "text" : "scale 0. 1. -1. 1." - } - - } -, { - "box" : { - "id" : "obj-167", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 34.5, 879.0, 62.0, 22.0 ], - "text" : "list.delace" - } - - } -, { - "box" : { - "id" : "obj-152", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 169.5, 920.0, 128.0, 22.0 ], - "text" : "jit.fill #0_zoomrect 1" - } - - } -, { - "box" : { - "id" : "obj-151", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 34.5, 920.0, 128.0, 22.0 ], - "text" : "jit.fill #0_zoomrect 0" - } - - } -, { - "box" : { - "comment" : "(x, y) [0...1]", - "id" : "obj-216", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 68.0, 19.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "to zoomrect matrix", - "id" : "obj-217", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 34.5, 988.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-111", 1 ], - "source" : [ "obj-110", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-215", 0 ], - "source" : [ "obj-110", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 1 ], - "source" : [ "obj-110", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "order" : 1, - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-162", 1 ], - "midpoints" : [ 44.5, 412.0, 539.388049870729446, 412.0 ], - "order" : 0, - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-167", 0 ], - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-217", 0 ], - "source" : [ "obj-151", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-165", 0 ], - "source" : [ "obj-162", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-165", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-168", 0 ], - "source" : [ "obj-166", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-186", 0 ], - "source" : [ "obj-166", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-166", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-151", 0 ], - "source" : [ "obj-167", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-152", 0 ], - "source" : [ "obj-167", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-178", 0 ], - "source" : [ "obj-171", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-171", 0 ], - "source" : [ "obj-172", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-173", 0 ], - "source" : [ "obj-172", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-178", 1 ], - "source" : [ "obj-173", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-184", 0 ], - "source" : [ "obj-178", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-170", 0 ], - "order" : 0, - "source" : [ "obj-182", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "order" : 1, - "source" : [ "obj-182", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-169", 0 ], - "order" : 0, - "source" : [ "obj-183", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "order" : 1, - "source" : [ "obj-183", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-166", 0 ], - "source" : [ "obj-184", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-182", 0 ], - "source" : [ "obj-184", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-183", 0 ], - "source" : [ "obj-184", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-217", 0 ], - "source" : [ "obj-186", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-69", 0 ], - "source" : [ "obj-215", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "source" : [ "obj-216", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-172", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-110", 0 ], - "source" : [ "obj-52", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "source" : [ "obj-69", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-82", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 0 ], - "source" : [ "obj-86", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-162", 0 ], - "source" : [ "obj-94", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-94", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 60.0, 487.95703125, 310.499970000000076, 22.0 ], - "text" : "p draw_selection_and_update_zoom" - } - - } -, { - "box" : { - "id" : "obj-214", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 183.5, 164.45703125, 84.0, 22.0 ], - "text" : "pv mouse_btn" - } - - } -, { - "box" : { - "id" : "obj-191", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 810.499970000000076, 112.95703125, 187.5, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 27.0, 390.45703125, 85.0, 22.0 ], - "text" : "gate 3 1" - } - - } -, { - "box" : { - "id" : "obj-149", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 60.0, 629.95703125, 139.0, 22.0 ], - "text" : "jit.matrix #0_zoomrect " - } - - } -, { - "box" : { - "id" : "obj-129", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 183.5, 112.95703125, 232.000029999999924, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-123", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 183.5, 86.45703125, 645.999970000000076, 22.0 ], - "text" : "list.ecils 2" - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 653.0, 369.0, 535.0, 371.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 362.5, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 209.5, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 245.0, 308.0, 63.0, 20.0 ], - "text" : "scaled XY" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 209.5, 69.0, 25.0, 22.0 ], - "text" : "b 1" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 36.0, 130.0, 22.0 ], - "text" : "r #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 362.500012129270544, 117.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 116.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 266.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 363.000012129270544, 214.0, 90.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 45.000012129270544, 156.0, 41.0, 22.0 ], - "text" : "unjoin" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 425.500012129270544, 117.0, 45.0, 20.0 ], - "text" : "yrange" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 272.5, 117.0, 45.0, 20.0 ], - "text" : "xrange" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.0, 41.0, 87.0, 20.0 ], - "text" : "normalized XY" - } - - } -, { - "box" : { - "id" : "obj-566", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.0, 214.0, 90.0, 22.0 ], - "text" : "scale 0. 1. 0. 1." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 210.000012129270544, 303.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 4 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 3 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 1, - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 0, - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 4 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 3 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-566", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 27.0, 734.95703125, 107.0, 22.0 ], - "text" : "p scale_to_ranges" - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 285.0, 489.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 222.0, 46.0, 22.0 ], - "text" : "pack i i" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 18.0, 123.0, 148.0, 22.0 ], - "text" : "unpack i i" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 180.0, 123.0, 91.0, 22.0 ], - "text" : "bpw $1, bph $2" - } - - } -, { - "box" : { - "id" : "obj-17", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "dsp.gen", - "rect" : [ 59.0, 119.0, 600.0, 375.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 550.0, 314.0, 35.0, 22.0 ], - "text" : "out 2" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 550.0, 13.0, 28.0, 22.0 ], - "text" : "in 2" - } - - } -, { - "box" : { - "code" : "Param bpw(100);\r\nParam bph(100);\r\n\r\ncurrent_x = in1;\r\ncurrent_y = in2;\r\n\r\nif (bpw >= bph) {\r\n\tcurrent_x = scale(current_x, (bpw/2)-(bph/2), (bpw/2)+(bph/2), 0, bph-1);\r\n} else {\r\n\tcurrent_y = scale(current_y, (bph/2)-(bpw/2), (bph/2)+(bpw/2), 0, bpw-1);\r\n}\r\n\r\nout1 = current_x;\r\nout2 = current_y;", - "fontface" : 0, - "fontname" : "", - "fontsize" : 12.0, - "id" : "obj-5", - "maxclass" : "codebox", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 14.0, 45.0, 555.0, 259.0 ] - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 14.0, 13.0, 28.0, 22.0 ], - "text" : "in 1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 14.0, 314.0, 35.0, 22.0 ], - "text" : "out 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-5", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 1 ], - "source" : [ "obj-6", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 18.0, 168.0, 148.0, 35.0 ], - "text" : "gen @t clip_longest_side_px_vals" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 125.0, 235.0, 57.0, 22.0 ], - "text" : "minimum" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 52.0, 442.0, 160.0, 20.0 ], - "text" : "normalized mouse XY (0...1)" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 52.0, 13.0, 118.0, 20.0 ], - "text" : "mouse XY (in pixels)" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 18.0, 53.0, 126.0, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 125.0, 82.0, 93.0, 22.0 ], - "text" : "pv bpatcher_wh" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 99.0, 374.0, 65.0, 20.0 ], - "text" : "flip vertical" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 402.0, 61.0, 22.0 ], - "text" : "pack f f" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 60.0, 374.0, 29.5, 22.0 ], - "text" : "!- 1." - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 18.0, 343.0, 61.0, 22.0 ], - "text" : "unpack f f" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 313.0, 53.0, 22.0 ], - "text" : "clip 0. 1." - } - - } -, { - "box" : { - "id" : "obj-32", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 268.0, 126.0, 35.0 ], - "text" : "vexpr $f1 / $f2 @scalarmode 1" - } - - } -, { - "box" : { - "comment" : "mouse XY (in pixels)", - "id" : "obj-33", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 8.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "normalized mouse XY (0...1)", - "id" : "obj-34", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 18.0, 437.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-32", 1 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 1 ], - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 1, - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "order" : 0, - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 1 ], - "source" : [ "obj-20", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 1 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-30", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-30", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-33", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 91.0, 164.45703125, 71.0, 22.0 ], - "text" : "p normalize" - } - - } -, { - "box" : { - "id" : "obj-571", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 91.0, 86.45703125, 71.0, 22.0 ], - "text" : "list.slice 2" - } - - } -, { - "box" : { - "comment" : "mouse tracking (list)", - "id" : "obj-303", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 91.0, 20.000000249999971, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "normalized mouse XY", - "id" : "obj-304", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 27.0, 763.95703125, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "report zoomxrange, zoomyrange", - "id" : "obj-305", - "index" : 3, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 424.0, 763.95703125, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-306", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 60.0, 663.95703125, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-12", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-129", 0 ], - "source" : [ "obj-123", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-191", 0 ], - "source" : [ "obj-123", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-214", 0 ], - "source" : [ "obj-129", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-129", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 923.749952000000121, 426.978515625, 1207.749952000000121, 426.978515625 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-218", 1 ], - "midpoints" : [ 870.249952000000121, 359.228515625, 360.999970000000076, 359.228515625 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-13", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 1 ], - "source" : [ "obj-14", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-306", 0 ], - "source" : [ "obj-149", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-149", 0 ], - "midpoints" : [ 1207.749952000000121, 614.478515625, 69.5, 614.478515625 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-305", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 1, - "source" : [ "obj-191", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-192", 0 ], - "source" : [ "obj-191", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "order" : 2, - "source" : [ "obj-191", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "order" : 0, - "source" : [ "obj-191", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-192", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-192", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-149", 0 ], - "source" : [ "obj-218", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-218", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-305", 0 ], - "midpoints" : [ 360.999970000000076, 524.45703125, 433.5, 524.45703125 ], - "source" : [ "obj-218", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-149", 0 ], - "midpoints" : [ 904.249970000000076, 602.45703125, 69.5, 602.45703125 ], - "source" : [ "obj-221", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-571", 0 ], - "source" : [ "obj-303", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 1 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-304", 0 ], - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 1, - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "order" : 0, - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "midpoints" : [ 102.5, 417.70703125, 433.5, 417.70703125 ], - "source" : [ "obj-56", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-218", 0 ], - "source" : [ "obj-56", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-56", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-123", 0 ], - "source" : [ "obj-571", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-571", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-221", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "midpoints" : [ 419.000029999999924, 256.478515625, 870.249952000000121, 256.478515625 ], - "source" : [ "obj-9", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1312.0, 794.0, 540.0, 22.0 ], - "text" : "p handle_mouse" - } - - } -, { - "box" : { - "id" : "obj-302", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 296.0, 110.0, 791.0, 882.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-17", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 343.0, 261.0, 45.0, 22.0 ], - "text" : "dim $1" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 300.0, 324.0, 129.0, 22.0 ], - "text" : "dim $1, setall 0 0 0 0.8" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 46.638049870729446, 422.0, 22.0, 22.0 ], - "text" : "t 1" - } - - } -, { - "box" : { - "id" : "obj-34", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 31.0, 318.0, 144.0, 47.0 ], - "text" : "check for case \"highlight -1\" which should mean \"hide highlighted mesh\"" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 225.638049870729446, 420.0, 117.0, 20.0 ], - "text" : "disable mesh (bang)" - } - - } -, { - "box" : { - "comment" : "update highlighted mesh (bang)", - "id" : "obj-32", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 192.138049870729446, 415.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 179.638049870729446, 381.0, 44.0, 22.0 ], - "text" : "sel 0 1" - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 179.638049870729446, 349.0, 87.0, 22.0 ], - "text" : "list.compare -1" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 179.638049870729446, 318.0, 49.0, 22.0 ], - "text" : "list.reg" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 12.638049870729446, 291.0, 186.0, 22.0 ], - "text" : "if $i1 != 1 then $i1 else out2 bang" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 128.638049870729446, 733.0, 87.361950129270554, 22.0 ], - "text" : "t l l l" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 545.0, 261.0, 89.0, 22.0 ], - "text" : "dim $1, setall 1" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 545.0, 291.0, 215.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-7", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 343.638049870729446, 809.0, 99.0, 33.0 ], - "text" : "fetch point size, store in matrix" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 0, - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 575.0, -1231.0, 599.0, 304.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 44.0, 72.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 180.0, 155.0, 61.0, 22.0 ], - "text" : "list.ecils 1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 44.0, 98.0, 91.0, 22.0 ], - "text" : "prepend getcell" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 44.0, 128.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 222.0, 196.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 443.0, 261.0, 124.0, 20.0 ], - "text" : "set cell in color matrix" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 222.0, 229.0, 95.0, 22.0 ], - "text" : "setcell $2 val $1" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 222.0, 261.0, 219.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_pointsizes " - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 291.0, 30.0, 173.0, 20.0 ], - "text" : "index (in highlighted points list)" - } - - } -, { - "box" : { - "comment" : "bang", - "cool" : 1, - "id" : "obj-10", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 466.0, 25.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 85.0, 30.0, 63.0, 20.0 ], - "text" : "dataset ID" - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-123", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 44.0, 25.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 1 ], - "midpoints" : [ 475.5, 185.0, 242.0, 185.0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-123", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-20", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-25", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-44", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 163.638049870729446, 809.0, 178.319024935364723, 22.0 ], - "text" : "p fill_highlighted_sizes_matrix" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 234.0, 38.0, 54.0, 22.0 ], - "text" : "sel bang" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 234.0, 94.0, 77.0, 22.0 ], - "text" : "s #0_draw" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 234.0, 61.0, 29.5, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 392.0, 14.0, 162.0, 33.0 ], - "text" : "redraw highlighted points when color scheme changes" - } - - } -, { - "box" : { - "id" : "obj-167", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 234.0, 14.0, 151.0, 22.0 ], - "text" : "r #0_redraw_highlighted" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 12.638049870729446, 94.0, 149.0, 22.0 ], - "text" : "list.reg @zlmaxsize 32767" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 46.638049870729446, 15.0, 79.0, 20.0 ], - "text" : "highlight (list)" - } - - } -, { - "box" : { - "id" : "obj-276", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 304.638049870729446, 937.0, 201.0, 60.0 ], - "text" : "we have to go through the dataset (instead of fetching from the matrix) because dataset IDs aren't guaranteed to match matrix indices" - } - - } -, { - "box" : { - "id" : "obj-184", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 102.638049870729446, 1089.0, 177.0, 20.0 ], - "text" : "update highlighted mesh (bang)" - } - - } -, { - "box" : { - "id" : "obj-183", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 624.638049870729446, 1058.0, 84.0, 20.0 ], - "text" : "store in matrix" - } - - } -, { - "box" : { - "id" : "obj-181", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 534.638049870729446, 1025.0, 53.0, 20.0 ], - "text" : "(x, y, ID)" - } - - } -, { - "box" : { - "id" : "obj-179", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 202.638049870729446, 975.0, 83.0, 20.0 ], - "text" : "fetch point XY" - } - - } -, { - "box" : { - "id" : "obj-178", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 140.638049870729446, 706.0, 63.0, 20.0 ], - "text" : "dataset ID" - } - - } -, { - "box" : { - "id" : "obj-177", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 140.638049870729446, 655.0, 116.0, 20.0 ], - "text" : "index in highlited list" - } - - } -, { - "box" : { - "id" : "obj-175", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 372.638049870729446, 764.0, 99.0, 33.0 ], - "text" : "fetch point color, store in matrix" - } - - } -, { - "box" : { - "id" : "obj-174", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 28.638049870729446, 471.0, 143.0, 33.0 ], - "text" : "iterate through the list of highlighted IDs" - } - - } -, { - "box" : { - "id" : "obj-173", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 311.638049870729446, 220.5, 178.0, 33.0 ], - "text" : "set dimensions for the matrices of the highlighted mesh" - } - - } -, { - "box" : { - "id" : "obj-153", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 147.638049870729446, 873.0, 150.0, 22.0 ], - "text" : "r #0_refer_datasetname" - } - - } -, { - "box" : { - "id" : "obj-152", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 128.638049870729446, 907.0, 80.0, 22.0 ], - "text" : "fluid.dataset~", - "varname" : "dataset[1]" - } - - } -, { - "box" : { - "id" : "obj-135", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 504.638049870729446, 1089.0, 187.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_points" - } - - } -, { - "box" : { - "id" : "obj-145", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 0, - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ -403.0, -1323.0, 599.0, 304.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 44.0, 72.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 180.0, 155.0, 61.0, 22.0 ], - "text" : "list.ecils 4" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 44.0, 98.0, 91.0, 22.0 ], - "text" : "prepend getcell" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 44.0, 128.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors " - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 222.0, 196.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 443.0, 261.0, 124.0, 20.0 ], - "text" : "set cell in color matrix" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 222.0, 229.0, 145.0, 22.0 ], - "text" : "setcell $5 val $1 $2 $3 $4" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 222.0, 261.0, 219.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_point_colors " - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 291.0, 30.0, 173.0, 20.0 ], - "text" : "index (in highlighted points list)" - } - - } -, { - "box" : { - "comment" : "bang", - "cool" : 1, - "id" : "obj-10", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 466.0, 25.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 85.0, 30.0, 63.0, 20.0 ], - "text" : "dataset ID" - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-123", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 44.0, 25.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 1 ], - "midpoints" : [ 475.5, 185.0, 242.0, 185.0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-123", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-20", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-25", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-44", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 197.638049870729446, 764.0, 173.0, 22.0 ], - "text" : "p fill_highlighted_colors_matrix" - } - - } -, { - "box" : { - "id" : "obj-141", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 300.0, 358.0, 219.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_point_colors " - } - - } -, { - "box" : { - "id" : "obj-38", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 343.0, 291.0, 187.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_points " - } - - } -, { - "box" : { - "id" : "obj-65", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 504.638049870729446, 1057.0, 111.0, 22.0 ], - "text" : "setcell $3 val $1 $2" - } - - } -, { - "box" : { - "id" : "obj-63", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 504.638049870729446, 1024.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 128.638049870729446, 843.0, 167.0, 22.0 ], - "text" : "getpoint $1 #0_point_query" - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 128.638049870729446, 631.0, 406.0, 22.0 ], - "text" : "t i i i" - } - - } -, { - "box" : { - "id" : "obj-59", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 12.638049870729446, 511.0, 135.0, 22.0 ], - "text" : "uzi 1 0" - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 12.638049870729446, 190.5, 305.388049870729446, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-57", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 128.638049870729446, 680.0, 167.0, 22.0 ], - "text" : "list.lookup @zlmaxsize 32767" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 12.638049870729446, 129.0, 283.0, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 12.638049870729446, 160.0, 147.0, 22.0 ], - "text" : "list.len @zlmaxsize 32767" - } - - } -, { - "box" : { - "id" : "obj-622", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "list" ], - "patching_rect" : [ 128.638049870729446, 975.0, 72.0, 22.0 ], - "text" : "fluid.buf2list" - } - - } -, { - "box" : { - "id" : "obj-621", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 214.638049870729446, 907.0, 145.0, 22.0 ], - "text" : "buffer~ #0_point_query" - } - - } -, { - "box" : { - "id" : "obj-620", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 128.638049870729446, 944.0, 140.0, 22.0 ], - "text" : "substitute getpoint buffer" - } - - } -, { - "box" : { - "comment" : "highlight (list)", - "id" : "obj-300", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 12.638049870729446, 10.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "update highlighted mesh (bang)", - "id" : "obj-301", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 70.638049870729446, 1081.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-145", 0 ], - "source" : [ "obj-10", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-10", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "midpoints" : [ 56.138049870729446, 454.6171875, 22.138049870729446, 454.6171875 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-141", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-620", 0 ], - "source" : [ "obj-152", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-152", 0 ], - "source" : [ "obj-153", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-167", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-30", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-30", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-300", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-53", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 1 ], - "order" : 1, - "source" : [ "obj-54", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 1 ], - "order" : 0, - "source" : [ "obj-54", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-57", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "order" : 0, - "source" : [ "obj-58", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "order" : 2, - "source" : [ "obj-58", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "order" : 1, - "source" : [ "obj-58", 1 ] - } - - } -, { - "patchline" : { - "color" : [ 0.986251711845398, 0.00723597407341, 0.02742300927639, 1.0 ], - "destination" : [ "obj-301", 0 ], - "source" : [ "obj-59", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-59", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-145", 1 ], - "order" : 0, - "source" : [ "obj-60", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 0 ], - "source" : [ "obj-60", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 1 ], - "source" : [ "obj-60", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 1 ], - "order" : 1, - "source" : [ "obj-60", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-152", 0 ], - "source" : [ "obj-61", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-622", 0 ], - "source" : [ "obj-620", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-622", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-135", 0 ], - "source" : [ "obj-65", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 869.0, 194.5, 308.0, 22.0 ], - "text" : "p handle_highlight" - } - - } -, { - "box" : { - "id" : "obj-299", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1527.0, 18.0, 224.0, 20.0 ], - "text" : "refer (to labelset) or dictionary (of labels)" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 616.0, 86.0, 22.0 ], - "text" : "pv num_labels" - } - - } -, { - "box" : { - "id" : "obj-297", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 510.0, 898.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 287.5, 106.0, 95.0, 20.0 ], - "text" : "clear labels logs" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 273.473900258541107, 133.0, 35.0, 22.0 ], - "text" : "clear" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 304.361950129270554, 162.5, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 287.5, 192.5, 137.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 273.473900258541107, 221.5, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 19.000023258541205, 52.0, 64.0, 22.0 ], - "text" : "route refer" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 144.888049870729446, 845.0, 108.0, 20.0 ], - "text" : "dictionary of labels" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 54.5, 23.0, 145.0, 20.0 ], - "text" : "refer " - } - - } -, { - "box" : { - "id" : "obj-283", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 33.026099741458893, 591.0, 212.0, 20.0 ], - "text" : "bang if there was no labelset specified" - } - - } -, { - "box" : { - "id" : "obj-281", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 33.026099741458893, 658.0, 95.0, 20.0 ], - "text" : "clear labels logs" - } - - } -, { - "box" : { - "id" : "obj-273", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 238.0, 645.0, 127.0, 33.0 ], - "text" : "set all colors to black, trigger update" - } - - } -, { - "box" : { - "id" : "obj-271", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 49.888049870729446, 437.5, 103.0, 22.0 ], - "text" : "pv labelset_name" - } - - } -, { - "box" : { - "id" : "obj-188", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 32.888049870729446, 295.5, 205.0, 60.0 ], - "text" : "if there was a reference then emit refer message to dataset, and dump its dict, otherwise clear color matrices and label colls/dicts" - } - - } -, { - "box" : { - "id" : "obj-151", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 19.0, 406.5, 80.776099741458893, 22.0 ], - "text" : "sel 0 1" - } - - } -, { - "box" : { - "id" : "obj-150", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.0, 377.5, 177.0, 22.0 ], - "text" : "pv labelset_reference_specified" - } - - } -, { - "box" : { - "id" : "obj-270", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 19.0, 264.0, 283.5, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-144", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 283.75, 406.5, 177.0, 22.0 ], - "text" : "pv labelset_reference_specified" - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 296.473900258541107, 295.5, 108.0, 20.0 ], - "text" : "log reference state" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 283.5, 377.5, 33.0, 22.0 ], - "text" : "== 0" - } - - } -, { - "box" : { - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 283.5, 346.5, 210.0, 22.0 ], - "text" : "list.compare #0_placeholder_labels" - } - - } -, { - "box" : { - "id" : "obj-78", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 283.5, 320.5, 103.0, 22.0 ], - "text" : "pv labelset_name" - } - - } -, { - "box" : { - "id" : "obj-269", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "bang" ], - "patching_rect" : [ 19.0, 78.0, 90.0, 22.0 ], - "text" : "t b l b" - } - - } -, { - "box" : { - "id" : "obj-30", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 66.611950129270554, 109.5, 153.0, 47.0 ], - "text" : "save to labelset name, or use internal placeholder (if no args)" - } - - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 54.5, 190.5, 142.0, 22.0 ], - "text" : "#0_placeholder_labels" - } - - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 54.5, 221.5, 103.0, 22.0 ], - "text" : "pv labelset_name" - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 54.5, 164.5, 54.0, 22.0 ], - "text" : "sel bang" - } - - } -, { - "box" : { - "id" : "obj-170", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 249.5, 727.0, 159.0, 22.0 ], - "text" : "s #0_update_point_colors" - } - - } -, { - "box" : { - "id" : "obj-169", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 228.5, 754.0, 224.0, 22.0 ], - "text" : "s #0_update_highlighted_point_colors" - } - - } -, { - "box" : { - "id" : "obj-113", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 19.0, 619.0, 228.5, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-108", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 112.888049870729446, 527.5, 69.0, 22.0 ], - "text" : "route dump" - } - - } -, { - "box" : { - "id" : "obj-104", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 49.888049870729446, 467.5, 87.0, 22.0 ], - "text" : "refer $1, dump" - } - - } -, { - "box" : { - "id" : "obj-95", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.0, 685.0, 35.0, 22.0 ], - "text" : "clear" - } - - } -, { - "box" : { - "id" : "obj-93", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 49.888049870729446, 496.5, 82.0, 22.0 ], - "text" : "fluid.labelset~" - } - - } -, { - "box" : { - "id" : "obj-37", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 228.5, 685.0, 110.0, 22.0 ], - "text" : "setall 0 0 0 1, bang" - } - - } -, { - "box" : { - "id" : "obj-127", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 49.888049870729446, 724.0, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" - } - - } -, { - "box" : { - "id" : "obj-126", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 33.026099741458893, 754.0, 137.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-81", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 19.0, 783.0, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "comment" : "refer ", - "id" : "obj-295", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.000023258541205, 18.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "dictionary of labels", - "id" : "obj-296", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 112.888049870729446, 840.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-269", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-93", 0 ], - "source" : [ "obj-104", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-296", 0 ], - "source" : [ "obj-108", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-113", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 0 ], - "source" : [ "obj-113", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-151", 0 ], - "source" : [ "obj-150", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-113", 0 ], - "source" : [ "obj-151", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-271", 0 ], - "source" : [ "obj-151", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-270", 0 ], - "source" : [ "obj-269", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "midpoints" : [ 99.5, 104.0, 282.973900258541107, 104.0 ], - "source" : [ "obj-269", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-269", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-150", 0 ], - "source" : [ "obj-270", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-270", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-104", 0 ], - "source" : [ "obj-271", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-295", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-169", 0 ], - "order" : 1, - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-170", 0 ], - "order" : 0, - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "order" : 0, - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "order" : 1, - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "order" : 2, - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-50", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-108", 0 ], - "source" : [ "obj-93", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-126", 0 ], - "order" : 1, - "source" : [ "obj-95", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-127", 0 ], - "order" : 0, - "source" : [ "obj-95", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-81", 0 ], - "order" : 2, - "source" : [ "obj-95", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1642.0, 130.0, 134.0, 22.0 ], - "text" : "p handle_refer_labelset" - } - - } -, { - "box" : { - "id" : "obj-291", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1907.0, 645.0, 90.0, 20.0 ], - "text" : "labels & colors:" - } - - } -, { - "box" : { - "id" : "obj-287", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1943.0, 667.0, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" - } - - } -, { - "box" : { - "id" : "obj-288", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1943.0, 693.0, 137.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-289", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 1944.0, 718.0, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "id" : "obj-286", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 590.0, 177.0, 22.0 ], - "text" : "pv labelset_reference_specified" - } - - } -, { - "box" : { - "id" : "obj-285", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1653.0, 477.5, 136.0, 33.0 ], - "text" : "bang when created dict with color palette" - } - - } -, { - "box" : { - "id" : "obj-284", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1654.0, 203.0, 111.0, 20.0 ], - "text" : "list of unique labels" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1653.0, 157.0, 108.0, 20.0 ], - "text" : "dictionary of labels" - } - - } -, { - "box" : { - "id" : "obj-279", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1944.0, 191.0, 199.0, 22.0 ], - "text" : "jit.matrix #0_zoomrect 2 float32 4" - } - - } -, { - "box" : { - "id" : "obj-277", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1944.0, 165.0, 279.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_point_colors 4 float32 1" - } - - } -, { - "box" : { - "id" : "obj-278", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1944.0, 105.0, 246.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_points 2 float32 1" - } - - } -, { - "box" : { - "id" : "obj-274", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1907.0, 18.0, 120.0, 20.0 ], - "text" : "matrices for meshes:" - } - - } -, { - "box" : { - "id" : "obj-268", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 565.0, 103.0, 22.0 ], - "text" : "pv labelset_name" - } - - } -, { - "box" : { - "id" : "obj-267", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 938.0, 537.0, 102.0, 20.0 ], - "text" : "highlighted points" - } - - } -, { - "box" : { - "id" : "obj-266", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 938.0, 786.0, 56.0, 20.0 ], - "text" : "all points" - } - - } -, { - "box" : { - "id" : "obj-265", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 878.5, 223.5, 139.0, 20.0 ], - "text" : "update highlighted mesh" - } - - } -, { - "box" : { - "id" : "obj-252", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1372.0, 761.0, 298.0, 20.0 ], - "text" : "only let mousing through if there is a dataset reference" - } - - } -, { - "box" : { - "id" : "obj-246", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1359.0, 680.0, 326.0, 33.0 ], - "text" : "mouse tracking \n(x, y, button, cmd[mac]/ctrl[win], shift, caps, opt/alt ctrl[mac])" - } - - } -, { - "box" : { - "id" : "obj-244", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 850.0, -737.0, 645.0, 302.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 434.00001199999997, 196.0, 81.0, 22.0 ], - "text" : "s #0_to_node" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 268.00001199999997, 139.0, 61.999999999999972, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 311.00001199999997, 196.0, 107.0, 22.0 ], - "text" : "pv highlight_scale" - } - - } -, { - "box" : { - "coll_data" : { - "count" : 2, - "data" : [ { - "key" : "circle", - "value" : [ 0 ] - } -, { - "key" : "square", - "value" : [ 1 ] - } - ] - } -, - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 12.00001199999997, 139.0, 89.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 1, - "precision" : 6 - } -, - "text" : "coll @embed 1" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 140.0, 260.0, 148.0, 22.0 ], - "text" : "s #0_update_pointsizes" - } - - } -, { - "box" : { - "id" : "obj-167", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 160.0, 230.0, 153.0, 22.0 ], - "text" : "s #0_redraw_highlighted" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 140.00001199999997, 139.0, 61.999999999999972, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 12.00001199999997, 210.0, 111.0, 22.0 ], - "text" : "s #0_to_shaders" - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 556.00001199999997, 228.5, 77.0, 33.0 ], - "text" : "other messages" - } - - } -, { - "box" : { - "comment" : "colorscheme", - "id" : "obj-241", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 524.00001199999997, 230.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-2", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 25.0, 40.0, 114.0, 47.0 ], - "text" : "shape\npointsizescale\nbgcolor" - } - - } -, { - "box" : { - "id" : "obj-112", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 396.00001199999997, 163.0, 103.0, 22.0 ], - "text" : "s #0_to_render" - } - - } -, { - "box" : { - "id" : "obj-160", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 396.00001199999997, 139.0, 119.0, 22.0 ], - "text" : "prepend erase_color" - } - - } -, { - "box" : { - "id" : "obj-156", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 183.000011999999941, 168.0, 107.0, 22.0 ], - "text" : "pv pointsize_scale" - } - - } -, { - "box" : { - "id" : "obj-155", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 12.00001199999997, 176.0, 126.0, 22.0 ], - "text" : "prepend param shape" - } - - } -, { - "box" : { - "id" : "obj-154", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 5, - "outlettype" : [ "", "", "", "", "" ], - "patching_rect" : [ 12.00001199999997, 107.0, 531.0, 22.0 ], - "text" : "route shape pointsizescale highlightscale bgcolor" - } - - } -, { - "box" : { - "comment" : "shape, pointsize, highlightedpointsize, bgcolor", - "id" : "obj-243", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 12.00001199999997, 8.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-160", 0 ], - "source" : [ "obj-154", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-241", 0 ], - "source" : [ "obj-154", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-154", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-154", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-154", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-155", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-112", 0 ], - "order" : 1, - "source" : [ "obj-160", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "order" : 0, - "source" : [ "obj-160", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-154", 0 ], - "source" : [ "obj-243", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-156", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-167", 0 ], - "order" : 0, - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "order" : 1, - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-167", 0 ], - "order" : 0, - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "order" : 1, - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-155", 0 ], - "source" : [ "obj-7", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1258.0, 322.5, 109.0, 22.0 ], - "text" : "p drawing_settings" - } - - } -, { - "box" : { - "id" : "obj-242", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 468.0, 239.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 332.000012129270544, 65.0, 113.0, 22.0 ], - "text" : "r #0_reset_range" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 238.999901258541286, 118.0, 36.0, 20.0 ], - "text" : "other" - } - - } -, { - "box" : { - "id" : "obj-2", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 31.0, 46.0, 45.0, 60.0 ], - "text" : "xrange\nyrange\nrange\nother" - } - - } -, { - "box" : { - "id" : "obj-190", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 332.000012129270544, 167.0, 116.0, 22.0 ], - "text" : "pv yrange_pre_drag" - } - - } -, { - "box" : { - "id" : "obj-189", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 125.666678795937514, 167.0, 116.0, 22.0 ], - "text" : "pv xrange_pre_drag" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 332.000012129270544, 113.0, 80.0, 22.0 ], - "text" : "loadmess 0 1" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 19.000012129270544, 167.0, 25.0, 22.0 ], - "text" : "b 1" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 19.000012129270544, 199.0, 132.0, 22.0 ], - "text" : "s #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 253.750012129270544, 167.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 54.000012129270544, 167.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 19.000012129270544, 113.0, 179.0, 22.0 ], - "text" : "route xrange yrange range" - } - - } -, { - "box" : { - "comment" : "xrange, yrange, range, other", - "id" : "obj-240", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.000012129270544, 12.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "other", - "id" : "obj-241", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 206.999901258541286, 113.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-189", 0 ], - "order" : 2, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-190", 0 ], - "order" : 0, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 3, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 1, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-189", 0 ], - "order" : 2, - "source" : [ "obj-13", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-189", 0 ], - "order" : 0, - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-190", 0 ], - "order" : 0, - "source" : [ "obj-13", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-190", 0 ], - "order" : 0, - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 3, - "source" : [ "obj-13", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 1, - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 1, - "source" : [ "obj-13", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 1, - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-241", 0 ], - "source" : [ "obj-13", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "order" : 4, - "source" : [ "obj-13", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "order" : 2, - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "order" : 2, - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-240", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-45", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1258.0, 161.0, 98.0, 22.0 ], - "text" : "p handle_ranges" - } - - } -, { - "box" : { - "id" : "obj-236", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 425.5, 116.0, 22.0 ], - "text" : "pv yrange_pre_drag" - } - - } -, { - "box" : { - "id" : "obj-237", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 374.5, 116.0, 22.0 ], - "text" : "pv xrange_pre_drag" - } - - } -, { - "box" : { - "id" : "obj-238", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 399.5, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-239", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 348.5, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-235", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 235.95398337642348, 408.5, 141.0, 20.0 ], - "text" : "start resize listener script" - } - - } -, { - "box" : { - "id" : "obj-216", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 322.5, 93.0, 22.0 ], - "text" : "pv bpatcher_wh" - } - - } -, { - "box" : { - "id" : "obj-215", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 282.95398337642348, 456.5, 189.0, 47.0 ], - "text" : "listen to changes in the bpatcher box size and set the pwindow's presentation_rect accordingly" - } - - } -, { - "box" : { - "id" : "obj-212", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 501.95398337642348, 612.0, 115.0, 22.0 ], - "text" : "s #0_to_pwindow" - } - - } -, { - "box" : { - "id" : "obj-211", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 34.0, 100.0, 1660.0, 983.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-31", - "linecount" : 2, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 756.0, 789.0, 81.388049870729219, 35.0 ], - "text" : "dim $1, setall 0 0 0 0.8" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 634.138049870729219, 838.75, 89.0, 22.0 ], - "text" : "dim $1, setall 1" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 634.138049870729219, 868.75, 203.0, 22.0 ], - "text" : "jit.matrix #0_pointsizes 1 float32 1" - } - - } -, { - "box" : { - "id" : "obj-165", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 756.0, 838.75, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1160.0, 608.75, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "size", "clear" ], - "patching_rect" : [ 1017.0, 575.75, 162.0, 22.0 ], - "text" : "t size clear" - } - - } -, { - "box" : { - "id" : "obj-66", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1042.0, 873.75, 83.0, 22.0 ], - "text" : "prepend store" - } - - } -, { - "box" : { - "id" : "obj-63", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1042.0, 838.75, 43.0, 22.0 ], - "text" : "list.rev" - } - - } -, { - "box" : { - "id" : "obj-64", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1042.0, 907.0, 121.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_ids2samps" - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1042.0, 807.75, 53.0, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1076.0, 778.75, 81.0, 22.0 ], - "text" : "route getlabel" - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1076.0, 750.75, 134.0, 22.0 ], - "text" : "fluid.labelset~ #0_ids" - } - - } -, { - "box" : { - "id" : "obj-59", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 1042.0, 695.75, 53.0, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1076.0, 722.75, 67.0, 22.0 ], - "text" : "getlabel $1" - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 1017.0, 666.75, 44.0, 22.0 ], - "text" : "uzi 1 0" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1017.0, 637.75, 61.0, 22.0 ], - "text" : "route size" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1017.0, 608.75, 134.0, 22.0 ], - "text" : "fluid.labelset~ #0_ids" - } - - } -, { - "box" : { - "id" : "obj-47", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1086.0, 547.5, 195.0, 20.0 ], - "text" : "only do it once for a loaded dataset" - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 512.388049870729219, 654.0, 29.5, 22.0 ], - "text" : "t i b" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 1017.0, 546.5, 65.0, 22.0 ], - "text" : "onebang 1" - } - - } -, { - "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1017.0, 483.5, 148.0, 22.0 ], - "text" : "r #0_request_ids_dump" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 554.388049870729219, 144.5, 35.111950129270554, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 554.388049870729219, 201.5, 132.0, 22.0 ], - "text" : "s #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-21", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 566.0, 89.5, 244.0, 33.0 ], - "text" : "reset view ranges to the default 0-1\nUPDATE: disabled for parity with fluid.plotter" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 570.499999999999773, 170.5, 115.0, 22.0 ], - "text" : "s #0_reset_range" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1613.999999999998863, 410.0, 219.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_point_colors" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1634.999999999998863, 382.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1623.499999999999318, 267.5, 154.0, 20.0 ], - "text" : "turn all point colors to black" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1613.999999999998863, 321.5, 87.0, 22.0 ], - "text" : "setall 0 0 0 0.8" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1888.526099741457529, 267.5, 95.0, 20.0 ], - "text" : "clear labels logs" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1879.499999999998636, 321.5, 35.0, 22.0 ], - "text" : "clear" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1910.388049870728082, 351.0, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1893.526099741457529, 381.0, 137.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 1879.499999999998636, 410.0, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "id" : "obj-6", - "linecount" : 6, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 151.499999999999773, 448.5, 137.0, 87.0 ], - "text" : "if there is a reference, only show the main mesh, the highlighted mesh stays hidden until there is a highlight message received" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 317.388049870729219, 448.5, 55.0, 22.0 ], - "text" : "enable 1" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1348.499999999999318, 321.5, 55.0, 22.0 ], - "text" : "enable 0" - } - - } -, { - "box" : { - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1348.499999999999318, 352.5, 162.0, 22.0 ], - "text" : "s #0_to_highlighted_mesh" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1357.499999999999318, 267.5, 145.0, 20.0 ], - "text" : "hide the highlighted mesh" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 752.638049870729219, 547.5, 152.0, 20.0 ], - "text" : "dataset row at buffer frame" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 752.638049870729219, 576.75, 144.0, 20.0 ], - "text" : "buffer frame to dataset ID" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 523.388049870729219, 791.0, 88.0, 20.0 ], - "text" : "buffer to matrix" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 53.0, 835.5, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 58.999999870729447, 23.0, 173.0, 20.0 ], - "text" : "refer " - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "bang" ], - "patching_rect" : [ 21.0, 59.0, 552.388049870729219, 22.0 ], - "text" : "t b l b" - } - - } -, { - "box" : { - "id" : "obj-201", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 523.388049870729219, 701.0, 168.0, 47.0 ], - "text" : "log number of points, update matrix dim and output matrix from jit.buffer" - } - - } -, { - "box" : { - "id" : "obj-199", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 512.388049870729219, 614.5, 61.0, 22.0 ], - "text" : "route size" - } - - } -, { - "box" : { - "id" : "obj-198", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "int", "int", "int", "int" ], - "patching_rect" : [ 512.388049870729219, 757.0, 384.25, 22.0 ], - "text" : "t i i i i" - } - - } -, { - "box" : { - "id" : "obj-192", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 523.388049870729219, 448.5, 95.0, 20.0 ], - "text" : "dataset to buffer" - } - - } -, { - "box" : { - "id" : "obj-188", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 300.388049870729219, 267.5, 204.0, 60.0 ], - "text" : "if there was a reference then get the dataset points into a buffer and then a matrix to update the main mesh, otherwise hide it" - } - - } -, { - "box" : { - "id" : "obj-187", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 565.914149612188112, 267.5, 117.0, 33.0 ], - "text" : "emit refer message to the fluid.datasets" - } - - } -, { - "box" : { - "id" : "obj-186", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 829.914149612187998, 267.5, 169.0, 47.0 ], - "text" : "it is necessary to dereference the buffer in jit.buffer first, so the dataset can resize it" - } - - } -, { - "box" : { - "id" : "obj-164", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 512.138049870729219, 925.75, 114.0, 22.0 ], - "text" : "s #0_to_jit_buffer" - } - - } -, { - "box" : { - "id" : "obj-162", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 817.388049870729219, 348.5, 114.0, 22.0 ], - "text" : "s #0_to_jit_buffer" - } - - } -, { - "box" : { - "id" : "obj-158", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 529.388049870729219, 514.5, 150.0, 22.0 ], - "text" : "r #0_refer_datasetname" - } - - } -, { - "box" : { - "id" : "obj-151", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 286.499999999999773, 377.5, 80.776099741458893, 22.0 ], - "text" : "sel 0 1" - } - - } -, { - "box" : { - "id" : "obj-150", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 286.499999999999773, 348.5, 175.0, 22.0 ], - "text" : "pv dataset_reference_specified" - } - - } -, { - "box" : { - "id" : "obj-147", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 551.999999999999773, 348.5, 81.0, 22.0 ], - "text" : "prepend refer" - } - - } -, { - "box" : { - "id" : "obj-144", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1099.249999999999773, 413.5, 175.0, 22.0 ], - "text" : "pv dataset_reference_specified" - } - - } -, { - "box" : { - "id" : "obj-143", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 551.999999999999773, 321.5, 101.0, 22.0 ], - "text" : "pv dataset_name" - } - - } -, { - "box" : { - "id" : "obj-138", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 551.999999999999773, 377.5, 152.0, 22.0 ], - "text" : "s #0_refer_datasetname" - } - - } -, { - "box" : { - "id" : "obj-130", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 286.499999999999773, 483.5, 55.0, 22.0 ], - "text" : "enable 0" - } - - } -, { - "box" : { - "id" : "obj-124", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 286.499999999999773, 553.5, 162.0, 22.0 ], - "text" : "s #0_to_highlighted_mesh" - } - - } -, { - "box" : { - "id" : "obj-122", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 317.388049870729219, 518.5, 130.0, 22.0 ], - "text" : "s #0_to_main_mesh" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1082.999999999999773, 444.5, 127.0, 22.0 ], - "text" : "s #0_mousing_gate" - } - - } -, { - "box" : { - "id" : "obj-42", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1091.999999999999773, 267.5, 163.0, 33.0 ], - "text" : "do not let mousing through if there's no dataset reference" - } - - } -, { - "box" : { - "id" : "obj-30", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 299.805975064635163, 89.5, 153.0, 47.0 ], - "text" : "save to dataset name, or use internal placeholder (if no args)" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 1082.999999999999773, 378.5, 33.0, 22.0 ], - "text" : "== 0" - } - - } -, { - "box" : { - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1082.999999999999773, 347.5, 172.0, 22.0 ], - "text" : "list.compare #0_placeholder" - } - - } -, { - "box" : { - "id" : "obj-78", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1082.999999999999773, 321.5, 101.0, 22.0 ], - "text" : "pv dataset_name" - } - - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 287.69402493536461, 170.5, 104.0, 22.0 ], - "text" : "#0_placeholder" - } - - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 287.69402493536461, 201.5, 101.0, 22.0 ], - "text" : "pv dataset_name" - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 287.69402493536461, 144.5, 54.0, 22.0 ], - "text" : "sel bang" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 317.388049870729219, 413.5, 214.0, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-72", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 877.638049870729219, 789.0, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 600.638049870729219, 576.75, 134.0, 22.0 ], - "text" : "fluid.labelset~ #0_ids" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 8, - "outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "bang", "bang" ], - "patching_rect" : [ 21.0, 241.5, 1877.499999999998636, 22.0 ], - "text" : "b 8" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 817.499999999999773, 321.5, 55.0, 22.0 ], - "text" : "set none" - } - - } -, { - "box" : { - "id" : "obj-553", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 512.138049870729219, 898.75, 229.0, 22.0 ], - "text" : "set #0_points_2d, outputlast $1, output" - } - - } -, { - "box" : { - "id" : "obj-533", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 600.638049870729219, 547.5, 135.0, 22.0 ], - "text" : "buffer~ #0_points_2d" - } - - } -, { - "box" : { - "id" : "obj-529", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 512.388049870729219, 483.5, 228.0, 22.0 ], - "text" : "tobuffer #0_points_2d 0 #0_ids, size" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 512.388049870729219, 547.5, 80.0, 22.0 ], - "text" : "fluid.dataset~", - "varname" : "dataset" - } - - } -, { - "box" : { - "comment" : "refer ", - "id" : "obj-209", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 21.0, 18.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-210", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 21.0, 830.5, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "disabled" : 1, - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-1", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-162", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-122", 0 ], - "order" : 0, - "source" : [ "obj-130", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "order" : 1, - "source" : [ "obj-130", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-147", 0 ], - "source" : [ "obj-143", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 0 ], - "source" : [ "obj-147", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-151", 0 ], - "source" : [ "obj-150", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-130", 0 ], - "source" : [ "obj-151", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-151", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-158", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "order" : 0, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "order" : 1, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-199", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-198", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-198", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-553", 0 ], - "source" : [ "obj-198", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-198", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-199", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-122", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-209", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-23", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-24", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-165", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-198", 0 ], - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 1 ], - "midpoints" : [ 532.388049870729219, 686.0, 1006.44402493536461, 686.0, 1006.44402493536461, 535.5, 1072.5, 535.5 ], - "source" : [ "obj-33", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-4", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-143", 0 ], - "source" : [ "obj-4", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-150", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-4", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-210", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-4", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-4", 7 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-4", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-529", 0 ], - "source" : [ "obj-43", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-50", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-529", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-164", 0 ], - "source" : [ "obj-553", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "source" : [ "obj-56", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-59", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "source" : [ "obj-59", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 0 ], - "source" : [ "obj-60", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 1 ], - "source" : [ "obj-61", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-62", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-65", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-64", 0 ], - "source" : [ "obj-66", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "order" : 0, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "order" : 1, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "order" : 2, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "order" : 0, - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "order" : 1, - "source" : [ "obj-87", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 177.95398337642348, 372.5, 86.0, 22.0 ], - "text" : "p handle_refer" - } - - } -, { - "box" : { - "id" : "obj-208", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1907.0, 750.0, 199.0, 20.0 ], - "text" : "placeholders (for safe dereference):" - } - - } -, { - "box" : { - "id" : "obj-206", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 271.5, 175.0, 22.0 ], - "text" : "pv dataset_reference_specified" - } - - } -, { - "box" : { - "id" : "obj-207", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 245.5, 199.0, 22.0 ], - "text" : "pv dataset_name #0_placeholder" - } - - } -, { - "box" : { - "id" : "obj-205", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1907.0, 218.0, 93.0, 20.0 ], - "text" : "patch variables:" - } - - } -, { - "box" : { - "id" : "obj-203", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1944.0, 296.5, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "id" : "obj-171", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1022.0, 343.0, 222.0, 22.0 ], - "text" : "r #0_update_highlighted_point_colors" - } - - } -, { - "box" : { - "id" : "obj-168", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1005.0, 619.0, 157.0, 22.0 ], - "text" : "r #0_update_point_colors" - } - - } -, { - "box" : { - "id" : "obj-167", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1687.0, 612.5, 153.0, 22.0 ], - "text" : "s #0_redraw_highlighted" - } - - } -, { - "box" : { - "id" : "obj-166", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "bang" ], - "patching_rect" : [ 928.0, 619.0, 40.0, 22.0 ], - "text" : "t b l b" - } - - } -, { - "box" : { - "id" : "obj-163", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 928.0, 561.0, 112.0, 22.0 ], - "text" : "r #0_to_jit_buffer" - } - - } -, { - "box" : { - "id" : "obj-121", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1028.0, 417.0, 160.0, 22.0 ], - "text" : "r #0_to_highlighted_mesh" - } - - } -, { - "box" : { - "id" : "obj-120", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1018.5, 118.0, 53.0, 20.0 ], - "text" : "highlight" - } - - } -, { - "box" : { - "id" : "obj-119", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1270.5, 299.0, 249.0, 20.0 ], - "text" : "shape, pointsizescale, highlightscale, bgcolor" - } - - } -, { - "box" : { - "id" : "obj-101", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1032.0, 685.5, 128.0, 22.0 ], - "text" : "r #0_to_main_mesh" - } - - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "", "" ], - "patching_rect" : [ 177.95398337642348, 546.0, 343.0, 22.0 ], - "text" : "t b l l" - } - - } -, { - "box" : { - "id" : "obj-51", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1312.0, 731.0, 125.0, 22.0 ], - "text" : "r #0_mousing_gate" - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 454.0, 118.0, 33.0, 20.0 ], - "text" : "refer" - } - - } -, { - "box" : { - "id" : "obj-67", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1863.0, 911.0, 182.0, 20.0 ], - "text" : "report zoomxrange, zoomyrange" - } - - } -, { - "box" : { - "comment" : "report zoomxrange zoomyrange", - "id" : "obj-68", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1833.0, 905.0, 31.0, 31.0 ] - } - - } -, { - "box" : { - "id" : "obj-223", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1345.0, 911.0, 126.0, 20.0 ], - "text" : "normalized mouse XY" - } - - } -, { - "box" : { - "id" : "obj-148", - "linecount" : 3, - "maxclass" : "newobj", - "numinlets" : 9, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1573.0, 865.0, 249.0, 49.0 ], - "text" : "jit.gl.mesh @draw_mode quads @gl_color 0 0 0 0.2 @layer 1 @blend_enable 1 @drawto #0_fluid.jit.plotter.node @layer 2" - } - - } -, { - "box" : { - "id" : "obj-92", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1943.0, 804.0, 219.0, 22.0 ], - "text" : "fluid.labelset~ #0_placeholder_labels" - } - - } -, { - "box" : { - "id" : "obj-77", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1312.0, 761.0, 52.0, 22.0 ], - "text" : "gate 1 0" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1943.0, 774.0, 179.0, 22.0 ], - "text" : "fluid.dataset~ #0_placeholder" - } - - } -, { - "box" : { - "id" : "obj-146", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "bang", "bang", "bang", "bang" ], - "patching_rect" : [ 869.0, 245.5, 222.999999999999886, 22.0 ], - "text" : "b 4" - } - - } -, { - "box" : { - "id" : "obj-142", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1005.0, 379.0, 219.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_point_colors" - } - - } -, { - "box" : { - "id" : "obj-137", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1944.0, 79.0, 214.0, 22.0 ], - "text" : "jit.matrix #0_point_colors 4 float32 1" - } - - } -, { - "box" : { - "id" : "obj-136", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 360.0, 264.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 238.0, 25.0, 77.0, 20.0 ], - "text" : "colorscheme" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 206.0, 67.0, 133.0, 22.0 ], - "text" : "routepass colorscheme" - } - - } -, { - "box" : { - "comment" : "colorscheme", - "id" : "obj-1", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 206.0, 20.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 184.0, 106.0, 151.0, 60.0 ], - "text" : "this replicates the creation of the colorscheme from fluid.plotter and outputs the scheme as a dictionary" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 53.0, 216.0, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 53.0, 25.0, 111.0, 20.0 ], - "text" : "list of unique labels" - } - - } -, { - "box" : { - "id" : "obj-128", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 18.0, 137.0, 39.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 39.0, 173.0, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "id" : "obj-77", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 67.0, 126.0, 22.0 ], - "text" : "prepend labels2colors" - } - - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 106.0, 164.0, 22.0 ], - "saved_object_attributes" : { - "filename" : "fluid.jit.plotter.labels2colors", - "parameter_enable" : 0 - } -, - "text" : "js fluid.jit.plotter.labels2colors" - } - - } -, { - "box" : { - "comment" : "list of unique labels", - "id" : "obj-134", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 20.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-135", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 18.0, 211.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-135", 0 ], - "source" : [ "obj-128", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-128", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-77", 0 ], - "source" : [ "obj-134", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 0 ], - "source" : [ "obj-75", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-77", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1642.0, 453.5, 89.0, 22.0 ], - "text" : "p labels2colors" - } - - } -, { - "box" : { - "id" : "obj-133", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 273.0, 667.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-9", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 89.5, 442.0, 58.0, 20.0 ], - "text" : "coll to list" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 37.5, 389.0, 137.0, 20.0 ], - "text" : "number of unique labels" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 140.0, 206.0, 112.0, 20.0 ], - "text" : "count unique labels" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 132.0, 98.0, 97.0, 20.0 ], - "text" : "labels dict to coll" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 55.5, 621.0, 111.0, 20.0 ], - "text" : "list of unique labels" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 55.5, 24.0, 108.0, 20.0 ], - "text" : "dictionary of labels" - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 85.333333333333258, 541.0, 77.0, 22.0 ], - "text" : "route symbol" - } - - } -, { - "box" : { - "id" : "obj-51", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 25.0, 584.0, 162.0, 22.0 ], - "text" : "list.group @zlmaxsize 32767" - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 46.0, 509.0, 137.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "dump", "int" ], - "patching_rect" : [ 25.0, 442.0, 61.0, 22.0 ], - "text" : "t b dump i" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 67.0, 476.0, 86.0, 22.0 ], - "text" : "pv num_labels" - } - - } -, { - "box" : { - "id" : "obj-41", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 71.0, 299.0, 83.0, 22.0 ], - "text" : "prepend store" - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 71.0, 325.0, 59.0, 22.0 ], - "text" : "append 0" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 71.0, 269.0, 77.0, 22.0 ], - "text" : "route symbol" - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 25.0, 362.0, 137.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-37", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "length", "dump", "clear" ], - "patching_rect" : [ 25.0, 205.0, 111.0, 22.0 ], - "text" : "t length dump clear" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 65.0, 128.0, 144.0, 22.0 ], - "text" : "push_to_coll #0_labels\n" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 65.0, 161.0, 50.5, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 71.0, 240.0, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 25.0, 98.0, 99.0, 22.0 ], - "text" : "t b b l" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 25.0, 67.0, 99.0, 22.0 ], - "saved_object_attributes" : { - "legacy" : 1 - } -, - "text" : "dict.unpack data:" - } - - } -, { - "box" : { - "comment" : "dictionary of labels", - "id" : "obj-131", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 19.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "list of unique labels", - "id" : "obj-132", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 25.0, 616.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-131", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-22", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-37", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-37", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-41", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-42", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-43", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-48", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-48", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "source" : [ "obj-50", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-51", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-62", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-62", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1642.0, 179.0, 135.0, 22.0 ], - "text" : "p extract_unique_labels" - } - - } -, { - "box" : { - "id" : "obj-125", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ -348.0, -1321.0, 304.0, 799.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 106.0, 439.75, 71.0, 22.0 ], - "text" : "fromsymbol" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 106.0, 372.0, 81.0, 22.0 ], - "text" : "route getlabel" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 106.0, 308.0, 67.0, 22.0 ], - "text" : "getlabel $1" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 106.0, 340.0, 134.0, 22.0 ], - "text" : "fluid.labelset~ #0_ids" - } - - } -, { - "box" : { - "id" : "obj-22", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 116.5, 257.0, 138.0, 47.0 ], - "text" : "look up the dataset ID corresponding to the buffer frame/matrix cell" - } - - } -, { - "box" : { - "id" : "obj-1", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 116.0, 404.75, 179.0, 33.0 ], - "text" : "look up their label and the color corresponding to that label" - } - - } -, { - "box" : { - "id" : "obj-7", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 113.5, 638.0, 121.0, 33.0 ], - "text" : "fill in looked-up color for each point" - } - - } -, { - "box" : { - "id" : "obj-4", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 100.5, 90.0, 122.0, 33.0 ], - "text" : "set colors matrix dim to number of colors" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 80.75, 751.0, 97.0, 20.0 ], - "text" : "bang when done" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 55.5, 19.0, 35.0, 20.0 ], - "text" : "bang" - } - - } -, { - "box" : { - "id" : "obj-118", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 76.5, 678.0, 145.0, 22.0 ], - "text" : "setcell $1 val $2 $3 $4 $5" - } - - } -, { - "box" : { - "id" : "obj-116", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 76.5, 710.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors " - } - - } -, { - "box" : { - "id" : "obj-115", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 50.5, 149.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors " - } - - } -, { - "box" : { - "id" : "obj-114", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.5, 122.0, 45.0, 22.0 ], - "text" : "dim $1" - } - - } -, { - "box" : { - "id" : "obj-112", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 15.0, 90.0, 54.5, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-111", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 76.5, 638.0, 29.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-110", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 76.5, 222.0, 48.5, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-107", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 144.0, 593.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-102", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 5, - "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 106.0, 565.0, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "legacy" : 1, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "id" : "obj-101", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 106.0, 536.0, 73.0, 22.0 ], - "text" : "prepend get" - } - - } -, { - "box" : { - "id" : "obj-100", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 106.0, 502.0, 77.0, 22.0 ], - "text" : "route symbol" - } - - } -, { - "box" : { - "id" : "obj-92", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 106.0, 471.0, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" - } - - } -, { - "box" : { - "id" : "obj-91", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 15.0, 190.0, 80.5, 22.0 ], - "text" : "uzi 1 0" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 15.0, 58.0, 87.0, 22.0 ], - "text" : "pv num_points" - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-123", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 15.0, 14.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "bang", - "id" : "obj-124", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 45.75, 746.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-101", 0 ], - "source" : [ "obj-100", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-101", 0 ], - "source" : [ "obj-100", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-102", 0 ], - "source" : [ "obj-101", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-102", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 1 ], - "source" : [ "obj-107", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 0 ], - "source" : [ "obj-110", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-110", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-118", 0 ], - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-114", 0 ], - "source" : [ "obj-112", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-91", 0 ], - "source" : [ "obj-112", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-115", 0 ], - "source" : [ "obj-114", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-116", 0 ], - "source" : [ "obj-118", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-123", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-39", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-112", 0 ], - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-110", 0 ], - "source" : [ "obj-91", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-91", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-100", 0 ], - "source" : [ "obj-92", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1642.0, 522.5, 108.0, 22.0 ], - "text" : "p fill_colors_matrix" - } - - } -, { - "box" : { - "id" : "obj-74", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1005.0, 655.0, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 1579.0, 94.0, 144.0, 22.0 ], - "text" : "routepass dictionary refer" - } - - } -, { - "box" : { - "comment" : "refer (to labelset) or dictionary (of labels)", - "id" : "obj-14", - "index" : 0, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1495.0, 13.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-47", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1278.0, 98.0, 200.0, 60.0 ], - "text" : "xrange & yrange sets axes individually, range overwrites both.\nWe also store these as the ranges defined before click'n'drag zooming." - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "jit_matrix" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 621.0, 472.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 244.5, 418.0, 139.0, 20.0 ], - "text" : "scaled 2-plane ds matrix" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 199.0, 69.0, 29.5, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 199.0, 41.0, 130.0, 22.0 ], - "text" : "r #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 390.500012129270544, 117.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 116.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 390.500012129270544, 201.0, 89.0, 22.0 ], - "text" : "map $1 $2 -1 1" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 201.0, 89.0, 22.0 ], - "text" : "map $1 $2 -1 1" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 209.5, 376.0, 56.0, 22.0 ], - "text" : "jit.pack 2" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 390.500012129270544, 324.0, 170.0, 22.0 ], - "text" : "jit.map @map 0 1 -1 1 @clip 0" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 45.000012129270544, 201.0, 53.0, 22.0 ], - "text" : "jit.matrix" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "jit_matrix", "jit_matrix", "" ], - "patching_rect" : [ 45.000012129270544, 257.0, 69.0, 22.0 ], - "text" : "jit.unpack 2" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 453.500012129270544, 117.0, 45.0, 20.0 ], - "text" : "yrange" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 272.5, 117.0, 45.0, 20.0 ], - "text" : "xrange" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.0, 41.0, 101.0, 20.0 ], - "text" : "2-plane ds matrix" - } - - } -, { - "box" : { - "id" : "obj-566", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 209.5, 324.0, 170.0, 22.0 ], - "text" : "jit.map @map 0 1 -1 1 @clip 0" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 209.500012129270544, 413.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 1, - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 0, - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-566", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 938.0, 655.0, 56.0, 22.0 ], - "text" : "p scaling" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 1427.0, 459.0, 58.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-8", - "linecount" : 3, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 1427.0, 486.0, 105.0, 49.0 ], - "text" : "getattr presentation_rect @listen 0" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 501.95398337642348, 578.0, 149.0, 22.0 ], - "text" : "prepend presentation_rect" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 215.95398337642348, 443.5, 63.0, 22.0 ], - "text" : "closebang" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 215.95398337642348, 469.5, 31.0, 22.0 ], - "text" : "stop" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 177.95398337642348, 469.5, 32.0, 22.0 ], - "text" : "start" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 177.95398337642348, 507.5, 176.0, 22.0 ], - "saved_object_attributes" : { - "filename" : "fluid.jit.plotter.resize.pwindow", - "parameter_enable" : 0 - } -, - "text" : "js fluid.jit.plotter.resize.pwindow" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "jit_matrix", "jit_matrix", "" ], - "patching_rect" : [ 928.0, 590.0, 58.0, 22.0 ], - "text" : "jit.buffer~" - } - - } -, { - "box" : { - "comment" : "normalized mouse XY", - "id" : "obj-6", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1312.0, 905.0, 31.0, 31.0 ] - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 7, - "numoutlets" : 7, - "outlettype" : [ "", "", "", "", "", "", "" ], - "patching_rect" : [ 88.0, 94.0, 1189.0, 22.0 ], - "text" : "route clear reset refer dictionary setpoint highlight" - } - - } -, { - "box" : { - "comment" : "refer , highlight ", - "id" : "obj-1", - "index" : 0, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 8.0, 13.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-599", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 938.0, 311.0, 187.0, 22.0 ], - "text" : "jit.matrix #0_highlighted_points" - } - - } -, { - "box" : { - "id" : "obj-585", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "jit_matrix" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 621.0, 472.0 ], - "gridsize" : [ 15.0, 15.0 ], - "boxes" : [ { - "box" : { - "id" : "obj-25", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 244.5, 418.0, 139.0, 20.0 ], - "text" : "scaled 2-plane ds matrix" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 199.0, 69.0, 29.5, 22.0 ], - "text" : "b 2" - } - - } -, { - "box" : { - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 199.0, 41.0, 130.0, 22.0 ], - "text" : "r #0_update_scaling" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 390.500012129270544, 117.0, 61.0, 22.0 ], - "text" : "pv yrange" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 116.0, 61.0, 22.0 ], - "text" : "pv xrange" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 390.500012129270544, 201.0, 89.0, 22.0 ], - "text" : "map $1 $2 -1 1" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 209.5, 201.0, 89.0, 22.0 ], - "text" : "map $1 $2 -1 1" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 209.5, 376.0, 56.0, 22.0 ], - "text" : "jit.pack 2" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 390.500012129270544, 324.0, 170.0, 22.0 ], - "text" : "jit.map @map 0 1 -1 1 @clip 0" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 45.000012129270544, 201.0, 53.0, 22.0 ], - "text" : "jit.matrix" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "jit_matrix", "jit_matrix", "" ], - "patching_rect" : [ 45.000012129270544, 257.0, 69.0, 22.0 ], - "text" : "jit.unpack 2" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 453.500012129270544, 117.0, 45.0, 20.0 ], - "text" : "yrange" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 272.5, 117.0, 45.0, 20.0 ], - "text" : "xrange" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 77.0, 41.0, 101.0, 20.0 ], - "text" : "2-plane ds matrix" - } - - } -, { - "box" : { - "id" : "obj-566", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 209.5, 324.0, 170.0, 22.0 ], - "text" : "jit.map @map 0 1 -1 1 @clip 0" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "jit_matrix" ], - "patching_rect" : [ 45.000012129270544, 36.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 209.500012129270544, 413.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 1, - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 0, - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-566", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-566", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 938.0, 379.0, 56.0, 22.0 ], - "text" : "p scaling" - } - - } -, { - "box" : { - "id" : "obj-586", - "linecount" : 5, - "maxclass" : "newobj", - "numinlets" : 9, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 938.0, 459.0, 294.0, 76.0 ], - "text" : "jit.gl.mesh @draw_mode points @antialias 1 @gl_color 0 0 0 1 @enable 0 @drawto #0_fluid.jit.plotter.node @point_mode user_shader @shader #0_highlighted_points_render @blend_enable 0 @depth_enable 1 @layer 1" - } - - } -, { - "box" : { - "id" : "obj-568", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 1345.0, 656.0, 75.0, 22.0 ], - "text" : "route mouse" - } - - } -, { - "box" : { - "id" : "obj-554", - "linecount" : 4, - "maxclass" : "newobj", - "numinlets" : 9, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 938.0, 722.0, 298.0, 62.0 ], - "text" : "jit.gl.mesh @draw_mode points @antialias 1 @gl_color 0 0 0 1 @drawto #0_fluid.jit.plotter.node @point_mode user_shader @shader #0_points_render @depth_enable 0 @blend_enable 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-66", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "midpoints" : [ 680.5, 713.0, 699.5, 713.0 ], - "order" : 0, - "source" : [ "obj-100", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "midpoints" : [ 680.5, 448.5, 699.5, 448.5 ], - "order" : 1, - "source" : [ "obj-100", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-554", 0 ], - "source" : [ "obj-101", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 0 ], - "source" : [ "obj-121", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "source" : [ "obj-125", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-211", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 0 ], - "source" : [ "obj-133", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 0 ], - "source" : [ "obj-136", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 3 ], - "source" : [ "obj-142", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-146", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-142", 0 ], - "source" : [ "obj-146", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-599", 0 ], - "source" : [ "obj-146", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-146", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-133", 0 ], - "midpoints" : [ 1588.5, 164.75, 1651.5, 164.75 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-297", 0 ], - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "midpoints" : [ 1713.5, 122.5, 1488.388049935364734, 122.5, 1488.388049935364734, 86.0, 97.5, 86.0 ], - "source" : [ "obj-16", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-163", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-166", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-74", 0 ], - "source" : [ "obj-166", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-166", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-74", 0 ], - "source" : [ "obj-168", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-211", 0 ], - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "order" : 1, - "source" : [ "obj-17", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 1 ], - "source" : [ "obj-17", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "order" : 0, - "source" : [ "obj-17", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-142", 0 ], - "source" : [ "obj-171", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-554", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-211", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-93", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-242", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-244", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-133", 0 ], - "source" : [ "obj-297", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "midpoints" : [ 682.5, 255.25, 214.5, 255.25 ], - "source" : [ "obj-3", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 292.5, 129.5, 97.5, 129.5 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-211", 0 ], - "midpoints" : [ 487.5, 233.75, 187.45398337642348, 233.75 ], - "source" : [ "obj-3", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-242", 0 ], - "source" : [ "obj-3", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-302", 0 ], - "midpoints" : [ 1072.5, 185.0, 878.5, 185.0 ], - "source" : [ "obj-3", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "midpoints" : [ 877.5, 156.0, 696.0, 156.0, 696.0, 317.0, 232.5, 317.0 ], - "source" : [ "obj-3", 4 ] - } - - } -, { - "patchline" : { - "color" : [ 0.986251711845398, 0.00723597407341, 0.02742300927639, 1.0 ], - "destination" : [ "obj-146", 0 ], - "source" : [ "obj-302", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-302", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-307", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-68", 0 ], - "source" : [ "obj-307", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-307", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-212", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 1 ], - "midpoints" : [ 1267.5, 449.5, 1721.5, 449.5 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-38", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-568", 0 ], - "source" : [ "obj-39", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-41", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-41", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-211", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-49", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-77", 0 ], - "source" : [ "obj-51", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-53", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-77", 1 ], - "source" : [ "obj-568", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 0 ], - "source" : [ "obj-585", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-167", 0 ], - "source" : [ "obj-59", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-59", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "source" : [ "obj-59", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-585", 0 ], - "source" : [ "obj-599", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-66", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-64", 0 ], - "source" : [ "obj-66", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-70", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-69", 0 ], - "source" : [ "obj-70", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-148", 0 ], - "source" : [ "obj-72", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-72", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-554", 3 ], - "source" : [ "obj-74", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-554", 0 ], - "source" : [ "obj-75", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 0 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-307", 0 ], - "source" : [ "obj-77", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-8", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-88", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "order" : 1, - "source" : [ "obj-83", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-89", 0 ], - "order" : 0, - "source" : [ "obj-83", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-84", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-84", 0 ], - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-88", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-166", 0 ], - "source" : [ "obj-9", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-90", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-244", 0 ], - "source" : [ "obj-93", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-98", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-98", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 0 ], - "source" : [ "obj-98", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-99", 0 ] - } - - } - ], - "dependency_cache" : [ { - "name" : "fluid.buf2list.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.bufcompose~.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.dataset~.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.jit.plotter.labels2colors.js", - "bootpath" : "~/Documents/Max 9/Packages/FluidCorpusManipulation/javascript", - "patcherrelativepath" : "../javascript", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.jit.plotter.resize.pwindow.js", - "bootpath" : "~/Documents/Max 9/Packages/FluidCorpusManipulation/javascript", - "patcherrelativepath" : "../javascript", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.labelset~.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.list2buf.mxo", - "type" : "iLaX" - } - ], - "autosave" : 0 - } - -} + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "openrect": [ 34.0, 100.0, 363.0, 361.0 ], + "openrectmode": 0, + "openinpresentation": 1, + "devicewidth": 363.0, + "boxes": [ + { + "box": { + "id": "obj-78", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1168.0, 223.5, 81.0, 33.0 ], + "text": "disable upon \"highlight -1\"" + } + }, + { + "box": { + "id": "obj-63", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1158.0, 279.0, 55.0, 22.0 ], + "text": "enable 0" + } + }, + { + "box": { + "id": "obj-90", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 453.9539833764235, 776.0, 93.0, 22.0 ], + "text": "r #0_to_node" + } + }, + { + "box": { + "id": "obj-88", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1427.0, 565.0, 61.0, 22.0 ], + "text": "list.slice 2" + } + }, + { + "box": { + "id": "obj-87", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1469.0, 602.0, 93.0, 22.0 ], + "text": "pv bpatcher_wh" + } + }, + { + "box": { + "id": "obj-89", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 394.0, 612.0, 93.0, 22.0 ], + "text": "pv bpatcher_wh" + } + }, + { + "box": { + "id": "obj-84", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 381.9539833764235, 776.0, 61.0, 22.0 ], + "text": "dim $1 $1" + } + }, + { + "box": { + "id": "obj-85", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 381.9539833764235, 749.0, 29.5, 22.0 ], + "text": "* 2" + } + }, + { + "box": { + "id": "obj-86", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 381.9539833764235, 722.0, 57.0, 22.0 ], + "text": "minimum" + } + }, + { + "box": { + "id": "obj-83", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 339.9539833764235, 578.0, 61.0, 22.0 ], + "text": "list.slice 2" + } + }, + { + "box": { + "id": "obj-82", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_gl_texture", "" ], + "patching_rect": [ 470.9539833764235, 860.0, 263.0, 22.0 ], + "text": "jit.gl.camera #0_fluid.jit.plotter.node @ortho 2" + } + }, + { + "box": { + "id": "obj-62", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 381.9539833764235, 892.0, 422.0, 22.0 ], + "text": "jit.gl.videoplane #0_fluid.jit.plotter @transform_reset 1 @preserve_aspect 1" + } + }, + { + "box": { + "id": "obj-58", + "linecount": 2, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "jit_gl_texture", "", "" ], + "patching_rect": [ 381.9539833764235, 814.0, 342.0, 35.0 ], + "text": "jit.gl.node #0_fluid.jit.plotter @erase_color 1 1 1 1 @adapt 0 @dim 300 300 @capture 1 @name #0_fluid.jit.plotter.node" + } + }, + { + "box": { + "id": "obj-54", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 505.0, 124.0, 22.0 ], + "text": "pv highlight_scale 2.4" + } + }, + { + "box": { + "id": "obj-53", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 521.0, 262.0, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 521.0, 290.0, 107.0, 22.0 ], + "text": "pv pointsize_scale" + } + }, + { + "box": { + "id": "obj-100", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 671.0, 417.0, 109.0, 22.0 ], + "text": "r #0_to_shaders" + } + }, + { + "box": { + "id": "obj-99", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 772.0, 619.0, 146.0, 22.0 ], + "text": "r #0_update_pointsizes" + } + }, + { + "box": { + "id": "obj-97", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1267.0, 240.0, 222.0, 20.0 ], + "text": "pointsize to control individual point sizes" + } + }, + { + "box": { + "id": "obj-93", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 1343.0, -1083.0, 453.0, 648.0 ], + "boxes": [ + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 132.0, 411.0, 57.0, 22.0 ], + "text": "tosymbol" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 132.0, 504.0, 95.0, 22.0 ], + "text": "setcell $1 val $2" + } + }, + { + "box": { + "id": "obj-65", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 195.0, 342.0, 150.0, 22.0 ], + "text": "s #0_request_ids_dump" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 155.0, 313.0, 59.0, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-40", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 574.0, 225.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 137.0, 54.0, 22.0 ], + "text": "deferlow" + } + }, + { + "box": { + "id": "obj-2", + "linecount": 8, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 131.0, 78.0, 418.0, 114.0 ], + "text": "This will make sure that we only trigger redraw after the last \"pointcolor\".\n\nWe expect that users might use \"pointcolor\" to set individual colors for every sample in the dataset, possibly in a loop (driven by an uzi). This way we only trigger an update after the loop is done.\n\n(The assumption is that there cannot be 20ms pauses between consequtive steps in the loop.)" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 78.0, 65.0, 22.0 ], + "text": "stop, bang" + } + }, + { + "box": { + "id": "obj-34", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 108.0, 54.0, 22.0 ], + "text": "delay 20" + } + }, + { + "box": { + "comment": "", + "id": "obj-37", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-39", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 50.0, 167.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-34", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-36", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "source": [ "obj-37", 0 ] + } + } + ] + }, + "patching_rect": [ 12.0, 536.0, 79.0, 22.0 ], + "text": "p bangthresh" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 12.0, 603.0, 148.0, 22.0 ], + "text": "s #0_update_pointsizes" + } + }, + { + "box": { + "id": "obj-167", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 32.0, 573.0, 153.0, 22.0 ], + "text": "s #0_redraw_highlighted" + } + }, + { + "box": { + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 12.0, 113.0, 162.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 132.0, 535.0, 143.0, 22.0 ], + "text": "jit.matrix #0_pointsizes" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 132.0, 474.0, 161.0, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 132.0, 381.0, 161.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 132.0, 441.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-58", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 132.0, 249.0, 29.5, 22.0 ], + "text": "+ 1" + } + }, + { + "box": { + "id": "obj-57", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 132.0, 279.0, 42.0, 22.0 ], + "text": "gate 2" + } + }, + { + "box": { + "id": "obj-56", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 190.0, 206.0, 33.0, 22.0 ], + "text": "== 0" + } + }, + { + "box": { + "id": "obj-55", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 190.0, 174.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-48", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "length" ], + "patching_rect": [ 155.0, 145.0, 54.0, 22.0 ], + "text": "t l length" + } + }, + { + "box": { + "id": "obj-3", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 355.0, 117.0, 77.0, 33.0 ], + "text": "other messages" + } + }, + { + "box": { + "comment": "colorscheme", + "id": "obj-241", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 323.0, 117.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 25.0, 40.0, 56.0, 20.0 ], + "text": "pointsize" + } + }, + { + "box": { + "id": "obj-154", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 12.0, 83.0, 330.0, 22.0 ], + "text": "route pointsize" + } + }, + { + "box": { + "comment": "shape, pointsize, highlightedpointsize, bgcolor", + "id": "obj-243", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 12.0, 8.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 1 ], + "source": [ "obj-12", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-154", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-241", 0 ], + "source": [ "obj-154", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-65", 0 ], + "source": [ "obj-2", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-40", 0 ], + "source": [ "obj-21", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-48", 0 ], + "source": [ "obj-21", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-154", 0 ], + "source": [ "obj-243", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-167", 0 ], + "order": 0, + "source": [ "obj-40", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "order": 1, + "source": [ "obj-40", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-55", 0 ], + "source": [ "obj-48", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-57", 1 ], + "source": [ "obj-48", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-56", 0 ], + "source": [ "obj-55", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-56", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-57", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-57", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-57", 0 ], + "source": [ "obj-58", 0 ] + } + } + ] + }, + "patching_rect": [ 1258.0, 262.0, 109.0, 22.0 ], + "text": "p handle_pointsize" + } + }, + { + "box": { + "id": "obj-76", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ -258.0, -859.0, 459.0, 366.0 ], + "boxes": [ + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 320.6666666666667, 148.0, 107.0, 22.0 ], + "text": "pv highlight_scale" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 320.6666666666667, 178.0, 107.0, 22.0 ], + "text": "highlight_scale $1" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 269.0, 121.0, 22.0 ], + "text": "vertex_attr_matrix $2" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 185.33333333333334, 148.0, 107.0, 22.0 ], + "text": "pv pointsize_scale" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 185.33333333333334, 178.0, 107.0, 22.0 ], + "text": "pointsize_scale $1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "bang" ], + "patching_rect": [ 50.0, 81.0, 289.6666666666667, 22.0 ], + "text": "b 3" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "jit.gen", + "rect": [ 1223.0, -1207.0, 297.0, 210.0 ], + "boxes": [ + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 47.0, 103.0, 22.0 ], + "text": "* pointsize_scaler" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 137.0, 47.0, 149.0, 22.0 ], + "text": "param pointsize_scaler 20" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 105.0, 96.0, 22.0 ], + "text": "* highlight_scale" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 139.0, 105.0, 145.0, 22.0 ], + "text": "param highlight_scale 2.4" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 137.0, 77.0, 138.0, 22.0 ], + "text": "param pointsize_scale 1" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 16.0, 28.0, 22.0 ], + "text": "in 1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 77.0, 99.0, 22.0 ], + "text": "* pointsize_scale" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 16.0, 166.0, 35.0, 22.0 ], + "text": "out 1" + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-8", 0 ] + } + } + ] + }, + "patching_rect": [ 50.0, 236.0, 41.0, 22.0 ], + "text": "jit.gen" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 113.0, 227.0, 22.0 ], + "text": "jit.matrix #0_highlighted_pointsizes" + } + }, + { + "box": { + "comment": "", + "id": "obj-63", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-73", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 50.0, 306.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-73", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-3", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-63", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-8", 0 ] + } + } + ] + }, + "patching_rect": [ 869.0, 417.0, 136.0, 22.0 ], + "text": "p apply_pointsize_scale" + } + }, + { + "box": { + "id": "obj-75", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 371.0, -830.0, 346.0, 355.0 ], + "boxes": [ + { + "box": { + "id": "obj-11", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 265.0, 121.0, 22.0 ], + "text": "vertex_attr_matrix $2" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 141.0, 107.0, 22.0 ], + "text": "pv pointsize_scale" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 171.0, 107.0, 22.0 ], + "text": "pointsize_scale $1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 50.0, 80.0, 179.0, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "jit.gen", + "rect": [ 1107.0, -831.0, 310.0, 178.0 ], + "boxes": [ + { + "box": { + "id": "obj-9", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 75.0, 109.0, 142.0, 20.0 ], + "text": "for parity with fluid.plotter" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 38.0, 108.0, 23.0, 22.0 ], + "text": "* 2" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 48.0, 103.0, 22.0 ], + "text": "* pointsize_scaler" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 136.0, 48.0, 149.0, 22.0 ], + "text": "param pointsize_scaler 20" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 136.0, 80.0, 138.0, 22.0 ], + "text": "param pointsize_scale 1" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 16.0, 28.0, 22.0 ], + "text": "in 1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 16.0, 79.0, 99.0, 22.0 ], + "text": "* pointsize_scale" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 16.0, 135.0, 35.0, 22.0 ], + "text": "out 1" + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-7", 0 ] + } + } + ] + }, + "patching_rect": [ 50.0, 232.0, 41.0, 22.0 ], + "text": "jit.gen" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 112.0, 164.0, 22.0 ], + "text": "jit.matrix #0_pointsizes" + } + }, + { + "box": { + "comment": "", + "id": "obj-63", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-73", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 50.0, 302.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-73", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-63", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-8", 0 ] + } + } + ] + }, + "patching_rect": [ 772.0, 685.5, 136.0, 22.0 ], + "text": "p apply_pointsize_scale" + } + }, + { + "box": { + "id": "obj-60", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 479.5, 117.0, 22.0 ], + "text": "pv pointsize_scale 1" + } + }, + { + "box": { + "id": "obj-57", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1944.0, 134.0, 267.0, 22.0 ], + "text": "jit.matrix #0_highlighted_pointsizes 1 float32 1" + } + }, + { + "box": { + "filename": "fluid.jit.plotter.mesh.render.jxs", + "id": "obj-52", + "linecount": 3, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 690.0, 459.0, 234.0, 49.0 ], + "text": "jit.gl.shader @file fluid.jit.plotter.mesh.render.jxs @name #0_highlighted_points_render", + "textfile": { + "filename": "fluid.jit.plotter.mesh.render.jxs", + "flags": 0, + "embed": 0, + "autowatch": 1 + } + } + }, + { + "box": { + "filename": "fluid.jit.plotter.mesh.render.jxs", + "id": "obj-50", + "linecount": 3, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 690.0, 722.0, 240.0, 49.0 ], + "text": "jit.gl.shader @file fluid.jit.plotter.mesh.render.jxs @name #0_points_render", + "textfile": { + "filename": "fluid.jit.plotter.mesh.render.jxs", + "flags": 0, + "embed": 0, + "autowatch": 1 + } + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1944.0, 49.0, 203.0, 22.0 ], + "text": "jit.matrix #0_pointsizes 1 float32 1" + } + }, + { + "box": { + "id": "obj-71", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1489.0, 865.0, 77.0, 22.0 ], + "text": "s #0_draw" + } + }, + { + "box": { + "id": "obj-72", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 1489.0, 832.0, 103.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-69", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1495.0, 94.0, 77.0, 22.0 ], + "text": "s #0_draw" + } + }, + { + "box": { + "id": "obj-70", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 1495.0, 58.0, 103.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-64", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 8.0, 94.0, 77.0, 22.0 ], + "text": "s #0_draw" + } + }, + { + "box": { + "id": "obj-66", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 8.0, 58.0, 99.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-61", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 88.0, 211.0, 77.0, 22.0 ], + "text": "s #0_draw" + } + }, + { + "box": { + "id": "obj-59", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "bang" ], + "patching_rect": [ 1642.0, 548.5, 108.0, 22.0 ], + "text": "b 3" + } + }, + { + "box": { + "id": "obj-56", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 177.95398337642348, 578.0, 77.0, 22.0 ], + "text": "s #0_draw" + } + }, + { + "box": { + "id": "obj-55", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 938.0, 807.0, 75.0, 22.0 ], + "text": "r #0_draw" + } + }, + { + "box": { + "id": "obj-49", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 938.0, 837.0, 46.0, 22.0 ], + "text": "qlim 11" + } + }, + { + "box": { + "id": "obj-48", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 935.5, 959.0, 43.0, 20.0 ], + "text": "render" + } + }, + { + "box": { + "id": "obj-45", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1006.0, 865.0, 101.0, 22.0 ], + "text": "r #0_to_render" + } + }, + { + "box": { + "fontname": "Arial", + "fontsize": 13.0, + "id": "obj-41", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "erase" ], + "patching_rect": [ 938.0, 864.0, 63.0, 23.0 ], + "text": "t b erase" + } + }, + { + "box": { + "id": "obj-42", + "linecount": 3, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 938.0, 908.0, 165.0, 49.0 ], + "text": "jit.gl.render #0_fluid.jit.plotter @erase_color 1 1 1 1 @blend_enable 1" + } + }, + { + "box": { + "id": "obj-38", + "linecount": 2, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1284.0, 459.0, 130.0, 35.0 ], + "text": "loadmess name #0_fluid.jit.plotter" + } + }, + { + "box": { + "id": "obj-39", + "maxclass": "jit.pwindow", + "name": "#0_fluid.jit.plotter", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1284.0, 565.0, 80.0, 80.0 ], + "presentation": 1, + "presentation_rect": [ 0.0, 0.0, 363.0, 361.0 ], + "sync": 1 + } + }, + { + "box": { + "id": "obj-32", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1299.0, 512.0, 113.0, 22.0 ], + "text": "r #0_to_pwindow" + } + }, + { + "box": { + "id": "obj-34", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 357.86195012927044, 290.0, 153.0, 22.0 ], + "text": "s #0_redraw_highlighted" + } + }, + { + "box": { + "id": "obj-33", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 357.86195012927044, 262.0, 43.0, 22.0 ], + "text": "zlclear" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 827.0, 118.0, 51.0, 20.0 ], + "text": "setpoint" + } + }, + { + "box": { + "id": "obj-43", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 87.0, 128.0, 1539.0, 861.0 ], + "boxes": [ + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 353.0, 277.0 ], + "boxes": [ + { + "box": { + "id": "obj-2", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 87.0, 138.0, 80.0, 22.0 ], + "text": "setall 1, bang" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 82.0, 45.0, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-22", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 207.0, 166.0, 140.0, 33.0 ], + "text": "add a new 1D point with default point size" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 50.0, 79.0, 56.0, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 227.0, 143.0, 22.0 ], + "text": "jit.matrix #0_pointsizes" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 87.0, 165.0, 113.0, 22.0 ], + "text": "jit.matrix 1 float32 1" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 191.0, 56.0, 22.0 ], + "text": "jit.concat" + } + }, + { + "box": { + "id": "obj-137", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 109.0, 143.0, 22.0 ], + "text": "jit.matrix #0_pointsizes" + } + }, + { + "box": { + "comment": "", + "id": "obj-56", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 1 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-137", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-137", 0 ], + "source": [ "obj-20", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-20", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-56", 0 ] + } + } + ] + }, + "patching_rect": [ 143.0, 391.0, 141.0, 22.0 ], + "text": "p extend_pointsizes_mat" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 143.0, 343.0, 81.0, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-46", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 273.0, 369.0 ], + "boxes": [ + { + "box": { + "id": "obj-28", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 94.0, 191.0, 29.5, 22.0 ], + "text": "!- 1" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 73.0, 100.0, 39.5, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 94.0, 216.0, 29.5, 22.0 ], + "text": "+ 1" + } + }, + { + "box": { + "id": "obj-15", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 38.0, 259.0, 54.0, 22.0 ], + "text": "gate 2" + } + }, + { + "box": { + "id": "obj-79", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 94.0, 159.0, 149.0, 22.0 ], + "text": "list.compare #0_internal" + } + }, + { + "box": { + "id": "obj-78", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 93.5, 130.0, 101.0, 22.0 ], + "text": "pv dataset_name" + } + }, + { + "box": { + "comment": "", + "id": "obj-30", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 73.0, 40.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-37", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 38.0, 299.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-45", + "index": 2, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 73.0, 299.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-37", 0 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "source": [ "obj-15", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "source": [ "obj-16", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 1 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-78", 0 ], + "source": [ "obj-17", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-28", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-30", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-79", 0 ], + "source": [ "obj-78", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-79", 0 ] + } + } + ] + }, + "patching_rect": [ 341.0, 54.0, 118.0, 22.0 ], + "text": "p check_if_first_time" + } + }, + { + "box": { + "id": "obj-123", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 450.0, 289.0, 101.0, 33.0 ], + "text": "set existing point with new data" + } + }, + { + "box": { + "id": "obj-97", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 454.0, 414.0, 126.0, 20.0 ], + "text": "trigger buffer to matrix" + } + }, + { + "box": { + "id": "obj-98", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 438.0, 469.0, 114.0, 22.0 ], + "text": "s #0_to_jit_buffer" + } + }, + { + "box": { + "id": "obj-99", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 438.0, 441.0, 229.0, 22.0 ], + "text": "set #0_points_2d, outputlast $1, output" + } + }, + { + "box": { + "id": "obj-100", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 438.0, 383.0, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "id": "obj-115", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 450.0, 355.0, 54.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-119", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 134.0, 172.0, 418.0, 363.0 ], + "boxes": [ + { + "box": { + "id": "obj-33", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 189.0, 326.0, 169.0, 20.0 ], + "text": "store point xy at existing index" + } + }, + { + "box": { + "id": "obj-31", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 189.0, 257.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-30", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 189.0, 225.0, 43.0, 22.0 ], + "text": "list.rev" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "list" ], + "patching_rect": [ 189.0, 191.0, 66.0, 22.0 ], + "text": "listfunnel 1" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 147.0, 132.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 147.0, 97.0, 141.0, 22.0 ], + "text": "t l l" + } + }, + { + "box": { + "id": "obj-533", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 1, + "outlettype": [ "signal" ], + "patching_rect": [ 189.0, 300.0, 179.0, 22.0 ], + "text": "poke~ #0_points_2d" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 269.0, 160.0, 57.0, 22.0 ], + "text": "tosymbol" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 269.0, 132.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 19.0, 60.0, 147.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 269.0, 191.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 51.0, 137.0, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "comment": "", + "id": "obj-15", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 19.0, 132.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 51.0, 23.0, 115.0, 20.0 ], + "text": " " + } + }, + { + "box": { + "comment": "", + "id": "obj-48", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.0, 18.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-14", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-14", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 0 ], + "source": [ "obj-25", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-31", 0 ], + "source": [ "obj-30", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-533", 2 ], + "source": [ "obj-31", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-533", 0 ], + "source": [ "obj-31", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-48", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-533", 1 ], + "source": [ "obj-8", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-9", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 438.0, 331.0, 116.0, 22.0 ], + "text": "p modify_points_buf" + } + }, + { + "box": { + "id": "obj-81", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 341.0, 217.0, 44.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-80", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 341.0, 147.0, 141.0, 22.0 ], + "text": "t l l" + } + }, + { + "box": { + "id": "obj-74", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 438.0, 217.0, 44.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-66", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 873.0, 282.0, 193.0, 380.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 72.0, 281.0, 25.0, 22.0 ], + "text": "b 1" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 50.0, 21.0, 115.0, 20.0 ], + "text": " " + } + }, + { + "box": { + "comment": "", + "id": "obj-1", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 17.0, 16.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-52", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 17.0, 252.0, 74.0, 22.0 ], + "text": "sel notfound" + } + }, + { + "box": { + "id": "obj-45", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 47.0, 111.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-37", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "notfound" ], + "patching_rect": [ 17.0, 73.0, 78.0, 22.0 ], + "text": "t b l notfound" + } + }, + { + "box": { + "id": "obj-30", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 17.0, 221.0, 78.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 47.0, 150.0, 57.0, 22.0 ], + "text": "tosymbol" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 47.0, 183.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "comment": "", + "id": "obj-62", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 17.0, 314.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-63", + "index": 2, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 72.0, 314.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-37", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-63", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-52", 0 ], + "source": [ "obj-30", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 1 ], + "source": [ "obj-37", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 0 ], + "source": [ "obj-37", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "source": [ "obj-37", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-45", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 1 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-52", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-62", 0 ], + "source": [ "obj-52", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 341.0, 183.0, 116.0, 22.0 ], + "text": "p check_if_id_exists" + } + }, + { + "box": { + "id": "obj-61", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 279.0, 184.0, 58.0, 20.0 ], + "text": "ID is new" + } + }, + { + "box": { + "id": "obj-60", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 478.0, 184.0, 97.0, 20.0 ], + "text": "ID already exists" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 25.0, 452.0, 57.0, 22.0 ], + "text": "tosymbol" + } + }, + { + "box": { + "id": "obj-96", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 41.0, 775.0, 126.0, 20.0 ], + "text": "trigger buffer to matrix" + } + }, + { + "box": { + "id": "obj-164", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 25.0, 830.0, 114.0, 22.0 ], + "text": "s #0_to_jit_buffer" + } + }, + { + "box": { + "id": "obj-553", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 25.0, 802.0, 229.0, 22.0 ], + "text": "set #0_points_2d, outputlast $1, output" + } + }, + { + "box": { + "id": "obj-94", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 25.0, 747.0, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "id": "obj-93", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 209.0, 720.0, 113.0, 20.0 ], + "text": "map label to buf idx" + } + }, + { + "box": { + "id": "obj-92", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 84.0, 693.0, 69.0, 22.0 ], + "text": "store $1 $2" + } + }, + { + "box": { + "id": "obj-90", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 84.0, 718.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-89", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "" ], + "patching_rect": [ 25.0, 604.0, 137.0, 22.0 ], + "text": "t b l l" + } + }, + { + "box": { + "id": "obj-87", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 284.0, 666.0, 113.0, 20.0 ], + "text": "map buf idx to label" + } + }, + { + "box": { + "id": "obj-82", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 143.0, 634.0, 83.0, 22.0 ], + "text": "setlabel $2 $1" + } + }, + { + "box": { + "id": "obj-77", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 35.0, 573.0, 125.0, 20.0 ], + "text": "(identifier, last buf idx)" + } + }, + { + "box": { + "id": "obj-76", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 25.0, 539.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-75", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 209.0, 509.0, 127.0, 20.0 ], + "text": "increment num_points" + } + }, + { + "box": { + "id": "obj-73", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 143.0, 479.0, 47.0, 22.0 ], + "text": "t i i" + } + }, + { + "box": { + "id": "obj-71", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 171.0, 539.0, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "id": "obj-70", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 171.0, 508.0, 29.5, 22.0 ], + "text": "+ 1" + } + }, + { + "box": { + "id": "obj-72", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 143.0, 452.0, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "id": "obj-69", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 25.0, 421.0, 137.0, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-68", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 37.0, 332.0, 54.0, 20.0 ], + "text": "identifier" + } + }, + { + "box": { + "id": "obj-67", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 143.0, 665.0, 134.0, 22.0 ], + "text": "fluid.labelset~ #0_ids" + } + }, + { + "box": { + "id": "obj-59", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 164.0, 295.5, 155.0, 47.0 ], + "text": "extend point_colors and pointsizes matrices without losing their content" + } + }, + { + "box": { + "id": "obj-58", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 346.0, 277.0 ], + "boxes": [ + { + "box": { + "id": "obj-2", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 87.0, 135.0, 120.0, 22.0 ], + "text": "setall 0 0 0 0.8, bang" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 82.0, 45.0, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 207.0, 164.0, 112.0, 20.0 ], + "text": "add a new 4D point" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 50.0, 79.0, 56.0, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 227.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 87.0, 163.0, 113.0, 22.0 ], + "text": "jit.matrix 4 float32 1" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 191.0, 56.0, 22.0 ], + "text": "jit.concat" + } + }, + { + "box": { + "id": "obj-137", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.0, 107.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "comment": "", + "id": "obj-56", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 1 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-137", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-137", 0 ], + "source": [ "obj-20", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-20", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-56", 0 ] + } + } + ] + }, + "patching_rect": [ 205.0, 367.0, 153.0, 22.0 ], + "text": "p extend_point_colors_mat" + } + }, + { + "box": { + "id": "obj-51", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 37.0, 265.0, 95.0, 33.0 ], + "text": "append point to points buffer" + } + }, + { + "box": { + "id": "obj-50", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 787.0, 387.0, 640.0, 480.0 ], + "boxes": [ + { + "box": { + "id": "obj-16", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 82.0, 389.0, 54.0, 20.0 ], + "text": "identifier" + } + }, + { + "box": { + "comment": "", + "id": "obj-15", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 50.0, 384.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 124.0, 345.0, 97.0, 20.0 ], + "text": "bang when done" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 92.0, 304.0, 25.0, 22.0 ], + "text": "b 1" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 232.0, 243.0, 117.0, 20.0 ], + "text": "append to points_2d" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 112.0, 82.0, 192.0, 20.0 ], + "text": "write into buffer as 2-channel point" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 92.0, 242.0, 135.0, 22.0 ], + "text": "deststartframe $1, bang" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 92.0, 140.0, 25.0, 22.0 ], + "text": "b 1" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 92.0, 173.0, 135.0, 22.0 ], + "text": "getattr samps @listen 0" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 50.0, 81.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "buffer" ], + "patching_rect": [ 92.0, 111.0, 275.0, 22.0 ], + "text": "fluid.list2buf @destination #0_point_2d @axis 1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "bang" ], + "patching_rect": [ 365.0, 86.0, 129.0, 22.0 ], + "text": "buffer~ #0_point_2d" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 92.0, 274.0, 488.0, 22.0 ], + "text": "fluid.bufcompose~ @source #0_point_2d @destination #0_points_2d @numframes 1" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 82.0, 45.0, 115.0, 20.0 ], + "text": " " + } + }, + { + "box": { + "id": "obj-45", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "bang" ], + "patching_rect": [ 150.0, 208.0, 135.0, 22.0 ], + "text": "buffer~ #0_points_2d" + } + }, + { + "box": { + "comment": "", + "id": "obj-48", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-49", + "index": 2, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 92.0, 340.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-49", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-48", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-5", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "source": [ "obj-6", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-7", 0 ] + } + } + ] + }, + "patching_rect": [ 25.0, 308.0, 137.0, 22.0 ], + "text": "p append_to_points_buf" + } + }, + { + "box": { + "id": "obj-44", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 628.0, 136.0, 93.0, 33.0 ], + "text": "set point in internal dataset" + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 616.0, 332.0, 202.0, 20.0 ], + "text": "set buffer as entry in internal dataset" + } + }, + { + "box": { + "id": "obj-38", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 616.0, 279.0, 153.0, 22.0 ], + "text": "setpoint $1 #0_set_point" + } + }, + { + "box": { + "id": "obj-39", + "linecount": 4, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "buffer" ], + "patching_rect": [ 658.0, 206.0, 91.0, 62.0 ], + "text": "fluid.list2buf @autosize 0 @destination #0_set_point" + } + }, + { + "box": { + "id": "obj-40", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 616.0, 176.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-43", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 616.0, 308.0, 156.0, 22.0 ], + "text": "fluid.dataset~ #0_internal" + } + }, + { + "box": { + "id": "obj-186", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 903.0, 158.0, 169.0, 47.0 ], + "text": "it is necessary to dereference the buffer in jit.buffer first, so the dataset can resize it" + } + }, + { + "box": { + "id": "obj-162", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 890.0, 239.0, 114.0, 22.0 ], + "text": "s #0_to_jit_buffer" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 891.0, 212.0, 55.0, 22.0 ], + "text": "set none" + } + }, + { + "box": { + "id": "obj-34", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 341.0, 112.0, 569.0, 22.0 ], + "text": "t l l l" + } + }, + { + "box": { + "id": "obj-33", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1267.0, 502.0, 202.0, 47.0 ], + "text": "this will populate the coll ids2samps with the first sample (loaded from the ids labelset)" + } + }, + { + "box": { + "id": "obj-65", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1114.0, 502.0, 150.0, 22.0 ], + "text": "s #0_request_ids_dump" + } + }, + { + "box": { + "id": "obj-32", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1273.0, 367.0, 202.0, 60.0 ], + "text": "set reference to this internal dataset; this will:\n- reset everything\n- trigger jit.buffer to mesh" + } + }, + { + "box": { + "id": "obj-31", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1189.0, 367.0, 81.0, 22.0 ], + "text": "#0_internal" + } + }, + { + "box": { + "id": "obj-29", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 1114.0, 333.0, 94.0, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1319.0, 274.0, 202.0, 20.0 ], + "text": "set buffer as entry in internal dataset" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1175.0, 113.0, 152.0, 20.0 ], + "text": "set point in internal dataset" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 1114.0, 112.0, 59.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1154.0, 244.0, 185.0, 22.0 ], + "text": "clear, setpoint $1 #0_set_point" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "bang" ], + "patching_rect": [ 1305.0, 206.0, 192.0, 22.0 ], + "text": "buffer~ #0_set_point @samps 2" + } + }, + { + "box": { + "id": "obj-19", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "buffer" ], + "patching_rect": [ 1196.0, 177.0, 301.0, 22.0 ], + "text": "fluid.list2buf @autosize 0 @destination #0_set_point" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1154.0, 144.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 265.0, 55.0, 74.0, 20.0 ], + "text": "not first time" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 461.0, 55.0, 54.0, 20.0 ], + "text": "first time" + } + }, + { + "box": { + "id": "obj-64", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1376.0, 798.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1232.0, 798.0, 134.0, 22.0 ], + "text": "fluid.labelset~ #0_ids" + } + }, + { + "box": { + "id": "obj-533", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "bang" ], + "patching_rect": [ 1087.0, 798.0, 135.0, 22.0 ], + "text": "buffer~ #0_points_2d" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "clear" ], + "patching_rect": [ 926.0, 743.0, 41.0, 22.0 ], + "text": "t clear" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 926.0, 798.0, 156.0, 22.0 ], + "text": "fluid.dataset~ #0_internal" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 958.0, 711.0, 79.0, 20.0 ], + "text": "bang to reset" + } + }, + { + "box": { + "comment": "", + "id": "obj-4", + "index": 2, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 926.0, 706.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1154.0, 273.0, 156.0, 22.0 ], + "text": "fluid.dataset~ #0_internal" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1224.0, 449.0, 106.0, 20.0 ], + "text": "to [p handle_refer]" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 376.0, 15.0, 115.0, 20.0 ], + "text": " " + } + }, + { + "box": { + "comment": "", + "id": "obj-41", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 341.0, 10.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-42", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1189.0, 444.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-76", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-162", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-99", 0 ], + "source": [ "obj-100", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "order": 1, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-533", 0 ], + "order": 2, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-64", 0 ], + "order": 0, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "order": 3, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-100", 0 ], + "source": [ "obj-119", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-19", 0 ], + "source": [ "obj-18", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 0 ], + "source": [ "obj-23", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-31", 0 ], + "source": [ "obj-29", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-65", 0 ], + "source": [ "obj-29", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-31", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-34", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-40", 0 ], + "source": [ "obj-34", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-80", 0 ], + "source": [ "obj-34", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-43", 0 ], + "source": [ "obj-38", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-38", 0 ], + "source": [ "obj-40", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-40", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-46", 0 ], + "source": [ "obj-41", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "midpoints": [ 449.5, 93.5, 1123.5, 93.5 ], + "source": [ "obj-46", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-46", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-5", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-50", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-69", 0 ], + "source": [ "obj-50", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-164", 0 ], + "source": [ "obj-553", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-74", 0 ], + "source": [ "obj-66", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-81", 0 ], + "source": [ "obj-66", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-69", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-72", 0 ], + "source": [ "obj-69", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-71", 0 ], + "source": [ "obj-70", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-73", 0 ], + "source": [ "obj-72", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-70", 0 ], + "source": [ "obj-73", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-76", 1 ], + "source": [ "obj-73", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-119", 0 ], + "source": [ "obj-74", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-89", 0 ], + "source": [ "obj-76", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-66", 0 ], + "source": [ "obj-80", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-74", 1 ], + "order": 0, + "source": [ "obj-80", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-81", 1 ], + "order": 1, + "source": [ "obj-80", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "midpoints": [ 350.5, 252.0, 34.5, 252.0 ], + "source": [ "obj-81", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-67", 0 ], + "source": [ "obj-82", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-89", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-92", 0 ], + "source": [ "obj-89", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-94", 0 ], + "source": [ "obj-89", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-90", 0 ], + "source": [ "obj-92", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-553", 0 ], + "source": [ "obj-94", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-98", 0 ], + "source": [ "obj-99", 0 ] + } + } + ] + }, + "patching_rect": [ 223.0, 330.0, 103.0, 22.0 ], + "text": "p handle_setpoint" + } + }, + { + "box": { + "id": "obj-30", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1943.0, 858.0, 156.0, 22.0 ], + "text": "fluid.dataset~ #0_internal" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1907.0, 834.0, 122.0, 20.0 ], + "text": "internal (for setpoint):" + } + }, + { + "box": { + "id": "obj-37", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1272.0, 345.5, 240.0, 33.0 ], + "text": "pointcolor will set an RGBA color to a point (referenced by dataset ID)" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 534.0, 213.0, 481.0, 711.0 ], + "boxes": [ + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 109.0, 169.0, 288.0, 463.0 ], + "boxes": [ + { + "box": { + "id": "obj-17", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 71.0, 388.0, 77.0, 20.0 ], + "text": "R G B A (list)" + } + }, + { + "box": { + "id": "obj-15", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 44.0, 328.0, 62.0, 22.0 ], + "text": "append 1." + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 110.0, 227.0, 22.0, 22.0 ], + "text": "t 2" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 73.0, 227.0, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 44.0, 121.0, 29.5, 22.0 ], + "text": "t l l" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 11.0, 283.0, 52.0, 22.0 ], + "text": "gate 2 1" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "" ], + "patching_rect": [ 73.0, 197.0, 93.0, 22.0 ], + "text": "sel 4 3" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 73.0, 161.0, 43.0, 22.0 ], + "text": "list.len" + } + }, + { + "box": { + "id": "obj-6", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 92.0, 63.0, 150.0, 47.0 ], + "text": "if the user only specifies RGB then fill 1. for the alpha" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 84.0, 28.0, 150.0, 20.0 ], + "text": "R G B or R G B A (list)" + } + }, + { + "box": { + "comment": "", + "id": "obj-2", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 11.0, 385.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-1", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 44.0, 23.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "source": [ "obj-10", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 1 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-11", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-8", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-14", 0 ], + "source": [ "obj-8", 1 ] + } + } + ] + }, + "patching_rect": [ 301.0, 436.5, 169.0, 22.0 ], + "text": "p fill_alpha_1_if_not_specified" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 159.0, 436.5, 57.0, 22.0 ], + "text": "tosymbol" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 159.0, 532.0, 145.0, 22.0 ], + "text": "setcell $1 val $2 $3 $4 $5" + } + }, + { + "box": { + "id": "obj-65", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 222.0, 346.0, 150.0, 22.0 ], + "text": "s #0_request_ids_dump" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 182.0, 317.0, 59.0, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-40", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 574.0, 225.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 137.0, 54.0, 22.0 ], + "text": "deferlow" + } + }, + { + "box": { + "id": "obj-2", + "linecount": 8, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 131.0, 78.0, 418.0, 114.0 ], + "text": "This will make sure that we only trigger redraw after the last \"pointcolor\".\n\nWe expect that users might use \"pointcolor\" to set individual colors for every sample in the dataset, possibly in a loop (driven by an uzi). This way we only trigger an update after the loop is done.\n\n(The assumption is that there cannot be 20ms pauses between consequtive steps in the loop.)" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 78.0, 65.0, 22.0 ], + "text": "stop, bang" + } + }, + { + "box": { + "id": "obj-34", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 108.0, 54.0, 22.0 ], + "text": "delay 20" + } + }, + { + "box": { + "comment": "", + "id": "obj-37", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 50.0, 40.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-39", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 50.0, 167.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-34", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-36", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "source": [ "obj-37", 0 ] + } + } + ] + }, + "patching_rect": [ 39.0, 580.0, 79.0, 22.0 ], + "text": "p bangthresh" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 39.0, 647.0, 159.0, 22.0 ], + "text": "s #0_update_point_colors" + } + }, + { + "box": { + "id": "obj-167", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 59.0, 617.0, 153.0, 22.0 ], + "text": "s #0_redraw_highlighted" + } + }, + { + "box": { + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 39.0, 117.0, 162.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 159.0, 563.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 159.0, 502.0, 161.0, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 159.0, 404.0, 161.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 159.0, 469.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-58", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 159.0, 253.0, 29.5, 22.0 ], + "text": "+ 1" + } + }, + { + "box": { + "id": "obj-57", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 159.0, 283.0, 42.0, 22.0 ], + "text": "gate 2" + } + }, + { + "box": { + "id": "obj-56", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 217.0, 210.0, 33.0, 22.0 ], + "text": "== 0" + } + }, + { + "box": { + "id": "obj-55", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 217.0, 178.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-48", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "length" ], + "patching_rect": [ 182.0, 149.0, 54.0, 22.0 ], + "text": "t l length" + } + }, + { + "box": { + "id": "obj-3", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 382.0, 121.0, 77.0, 33.0 ], + "text": "other messages" + } + }, + { + "box": { + "comment": "colorscheme", + "id": "obj-241", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 350.0, 121.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 52.0, 44.0, 61.0, 20.0 ], + "text": "pointcolor" + } + }, + { + "box": { + "id": "obj-154", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 39.0, 87.0, 330.0, 22.0 ], + "text": "route pointcolor" + } + }, + { + "box": { + "comment": "shape, pointsize, highlightedpointsize, bgcolor", + "id": "obj-243", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 39.0, 12.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-65", 0 ], + "source": [ "obj-1", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-12", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-154", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-241", 0 ], + "source": [ "obj-154", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-40", 0 ], + "source": [ "obj-21", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-48", 0 ], + "source": [ "obj-21", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-154", 0 ], + "source": [ "obj-243", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-167", 0 ], + "order": 0, + "source": [ "obj-40", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "order": 1, + "source": [ "obj-40", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-55", 0 ], + "source": [ "obj-48", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-57", 1 ], + "source": [ "obj-48", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-56", 0 ], + "source": [ "obj-55", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-56", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-57", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-57", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-57", 0 ], + "source": [ "obj-58", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 1 ], + "source": [ "obj-6", 0 ] + } + } + ] + }, + "patching_rect": [ 1258.0, 384.5, 113.0, 22.0 ], + "text": "p handle_pointcolor" + } + }, + { + "box": { + "id": "obj-65", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1731.0, 580.5, 150.0, 22.0 ], + "text": "s #0_request_ids_dump" + } + }, + { + "box": { + "id": "obj-26", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1272.0, 186.0, 178.0, 20.0 ], + "text": "panfactor for shift+drag panning" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 553.0, 489.0, 174.0, 239.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 121.00001212927054, 117.0, 36.0, 20.0 ], + "text": "other" + } + }, + { + "box": { + "id": "obj-2", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 34.000012129270544, 45.0, 59.0, 33.0 ], + "text": "panfactor\nother" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 39.000012129270544, 158.0, 70.0, 22.0 ], + "text": "loadmess 1" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.000012129270544, 189.0, 81.0, 22.0 ], + "text": "pv pan_factor" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 19.000012129270544, 86.0, 89.0, 22.0 ], + "text": "route panfactor" + } + }, + { + "box": { + "comment": "xrange, yrange, range, other", + "id": "obj-240", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.000012129270544, 12.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "other", + "id": "obj-241", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 89.00001212927054, 112.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-23", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-241", 0 ], + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-240", 0 ] + } + } + ] + }, + "patching_rect": [ 1258.0, 207.0, 111.0, 22.0 ], + "text": "p handle_panfactor" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 453.5, 81.0, 22.0 ], + "text": "pv pan_factor" + } + }, + { + "box": { + "id": "obj-22", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 99.0, 144.0, 158.0, 33.0 ], + "text": "clear and reset are aliases to refer with no args" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "bang", "bang", "bang", "bang" ], + "patching_rect": [ 88.0, 179.0, 288.86195012927044, 22.0 ], + "text": "b 4" + } + }, + { + "box": { + "id": "obj-21", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 623.0, 118.0, 60.0, 20.0 ], + "text": "dictionary" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 134.0, 172.0, 284.0, 296.0 ], + "boxes": [ + { + "box": { + "id": "obj-65", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 21.0, 253.0, 150.0, 22.0 ], + "text": "s #0_request_ids_dump" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 21.0, 172.0, 98.0, 22.0 ], + "text": "t b #0_internal" + } + }, + { + "box": { + "id": "obj-1", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 201.0, 16.0, 60.0, 33.0 ], + "text": "load, then refer" + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 21.0, 144.0, 50.0, 22.0 ], + "text": "sel load" + } + }, + { + "box": { + "id": "obj-26", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 21.0, 63.0, 133.0, 22.0 ], + "text": "prepend load dictionary" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 21.0, 103.0, 156.0, 22.0 ], + "text": "fluid.dataset~ #0_internal" + } + }, + { + "box": { + "id": "obj-8", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 132.0, 206.0, 112.0, 33.0 ], + "text": "dataset name sent to [p handle_refer]" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 59.0, 16.0, 60.0, 20.0 ], + "text": "dictionary" + } + }, + { + "box": { + "comment": "refer ", + "id": "obj-209", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 21.0, 11.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "bang", + "id": "obj-210", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 100.0, 206.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-210", 0 ], + "source": [ "obj-2", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-65", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-26", 0 ], + "source": [ "obj-209", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-25", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-26", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-28", 0 ] + } + } + ] + }, + "patching_rect": [ 205.0, 262.0, 113.0, 22.0 ], + "text": "p handle_dictionary" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 177.95398337642348, 407.5, 58.0, 22.0 ], + "text": "loadbang" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1642.0, 646.5, 159.0, 22.0 ], + "text": "s #0_update_point_colors" + } + }, + { + "box": { + "id": "obj-5", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1272.0, 408.5, 166.0, 33.0 ], + "text": "colorscheme message is redirected to [p labels2colors]" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1073.0, 279.0, 55.0, 22.0 ], + "text": "enable 1" + } + }, + { + "box": { + "id": "obj-311", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 40.0, 18.0, 230.0, 20.0 ], + "text": "refer (to a dataset) or highlight (list of IDs)" + } + }, + { + "box": { + "id": "obj-309", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1573.0, 916.0, 152.0, 20.0 ], + "text": "click'n'drag zoom rectangle" + } + }, + { + "box": { + "id": "obj-307", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "jit_matrix", "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 183.0, 207.0, 1353.0, 824.0 ], + "boxes": [ + { + "box": { + "id": "obj-16", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "int", "int", "int" ], + "patching_rect": [ 752.8, 138.95703125, 91.74998200000005, 22.0 ], + "text": "t i i i" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 6, + "outlettype": [ "int", "int", "int", "int", "int", "int" ], + "patching_rect": [ 184.0, 86.45703125, 730.0, 22.0 ], + "text": "unpack i i i i i i" + } + }, + { + "box": { + "id": "obj-38", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 549.4, 294.0, 119.0, 47.0 ], + "text": "set mousing mode to normal only if opt/alt is not pressed" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 512.4, 321.0, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 512.4, 294.0, 34.0, 22.0 ], + "text": "sel 0" + } + }, + { + "box": { + "id": "obj-34", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 512.4, 264.0, 61.0, 22.0 ], + "text": "pv opt_alt" + } + }, + { + "box": { + "id": "obj-31", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 825.549982, 209.45703125, 61.0, 22.0 ], + "text": "pv opt_alt" + } + }, + { + "box": { + "id": "obj-30", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 205.74998500000004, 559.0, 180.0, 22.0 ], + "text": "s #0_to_mousing_mode_gate" + } + }, + { + "box": { + "id": "obj-29", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 967.7499520000001, 361.95703125, 180.0, 22.0 ], + "text": "s #0_to_mousing_mode_gate" + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 972.2499700000001, 255.5, 180.0, 22.0 ], + "text": "s #0_to_mousing_mode_gate" + } + }, + { + "box": { + "id": "obj-26", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 27.0, 359.0, 178.0, 22.0 ], + "text": "r #0_to_mousing_mode_gate" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 468.4, 369.0, 180.0, 22.0 ], + "text": "s #0_to_mousing_mode_gate" + } + }, + { + "box": { + "id": "obj-23", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 510.4, 449.0, 230.0, 33.0 ], + "text": "if shift is held while mousing then pan view around keeping current zoom level" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 481.0, 138.95703125, 31.0, 20.0 ], + "text": "shift" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 508.0, 193.0, 846.0, 784.0 ], + "boxes": [ + { + "box": { + "id": "obj-109", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 648.8880498707294, 323.0, 135.0, 33.0 ], + "text": "save view ranges upon entering panning mode" + } + }, + { + "box": { + "id": "obj-108", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 364.75, 582.0, 142.0, 33.0 ], + "text": "scale displacement by current zoom proportions" + } + }, + { + "box": { + "id": "obj-107", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 433.83207480609417, 914.0, 115.0, 33.0 ], + "text": "apply displacement to x/y ranges" + } + }, + { + "box": { + "id": "obj-106", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 35.0, 529.0, 85.5, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-105", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 34.5, 665.5, 86.0, 22.0 ], + "text": "vexpr $f1 * $f2" + } + }, + { + "box": { + "id": "obj-104", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 101.5, 626.0, 147.61195012927055, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-99", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "float" ], + "patching_rect": [ 230.11195012927055, 597.0, 29.5, 22.0 ], + "text": "!- 0." + } + }, + { + "box": { + "id": "obj-98", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "float" ], + "patching_rect": [ 101.5, 597.0, 29.5, 22.0 ], + "text": "!- 0." + } + }, + { + "box": { + "id": "obj-96", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 230.11195012927055, 568.5, 117.0, 22.0 ], + "text": "pv yrange@panstart" + } + }, + { + "box": { + "id": "obj-97", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 101.5, 568.5, 117.0, 22.0 ], + "text": "pv xrange@panstart" + } + }, + { + "box": { + "id": "obj-91", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 275.83207480609417, 764.0, 94.0, 20.0 ], + "text": "apply pan factor" + } + }, + { + "box": { + "id": "obj-87", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 188.5, 764.0, 81.0, 22.0 ], + "text": "pv pan_factor" + } + }, + { + "box": { + "id": "obj-85", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 34.5, 735.0, 173.0, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-84", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 34.5, 792.0, 173.0, 22.0 ], + "text": "vexpr $f1 * $f2 @scalarmode 1" + } + }, + { + "box": { + "id": "obj-83", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 68.0, 60.0, 333.88804987072945, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-81", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 382.88804987072945, 268.0, 65.0, 22.0 ], + "text": "onebang 1" + } + }, + { + "box": { + "id": "obj-67", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 187.5, 1095.5, 90.05597506463528, 22.0 ], + "text": "list.slice 2" + } + }, + { + "box": { + "id": "obj-55", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 520.2760997414589, 309.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-54", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 382.88804987072945, 309.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-53", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 520.2760997414589, 337.5, 117.0, 22.0 ], + "text": "pv yrange@panstart" + } + }, + { + "box": { + "id": "obj-52", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 383.88804987072945, 337.5, 117.0, 22.0 ], + "text": "pv xrange@panstart" + } + }, + { + "box": { + "id": "obj-50", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 34.5, 996.0, 214.11195012927055, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-47", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 229.61195012927055, 961.0, 176.0, 22.0 ], + "text": "vexpr $f1 + $f2 @scalarmode 1" + } + }, + { + "box": { + "id": "obj-48", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "float" ], + "patching_rect": [ 229.61195012927055, 899.0, 176.0, 22.0 ], + "text": "t b f" + } + }, + { + "box": { + "id": "obj-49", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 229.61195012927055, 931.0, 117.0, 22.0 ], + "text": "pv yrange@panstart" + } + }, + { + "box": { + "id": "obj-46", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 34.5, 961.0, 176.0, 22.0 ], + "text": "vexpr $f1 + $f2 @scalarmode 1" + } + }, + { + "box": { + "id": "obj-45", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "float" ], + "patching_rect": [ 34.5, 899.0, 176.0, 22.0 ], + "text": "t b f" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 34.5, 931.0, 117.0, 22.0 ], + "text": "pv xrange@panstart" + } + }, + { + "box": { + "id": "obj-43", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "float" ], + "patching_rect": [ 34.5, 862.0, 214.11195012927055, 22.0 ], + "text": "unpack f f" + } + }, + { + "box": { + "id": "obj-37", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 128.5, 453.5, 104.0, 33.0 ], + "text": "vector xy1 --> xy0\n(v0, v1) [0...1]" + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 35.0, 464.5, 85.0, 22.0 ], + "text": "vexpr $f1 - $f2" + } + }, + { + "box": { + "id": "obj-34", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 35.0, 435.0, 85.0, 22.0 ], + "text": "list.slice 2" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 561.0, 220.0, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-12", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 591.3880498707294, 24.0, 129.0, 47.0 ], + "text": "bang to reset onegate and onebang (upon lifting shift key)" + } + }, + { + "box": { + "comment": "bang to reset onegate", + "id": "obj-15", + "index": 2, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 561.0, 19.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.5, 1114.5, 119.0, 20.0 ], + "text": "update mesh scaling" + } + }, + { + "box": { + "id": "obj-27", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 346.16792519390583, 1135.5, 143.0, 20.0 ], + "text": "update and report ranges" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 254.88804987072945, 198.0, 193.0, 20.0 ], + "text": "bang when mouse button released" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 259.5, 154.0, 119.0, 20.0 ], + "text": "all mouse xy (x1, y1)" + } + }, + { + "box": { + "id": "obj-18", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.0, 298.0, 138.0, 33.0 ], + "text": "mouse xy when starting panning (x0, y0)" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.0, 407.0, 128.0, 20.0 ], + "text": "(x0, y0, x1, y1) [0...1]" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 291.66792519390583, 1239.0, 182.0, 20.0 ], + "text": "report zoomxrange, zoomyrange" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 179.5, 268.0, 60.0, 20.0 ], + "text": "\"onegate\"" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 98.38804987072945, 24.0, 69.0, 20.0 ], + "text": "(x, y) [0...1]" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 258.5559750646353, 1170.0, 122.0, 22.0 ], + "text": "prepend zoomyrange" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 187.5, 1201.0, 122.0, 22.0 ], + "text": "prepend zoomxrange" + } + }, + { + "box": { + "comment": "report zoomxrange, zoomyrange", + "id": "obj-1", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 258.5559750646353, 1234.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-215", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 154.0, 84.0, 22.0 ], + "text": "pv mouse_btn" + } + }, + { + "box": { + "id": "obj-184", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 34.5, 1064.5, 172.0, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-168", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 34.5, 1139.5, 132.0, 22.0 ], + "text": "s #0_update_scaling" + } + }, + { + "box": { + "id": "obj-169", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 275.9440249353647, 1134.5, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-170", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 205.05597506463528, 1134.5, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-111", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 35.0, 376.0, 233.0, 22.0 ], + "text": "join 2 @triggers -1" + } + }, + { + "box": { + "id": "obj-110", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "" ], + "patching_rect": [ 68.0, 126.0, 200.0, 22.0 ], + "text": "t b l l" + } + }, + { + "box": { + "id": "obj-94", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "bang" ], + "patching_rect": [ 68.0, 220.0, 379.88804987072945, 22.0 ], + "text": "t 1 b" + } + }, + { + "box": { + "id": "obj-86", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "" ], + "patching_rect": [ 24.0, 268.0, 29.5, 22.0 ], + "text": "t 0 l" + } + }, + { + "box": { + "color": [ 1.0, 0.0, 0.0, 1.0 ], + "id": "obj-82", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 268.0, 109.5, 22.0 ], + "text": "gate 1 1" + } + }, + { + "box": { + "id": "obj-69", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 68.0, 187.0, 34.0, 22.0 ], + "text": "sel 0" + } + }, + { + "box": { + "comment": "(x, y) [0...1]", + "id": "obj-216", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 19.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-105", 1 ], + "source": [ "obj-104", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-85", 0 ], + "source": [ "obj-105", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-105", 0 ], + "source": [ "obj-106", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-96", 0 ], + "order": 0, + "source": [ "obj-106", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-97", 0 ], + "order": 1, + "source": [ "obj-106", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-111", 1 ], + "source": [ "obj-110", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-215", 0 ], + "source": [ "obj-110", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 1 ], + "source": [ "obj-110", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-111", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "order": 0, + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-81", 1 ], + "order": 1, + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-168", 0 ], + "source": [ "obj-184", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-67", 0 ], + "source": [ "obj-184", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-69", 0 ], + "source": [ "obj-215", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-83", 0 ], + "source": [ "obj-216", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-35", 1 ], + "source": [ "obj-34", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-35", 0 ], + "source": [ "obj-34", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-106", 0 ], + "source": [ "obj-35", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "source": [ "obj-43", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-48", 0 ], + "source": [ "obj-43", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-46", 0 ], + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-44", 0 ], + "source": [ "obj-45", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-46", 1 ], + "source": [ "obj-45", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "source": [ "obj-46", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 1 ], + "source": [ "obj-47", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-47", 1 ], + "source": [ "obj-48", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-49", 0 ], + "source": [ "obj-48", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-47", 0 ], + "source": [ "obj-49", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-184", 0 ], + "source": [ "obj-50", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-52", 0 ], + "source": [ "obj-54", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-53", 0 ], + "source": [ "obj-55", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-169", 0 ], + "order": 0, + "source": [ "obj-67", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-170", 0 ], + "order": 0, + "source": [ "obj-67", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "order": 1, + "source": [ "obj-67", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "order": 1, + "source": [ "obj-67", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-94", 0 ], + "source": [ "obj-69", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-54", 0 ], + "order": 1, + "source": [ "obj-81", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-55", 0 ], + "order": 0, + "source": [ "obj-81", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-86", 0 ], + "source": [ "obj-82", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-110", 0 ], + "source": [ "obj-83", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-81", 0 ], + "source": [ "obj-83", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-43", 0 ], + "source": [ "obj-84", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-84", 0 ], + "source": [ "obj-85", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-87", 0 ], + "source": [ "obj-85", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-111", 0 ], + "source": [ "obj-86", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-86", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-84", 1 ], + "source": [ "obj-87", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-81", 1 ], + "source": [ "obj-94", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-94", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-99", 0 ], + "source": [ "obj-96", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-98", 0 ], + "source": [ "obj-97", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-104", 0 ], + "source": [ "obj-98", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-104", 1 ], + "source": [ "obj-99", 0 ] + } + } + ] + }, + "patching_rect": [ 496.4, 488.0, 98.0, 22.0 ], + "text": "p panning_mode" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 562.4, 229.0, 32.5, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "int", "int" ], + "patching_rect": [ 512.4, 200.0, 69.24998200000005, 22.0 ], + "text": "change" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "bang" ], + "patching_rect": [ 468.4, 229.0, 32.0, 22.0 ], + "text": "t 3 b" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 468.4, 200.0, 34.0, 22.0 ], + "text": "sel 1" + } + }, + { + "box": { + "bubble": 1, + "bubbleside": 3, + "id": "obj-11", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 318.4, 192.0, 147.0, 37.0 ], + "text": "enter panning mode upon shift is pressed" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 468.4, 164.45703125, 63.39999999999998, 22.0 ], + "text": "t i i" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "int" ], + "patching_rect": [ 894.7499700000001, 209.45703125, 32.0, 22.0 ], + "text": "t b 0" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 972.2499700000001, 209.45703125, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 753.0, 209.45703125, 22.0, 22.0 ], + "text": "t 2" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 753.0, 177.45703125, 34.0, 22.0 ], + "text": "sel 1" + } + }, + { + "box": { + "id": "obj-27", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 653.0, 369.0, 364.0, 260.0 ], + "boxes": [ + { + "box": { + "id": "obj-5", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 183.0, 41.0, 154.0, 33.0 ], + "text": "only let it through while the mouse button is held down" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 45.000012129270544, 77.0, 29.5, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 32.000012129270544, 163.0, 32.0, 22.0 ], + "text": "gate" + } + }, + { + "box": { + "id": "obj-214", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 32.000012129270544, 125.45703125, 84.0, 22.0 ], + "text": "pv mouse_btn" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 67.0, 210.0, 87.0, 20.0 ], + "text": "normalized XY" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.0, 41.0, 87.0, 20.0 ], + "text": "normalized XY" + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 32.000012129270544, 205.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 1 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-214", 0 ], + "source": [ "obj-2", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-214", 0 ] + } + } + ] + }, + "patching_rect": [ 27.0, 704.95703125, 126.0, 22.0 ], + "text": "p filter_mouse_btn_lift" + } + }, + { + "box": { + "bubble": 1, + "bubbleside": 3, + "id": "obj-24", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 76.0, 520.0, 133.0, 37.0 ], + "text": "back to normal mousing when done" + } + }, + { + "box": { + "bubble": 1, + "bubbleside": 3, + "id": "obj-22", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 604.0, 170.45703125, 147.0, 37.0 ], + "text": "enter zooming mode upon opt/alt is pressed" + } + }, + { + "box": { + "bubble": 1, + "id": "obj-21", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 988.7499520000001, 290.5, 229.0, 51.0 ], + "text": "if opt/alt lifted while drawing the zoom rect, the zooming is cancelled and mousing is reverted to default mode" + } + }, + { + "box": { + "id": "obj-19", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 205.74998500000004, 527.5, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-17", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1212.2499520000001, 449.45703125, 130.0, 33.0 ], + "text": "erase zoom rect when zooming is cancelled" + } + }, + { + "box": { + "id": "obj-15", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1198.2499520000001, 487.95703125, 80.0, 22.0 ], + "text": "setall 0, bang" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "int" ], + "patching_rect": [ 860.7499520000001, 319.5, 126.0, 22.0 ], + "text": "t b b 1" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "int", "int" ], + "patching_rect": [ 789.174991, 294.0, 69.24998200000005, 22.0 ], + "text": "change" + } + }, + { + "box": { + "id": "obj-246", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 118.87497900000005, 20.00000024999997, 366.0, 33.0 ], + "text": "mouse tracking \n(x, y, button, cmd[mac]/ctrl[win], shift, caps, opt/alt ctrl[mac], ?, ?, ?)" + } + }, + { + "box": { + "id": "obj-67", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 528.4, 768.95703125, 182.0, 20.0 ], + "text": "report zoomxrange, zoomyrange" + } + }, + { + "box": { + "id": "obj-223", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 59.0, 768.95703125, 126.0, 20.0 ], + "text": "normalized mouse XY" + } + }, + { + "box": { + "id": "obj-192", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "" ], + "patching_rect": [ 895.0, 138.95703125, 174.0, 22.0 ], + "text": "sel 1 0" + } + }, + { + "box": { + "id": "obj-264", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 908.2499700000001, 449.45703125, 266.0, 33.0 ], + "text": "reset zoom (ranges) to the values before click'n'drag if ctrl[mac] is pressed while mousing" + } + }, + { + "box": { + "id": "obj-262", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 81.0, 422.45703125, 230.0, 60.0 ], + "text": "if opt/alt is held while mousing then draw selection zoom rectangle (right branch), otherwise scale normalized XY to current ranges and output (left branch)" + } + }, + { + "box": { + "id": "obj-260", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 908.2499700000001, 112.95703125, 54.0, 20.0 ], + "text": "ctrl[mac]" + } + }, + { + "box": { + "id": "obj-259", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 765.749982, 112.95703125, 41.0, 20.0 ], + "text": "opt/alt" + } + }, + { + "box": { + "id": "obj-257", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 194.0, 138.95703125, 81.0, 20.0 ], + "text": "mouse button" + } + }, + { + "box": { + "id": "obj-255", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 103.0, 188.45703125, 35.0, 20.0 ], + "text": "(x, y)" + } + }, + { + "box": { + "id": "obj-254", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 103.0, 112.95703125, 35.0, 20.0 ], + "text": "(x, y)" + } + }, + { + "box": { + "id": "obj-221", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 322.0, 361.0 ], + "boxes": [ + { + "box": { + "id": "obj-8", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 23.0, 183.0, 155.0, 33.0 ], + "text": "update scaling and make zoom rectangle disappear" + } + }, + { + "box": { + "id": "obj-7", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 178.0, 42.0, 128.0, 33.0 ], + "text": "overwrite ranges from pre-drag variables" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.0, 314.0, 107.0, 20.0 ], + "text": "to zoomrect matrix" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.0, 18.0, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-212", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 154.97138320406293, 119.0, 116.0, 22.0 ], + "text": "pv yrange_pre_drag" + } + }, + { + "box": { + "id": "obj-213", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 83.91603740304708, 80.0, 116.0, 22.0 ], + "text": "pv xrange_pre_drag" + } + }, + { + "box": { + "id": "obj-204", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 13.0, 277.0, 80.0, 22.0 ], + "text": "setall 0, bang" + } + }, + { + "box": { + "id": "obj-205", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "bang" ], + "patching_rect": [ 13.0, 53.0, 160.83207480609417, 22.0 ], + "text": "b 3" + } + }, + { + "box": { + "id": "obj-208", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 13.0, 218.0, 36.388049870729446, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-209", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 30.388049870729446, 249.0, 132.0, 22.0 ], + "text": "s #0_update_scaling" + } + }, + { + "box": { + "id": "obj-210", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 154.80408727377653, 147.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-211", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 83.91603740304708, 110.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "comment": "bang", + "id": "obj-219", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 13.0, 13.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "to zoomrect matrix", + "id": "obj-220", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 13.0, 309.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-220", 0 ], + "source": [ "obj-204", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-208", 0 ], + "source": [ "obj-205", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-212", 0 ], + "source": [ "obj-205", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-213", 0 ], + "source": [ "obj-205", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-204", 0 ], + "source": [ "obj-208", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-209", 0 ], + "source": [ "obj-208", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-210", 0 ], + "source": [ "obj-212", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-211", 0 ], + "source": [ "obj-213", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-205", 0 ], + "source": [ "obj-219", 0 ] + } + } + ] + }, + "patching_rect": [ 894.7499700000001, 487.95703125, 81.0, 22.0 ], + "text": "p reset_zoom" + } + }, + { + "box": { + "id": "obj-218", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 3, + "outlettype": [ "", "bang", "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 340.0, 100.0, 902.0, 983.0 ], + "boxes": [ + { + "box": { + "id": "obj-6", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 569.7201246768236, 518.5, 203.0, 47.0 ], + "text": "enforce that x0 < x1 and y0 < y1 so that the direction of drawing the rect does not affect (flip) ranges" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 228.0, 182.0, 275.0, 280.0 ], + "boxes": [ + { + "box": { + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 45.000012129270544, 176.0, 107.0, 22.0 ], + "text": "list.lace" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 133.00001212927054, 142.0, 47.0, 22.0 ], + "text": "list.sort" + } + }, + { + "box": { + "id": "obj-19", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 45.000012129270544, 142.0, 47.0, 22.0 ], + "text": "list.sort" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 146.0, 117.0, 49.0, 20.0 ], + "text": "(y0, y1)" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 58.000012129270544, 117.0, 49.0, 20.0 ], + "text": "(x0, x1)" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 45.000012129270544, 88.0, 107.0, 22.0 ], + "text": "list.delace" + } + }, + { + "box": { + "id": "obj-9", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.00001212927054, 218.0, 152.0, 33.0 ], + "text": "(x0, y0, x1, y1) [0...1] where x0 < x1 and y0 < y1" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.00001212927054, 41.0, 124.0, 20.0 ], + "text": "(x0, y0, x1, y1) [0...1]" + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 45.000012129270544, 213.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-19", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-19", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 1 ], + "source": [ "obj-20", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-21", 0 ] + } + } + ] + }, + "patching_rect": [ 504.88804987072945, 531.0, 57.0, 22.0 ], + "text": "p sort_xy" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 561.0, 220.0, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 591.3880498707294, 24.0, 125.0, 20.0 ], + "text": "bang to reset onegate" + } + }, + { + "box": { + "comment": "bang to reset onegate", + "id": "obj-15", + "index": 2, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 561.0, 19.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 319.88804987072945, 993.0, 183.0, 20.0 ], + "text": "bang when zooming has finished" + } + }, + { + "box": { + "comment": "bang when zooming has finished", + "id": "obj-9", + "index": 2, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 504.88804987072945, 984.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-28", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 368.88804987072945, 830.5, 134.0, 47.0 ], + "text": "update mesh scaling, erase zoom rectangle,\nchange mousing mode" + } + }, + { + "box": { + "id": "obj-27", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 734.5, 784.0, 143.0, 20.0 ], + "text": "update and report ranges" + } + }, + { + "box": { + "id": "obj-26", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 517.5, 662.0, 232.0, 20.0 ], + "text": "last (x0, y0, x1, y1) relative to view ranges" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 517.5, 486.0, 146.0, 20.0 ], + "text": "last (x0, y0, x1, y1) [0...1]" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 46.5, 821.0, 120.0, 20.0 ], + "text": "draw zoom rectangle" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 517.5, 269.0, 193.0, 20.0 ], + "text": "bang when mouse button released" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 259.5, 154.0, 119.0, 20.0 ], + "text": "all mouse xy (x1, y1)" + } + }, + { + "box": { + "id": "obj-18", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.0, 312.0, 138.0, 33.0 ], + "text": "mouse xy when starting the rectangle (x0, y0)" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 47.0, 385.0, 128.0, 20.0 ], + "text": "(x0, y0, x1, y1) [-1...1]" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 680.0, 989.0, 182.0, 20.0 ], + "text": "report zoomxrange, zoomyrange" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 68.0, 993.0, 107.0, 20.0 ], + "text": "to zoomrect matrix" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 80.5, 80.0, 73.0, 20.0 ], + "text": "(x, y) [-1...1]" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 179.5, 268.0, 60.0, 20.0 ], + "text": "\"onegate\"" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 98.38804987072945, 24.0, 69.0, 20.0 ], + "text": "(x, y) [0...1]" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 646.8880498707294, 920.0, 122.0, 22.0 ], + "text": "prepend zoomyrange" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 575.8320748060942, 951.0, 122.0, 22.0 ], + "text": "prepend zoomxrange" + } + }, + { + "box": { + "comment": "report zoomxrange, zoomyrange", + "id": "obj-1", + "index": 3, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 646.8880498707294, 984.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-215", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 154.0, 84.0, 22.0 ], + "text": "pv mouse_btn" + } + }, + { + "box": { + "id": "obj-186", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 515.3880498707294, 920.0, 80.0, 22.0 ], + "text": "setall 0, bang" + } + }, + { + "box": { + "id": "obj-184", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "" ], + "patching_rect": [ 504.88804987072945, 699.0, 160.88804987072945, 22.0 ], + "text": "t b l l" + } + }, + { + "box": { + "id": "obj-183", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 646.7201246768236, 727.0, 39.0, 22.0 ], + "text": "$2 $4" + } + }, + { + "box": { + "id": "obj-182", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 575.8320748060942, 727.0, 39.0, 22.0 ], + "text": "$1 $3" + } + }, + { + "box": { + "id": "obj-178", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 504.88804987072945, 638.0, 161.88804987072945, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-173", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 653.0, 369.0, 535.0, 371.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 362.5, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 209.5, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 45.000012129270544, 116.0, 44.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 245.0, 308.0, 63.0, 20.0 ], + "text": "scaled XY" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 36.0, 130.0, 22.0 ], + "text": "r #0_update_scaling" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 362.50001212927054, 117.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 116.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 266.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 363.00001212927054, 214.0, 90.0, 22.0 ], + "text": "scale 0. 1. 0. 1." + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 45.000012129270544, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 425.50001212927054, 117.0, 45.0, 20.0 ], + "text": "yrange" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 272.5, 117.0, 45.0, 20.0 ], + "text": "xrange" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.0, 41.0, 87.0, 20.0 ], + "text": "normalized XY" + } + }, + { + "box": { + "id": "obj-566", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 214.0, 90.0, 22.0 ], + "text": "scale 0. 1. 0. 1." + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 210.00001212927054, 303.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 4 ], + "source": [ "obj-2", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 3 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 4 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 3 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 1, + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 0, + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-566", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-7", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 1 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 647.7760997414589, 606.0, 135.0, 22.0 ], + "text": "p scale_to_ranges_lazy" + } + }, + { + "box": { + "id": "obj-172", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 504.88804987072945, 574.0, 161.88804987072945, 22.0 ], + "text": "list.slice 2" + } + }, + { + "box": { + "id": "obj-171", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 653.0, 369.0, 535.0, 371.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 362.5, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 209.5, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 45.000012129270544, 116.0, 44.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 245.0, 308.0, 63.0, 20.0 ], + "text": "scaled XY" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 36.0, 130.0, 22.0 ], + "text": "r #0_update_scaling" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 362.50001212927054, 117.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 116.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 266.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 363.00001212927054, 214.0, 90.0, 22.0 ], + "text": "scale 0. 1. 0. 1." + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 45.000012129270544, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 425.50001212927054, 117.0, 45.0, 20.0 ], + "text": "yrange" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 272.5, 117.0, 45.0, 20.0 ], + "text": "xrange" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.0, 41.0, 87.0, 20.0 ], + "text": "normalized XY" + } + }, + { + "box": { + "id": "obj-566", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 214.0, 90.0, 22.0 ], + "text": "scale 0. 1. 0. 1." + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 210.00001212927054, 303.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 4 ], + "source": [ "obj-2", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 3 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 4 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 3 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 1, + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 0, + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-566", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-7", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 1 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 504.88804987072945, 606.0, 135.0, 22.0 ], + "text": "p scale_to_ranges_lazy" + } + }, + { + "box": { + "id": "obj-166", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "bang" ], + "patching_rect": [ 504.88804987072945, 843.0, 40.0, 22.0 ], + "text": "b 3" + } + }, + { + "box": { + "id": "obj-168", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 525.8880498707294, 883.0, 132.0, 22.0 ], + "text": "s #0_update_scaling" + } + }, + { + "box": { + "id": "obj-169", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 664.2760997414589, 783.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-170", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 593.3880498707294, 783.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-165", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 504.88804987072945, 458.0, 94.0, 22.0 ], + "text": "scale -1. 1. 0. 1." + } + }, + { + "box": { + "id": "obj-162", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 504.88804987072945, 428.0, 44.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-144", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 34.5, 849.0, 139.0, 22.0 ], + "text": "$1 $2 $3 $2 $3 $4 $1 $4" + } + }, + { + "box": { + "id": "obj-111", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 35.0, 354.0, 233.0, 22.0 ], + "text": "join 2 @triggers -1" + } + }, + { + "box": { + "id": "obj-110", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "" ], + "patching_rect": [ 68.0, 126.0, 200.0, 22.0 ], + "text": "t b l l" + } + }, + { + "box": { + "id": "obj-94", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "bang" ], + "patching_rect": [ 68.0, 220.0, 455.88804987072945, 22.0 ], + "text": "t 1 b" + } + }, + { + "box": { + "id": "obj-86", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "" ], + "patching_rect": [ 24.0, 268.0, 29.5, 22.0 ], + "text": "t 0 l" + } + }, + { + "box": { + "color": [ 1.0, 0.0, 0.0, 1.0 ], + "id": "obj-82", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 268.0, 109.5, 22.0 ], + "text": "gate 1 1" + } + }, + { + "box": { + "id": "obj-69", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 68.0, 187.0, 34.0, 22.0 ], + "text": "sel 0" + } + }, + { + "box": { + "id": "obj-52", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 56.0, 94.0, 22.0 ], + "text": "scale 0. 1. -1. 1." + } + }, + { + "box": { + "id": "obj-167", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 34.5, 879.0, 62.0, 22.0 ], + "text": "list.delace" + } + }, + { + "box": { + "id": "obj-152", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 169.5, 920.0, 128.0, 22.0 ], + "text": "jit.fill #0_zoomrect 1" + } + }, + { + "box": { + "id": "obj-151", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 34.5, 920.0, 128.0, 22.0 ], + "text": "jit.fill #0_zoomrect 0" + } + }, + { + "box": { + "comment": "(x, y) [0...1]", + "id": "obj-216", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 68.0, 19.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "to zoomrect matrix", + "id": "obj-217", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 34.5, 988.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-111", 1 ], + "source": [ "obj-110", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-215", 0 ], + "source": [ "obj-110", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 1 ], + "source": [ "obj-110", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-144", 0 ], + "order": 1, + "source": [ "obj-111", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-162", 1 ], + "midpoints": [ 44.5, 412.0, 539.3880498707294, 412.0 ], + "order": 0, + "source": [ "obj-111", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-167", 0 ], + "source": [ "obj-144", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-217", 0 ], + "source": [ "obj-151", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-165", 0 ], + "source": [ "obj-162", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-165", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-168", 0 ], + "source": [ "obj-166", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-186", 0 ], + "source": [ "obj-166", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-166", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-151", 0 ], + "source": [ "obj-167", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-152", 0 ], + "source": [ "obj-167", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-178", 0 ], + "source": [ "obj-171", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-171", 0 ], + "source": [ "obj-172", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-173", 0 ], + "source": [ "obj-172", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-178", 1 ], + "source": [ "obj-173", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-184", 0 ], + "source": [ "obj-178", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-170", 0 ], + "order": 0, + "source": [ "obj-182", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "order": 1, + "source": [ "obj-182", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-169", 0 ], + "order": 0, + "source": [ "obj-183", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "order": 1, + "source": [ "obj-183", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-166", 0 ], + "source": [ "obj-184", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-182", 0 ], + "source": [ "obj-184", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-183", 0 ], + "source": [ "obj-184", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-217", 0 ], + "source": [ "obj-186", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-69", 0 ], + "source": [ "obj-215", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-52", 0 ], + "source": [ "obj-216", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-172", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-110", 0 ], + "source": [ "obj-52", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-94", 0 ], + "source": [ "obj-69", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-86", 0 ], + "source": [ "obj-82", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-111", 0 ], + "source": [ "obj-86", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-86", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-162", 0 ], + "source": [ "obj-94", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-94", 0 ] + } + } + ] + }, + "patching_rect": [ 60.0, 487.95703125, 310.4999700000001, 22.0 ], + "text": "p draw_selection_and_update_zoom" + } + }, + { + "box": { + "id": "obj-214", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 183.5, 164.45703125, 84.0, 22.0 ], + "text": "pv mouse_btn" + } + }, + { + "box": { + "id": "obj-56", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 27.0, 390.45703125, 85.0, 22.0 ], + "text": "gate 3 1" + } + }, + { + "box": { + "id": "obj-149", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 60.0, 629.95703125, 139.0, 22.0 ], + "text": "jit.matrix #0_zoomrect" + } + }, + { + "box": { + "id": "obj-33", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 653.0, 369.0, 535.0, 371.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 362.5, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 209.5, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 245.0, 308.0, 63.0, 20.0 ], + "text": "scaled XY" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 209.5, 69.0, 25.0, 22.0 ], + "text": "b 1" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 36.0, 130.0, 22.0 ], + "text": "r #0_update_scaling" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 362.50001212927054, 117.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 116.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 266.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 363.00001212927054, 214.0, 90.0, 22.0 ], + "text": "scale 0. 1. 0. 1." + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 45.000012129270544, 156.0, 41.0, 22.0 ], + "text": "unjoin" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 425.50001212927054, 117.0, 45.0, 20.0 ], + "text": "yrange" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 272.5, 117.0, 45.0, 20.0 ], + "text": "xrange" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.0, 41.0, 87.0, 20.0 ], + "text": "normalized XY" + } + }, + { + "box": { + "id": "obj-566", + "maxclass": "newobj", + "numinlets": 6, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 210.0, 214.0, 90.0, 22.0 ], + "text": "scale 0. 1. 0. 1." + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 210.00001212927054, 303.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 4 ], + "source": [ "obj-2", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 3 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 1, + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 0, + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 4 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 3 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-566", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-7", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 1 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 27.0, 734.95703125, 107.0, 22.0 ], + "text": "p scale_to_ranges" + } + }, + { + "box": { + "id": "obj-32", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 84.0, 144.0, 285.0, 489.0 ], + "boxes": [ + { + "box": { + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 222.0, 46.0, 22.0 ], + "text": "pack i i" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 18.0, 123.0, 148.0, 22.0 ], + "text": "unpack i i" + } + }, + { + "box": { + "id": "obj-19", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 180.0, 123.0, 91.0, 22.0 ], + "text": "bpw $1, bph $2" + } + }, + { + "box": { + "id": "obj-17", + "linecount": 2, + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "float", "float" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "dsp.gen", + "rect": [ 59.0, 119.0, 600.0, 375.0 ], + "boxes": [ + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 550.0, 314.0, 35.0, 22.0 ], + "text": "out 2" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 550.0, 13.0, 28.0, 22.0 ], + "text": "in 2" + } + }, + { + "box": { + "code": "Param bpw(100);\r\nParam bph(100);\r\n\r\ncurrent_x = in1;\r\ncurrent_y = in2;\r\n\r\nif (bpw >= bph) {\r\n\tcurrent_x = scale(current_x, (bpw/2)-(bph/2), (bpw/2)+(bph/2), 0, bph-1);\r\n} else {\r\n\tcurrent_y = scale(current_y, (bph/2)-(bpw/2), (bph/2)+(bpw/2), 0, bpw-1);\r\n}\r\n\r\nout1 = current_x;\r\nout2 = current_y;", + "fontface": 0, + "fontname": "", + "fontsize": 12.0, + "id": "obj-5", + "maxclass": "codebox", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 14.0, 45.0, 555.0, 259.0 ] + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 14.0, 13.0, 28.0, 22.0 ], + "text": "in 1" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 14.0, 314.0, 35.0, 22.0 ], + "text": "out 1" + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-5", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 1 ], + "source": [ "obj-6", 0 ] + } + } + ] + }, + "patching_rect": [ 18.0, 168.0, 148.0, 35.0 ], + "text": "gen @t clip_longest_side_px_vals" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 125.0, 235.0, 57.0, 22.0 ], + "text": "minimum" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 52.0, 442.0, 160.0, 20.0 ], + "text": "normalized mouse XY (0...1)" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 52.0, 13.0, 118.0, 20.0 ], + "text": "mouse XY (in pixels)" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "patching_rect": [ 18.0, 53.0, 126.0, 22.0 ], + "text": "t l b" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 125.0, 82.0, 93.0, 22.0 ], + "text": "pv bpatcher_wh" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 99.0, 374.0, 65.0, 20.0 ], + "text": "flip vertical" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 402.0, 61.0, 22.0 ], + "text": "pack f f" + } + }, + { + "box": { + "id": "obj-27", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "float" ], + "patching_rect": [ 60.0, 374.0, 29.5, 22.0 ], + "text": "!- 1." + } + }, + { + "box": { + "id": "obj-30", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "float" ], + "patching_rect": [ 18.0, 343.0, 61.0, 22.0 ], + "text": "unpack f f" + } + }, + { + "box": { + "id": "obj-31", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 313.0, 53.0, 22.0 ], + "text": "clip 0. 1." + } + }, + { + "box": { + "id": "obj-32", + "linecount": 2, + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 268.0, 126.0, 35.0 ], + "text": "vexpr $f1 / $f2 @scalarmode 1" + } + }, + { + "box": { + "comment": "mouse XY (in pixels)", + "id": "obj-33", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 8.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "normalized mouse XY (0...1)", + "id": "obj-34", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 18.0, 437.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-32", 1 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 0 ], + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 1 ], + "source": [ "obj-17", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "order": 1, + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-19", 0 ], + "order": 0, + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-19", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 1 ], + "source": [ "obj-20", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-20", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-32", 0 ], + "source": [ "obj-21", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-25", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 1 ], + "source": [ "obj-27", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-30", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-27", 0 ], + "source": [ "obj-30", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 0 ], + "source": [ "obj-31", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-31", 0 ], + "source": [ "obj-32", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-33", 0 ] + } + } + ] + }, + "patching_rect": [ 91.0, 164.45703125, 71.0, 22.0 ], + "text": "p normalize" + } + }, + { + "box": { + "id": "obj-571", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 91.0, 86.45703125, 71.0, 22.0 ], + "text": "list.slice 2" + } + }, + { + "box": { + "comment": "mouse tracking (list)", + "id": "obj-303", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 91.0, 20.00000024999997, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "normalized mouse XY", + "id": "obj-304", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 27.0, 763.95703125, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "report zoomxrange, zoomyrange", + "id": "obj-305", + "index": 3, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 496.4, 763.95703125, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-306", + "index": 2, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 60.0, 663.95703125, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-1", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-14", 0 ], + "source": [ "obj-12", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "midpoints": [ 923.7499520000001, 426.978515625, 1207.7499520000001, 426.978515625 ], + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-218", 1 ], + "midpoints": [ 870.2499520000001, 359.228515625, 360.9999700000001, 359.228515625 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 0 ], + "source": [ "obj-13", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 1 ], + "source": [ "obj-14", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-306", 0 ], + "source": [ "obj-149", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-149", 0 ], + "midpoints": [ 1207.7499520000001, 614.478515625, 69.5, 614.478515625 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-16", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-16", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-31", 0 ], + "source": [ "obj-16", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-305", 0 ], + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 0 ], + "source": [ "obj-19", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-192", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-192", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-149", 0 ], + "source": [ "obj-218", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-19", 0 ], + "source": [ "obj-218", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-305", 0 ], + "midpoints": [ 360.9999700000001, 524.45703125, 505.9, 524.45703125 ], + "source": [ "obj-218", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-149", 0 ], + "midpoints": [ 904.2499700000001, 602.45703125, 69.5, 602.45703125 ], + "source": [ "obj-221", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-56", 0 ], + "source": [ "obj-26", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-33", 0 ], + "source": [ "obj-27", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-571", 0 ], + "source": [ "obj-303", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-56", 1 ], + "source": [ "obj-32", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-304", 0 ], + "source": [ "obj-33", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-35", 0 ], + "source": [ "obj-34", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "source": [ "obj-35", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-36", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-4", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 0 ], + "midpoints": [ 102.5, 417.70703125, 505.9, 417.70703125 ], + "source": [ "obj-56", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-218", 0 ], + "source": [ "obj-56", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-27", 0 ], + "source": [ "obj-56", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-32", 0 ], + "source": [ "obj-571", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-571", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-221", 0 ], + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-6", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-8", 4 ] + } + }, + { + "patchline": { + "destination": [ "obj-192", 0 ], + "source": [ "obj-8", 5 ] + } + }, + { + "patchline": { + "destination": [ "obj-214", 0 ], + "source": [ "obj-8", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-8", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "midpoints": [ 490.9, 256.478515625, 870.2499520000001, 256.478515625 ], + "source": [ "obj-9", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 1312.0, 794.0, 540.0, 22.0 ], + "text": "p handle_mouse" + } + }, + { + "box": { + "id": "obj-302", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 296.0, 110.0, 791.0, 882.0 ], + "boxes": [ + { + "box": { + "id": "obj-17", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 343.0, 261.0, 45.0, 22.0 ], + "text": "dim $1" + } + }, + { + "box": { + "id": "obj-15", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 300.0, 324.0, 129.0, 22.0 ], + "text": "dim $1, setall 0 0 0 0.8" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 46.638049870729446, 422.0, 22.0, 22.0 ], + "text": "t 1" + } + }, + { + "box": { + "id": "obj-34", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 31.0, 318.0, 144.0, 47.0 ], + "text": "check for case \"highlight -1\" which should mean \"hide highlighted mesh\"" + } + }, + { + "box": { + "id": "obj-31", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 225.63804987072945, 420.0, 117.0, 20.0 ], + "text": "disable mesh (bang)" + } + }, + { + "box": { + "comment": "update highlighted mesh (bang)", + "id": "obj-32", + "index": 2, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 192.13804987072945, 415.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-30", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "" ], + "patching_rect": [ 179.63804987072945, 381.0, 44.0, 22.0 ], + "text": "sel 0 1" + } + }, + { + "box": { + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 179.63804987072945, 349.0, 87.0, 22.0 ], + "text": "list.compare -1" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 179.63804987072945, 318.0, 49.0, 22.0 ], + "text": "list.reg" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 12.638049870729446, 291.0, 186.0, 22.0 ], + "text": "if $i1 != 1 then $i1 else out2 bang" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 128.63804987072945, 733.0, 87.36195012927055, 22.0 ], + "text": "t l l l" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 545.0, 261.0, 89.0, 22.0 ], + "text": "dim $1, setall 1" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 545.0, 291.0, 215.0, 22.0 ], + "text": "jit.matrix #0_highlighted_pointsizes" + } + }, + { + "box": { + "id": "obj-7", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 343.63804987072945, 809.0, 99.0, 33.0 ], + "text": "fetch point size, store in matrix" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 0, + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 575.0, -1231.0, 599.0, 304.0 ], + "boxes": [ + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 44.0, 72.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 180.0, 155.0, 61.0, 22.0 ], + "text": "list.ecils 1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 44.0, 98.0, 91.0, 22.0 ], + "text": "prepend getcell" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 44.0, 128.0, 155.0, 22.0 ], + "text": "jit.matrix #0_pointsizes" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 222.0, 196.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 443.0, 261.0, 124.0, 20.0 ], + "text": "set cell in color matrix" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 222.0, 229.0, 95.0, 22.0 ], + "text": "setcell $2 val $1" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 222.0, 261.0, 219.0, 22.0 ], + "text": "jit.matrix #0_highlighted_pointsizes" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 291.0, 30.0, 173.0, 20.0 ], + "text": "index (in highlighted points list)" + } + }, + { + "box": { + "comment": "bang", + "cool": 1, + "id": "obj-10", + "index": 2, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 466.0, 25.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 85.0, 30.0, 63.0, 20.0 ], + "text": "dataset ID" + } + }, + { + "box": { + "comment": "bang", + "id": "obj-123", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 44.0, 25.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 1 ], + "midpoints": [ 475.5, 185.0, 242.0, 185.0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-44", 0 ], + "source": [ "obj-123", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-20", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-25", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-44", 0 ] + } + } + ] + }, + "patching_rect": [ 163.63804987072945, 809.0, 178.31902493536472, 22.0 ], + "text": "p fill_highlighted_sizes_matrix" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 234.0, 38.0, 54.0, 22.0 ], + "text": "sel bang" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 234.0, 94.0, 77.0, 22.0 ], + "text": "s #0_draw" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 234.0, 61.0, 29.5, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-3", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 392.0, 14.0, 162.0, 33.0 ], + "text": "redraw highlighted points when color scheme changes" + } + }, + { + "box": { + "id": "obj-167", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 234.0, 14.0, 151.0, 22.0 ], + "text": "r #0_redraw_highlighted" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 12.638049870729446, 94.0, 149.0, 22.0 ], + "text": "list.reg @zlmaxsize 32767" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 46.638049870729446, 15.0, 79.0, 20.0 ], + "text": "highlight (list)" + } + }, + { + "box": { + "id": "obj-276", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 304.63804987072945, 937.0, 201.0, 60.0 ], + "text": "we have to go through the dataset (instead of fetching from the matrix) because dataset IDs aren't guaranteed to match matrix indices" + } + }, + { + "box": { + "id": "obj-184", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 102.63804987072945, 1089.0, 177.0, 20.0 ], + "text": "update highlighted mesh (bang)" + } + }, + { + "box": { + "id": "obj-183", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 624.6380498707294, 1058.0, 84.0, 20.0 ], + "text": "store in matrix" + } + }, + { + "box": { + "id": "obj-181", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 534.6380498707294, 1025.0, 53.0, 20.0 ], + "text": "(x, y, ID)" + } + }, + { + "box": { + "id": "obj-179", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 202.63804987072945, 975.0, 83.0, 20.0 ], + "text": "fetch point XY" + } + }, + { + "box": { + "id": "obj-178", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 140.63804987072945, 706.0, 63.0, 20.0 ], + "text": "dataset ID" + } + }, + { + "box": { + "id": "obj-177", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 140.63804987072945, 655.0, 116.0, 20.0 ], + "text": "index in highlited list" + } + }, + { + "box": { + "id": "obj-175", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 372.63804987072945, 764.0, 99.0, 33.0 ], + "text": "fetch point color, store in matrix" + } + }, + { + "box": { + "id": "obj-174", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 28.638049870729446, 471.0, 143.0, 33.0 ], + "text": "iterate through the list of highlighted IDs" + } + }, + { + "box": { + "id": "obj-173", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 311.63804987072945, 220.5, 178.0, 33.0 ], + "text": "set dimensions for the matrices of the highlighted mesh" + } + }, + { + "box": { + "id": "obj-153", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 147.63804987072945, 873.0, 150.0, 22.0 ], + "text": "r #0_refer_datasetname" + } + }, + { + "box": { + "id": "obj-152", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 128.63804987072945, 907.0, 80.0, 22.0 ], + "text": "fluid.dataset~", + "varname": "dataset[1]" + } + }, + { + "box": { + "id": "obj-135", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 504.63804987072945, 1089.0, 187.0, 22.0 ], + "text": "jit.matrix #0_highlighted_points" + } + }, + { + "box": { + "id": "obj-145", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 0, + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ -403.0, -1323.0, 599.0, 304.0 ], + "boxes": [ + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 44.0, 72.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 180.0, 155.0, 61.0, 22.0 ], + "text": "list.ecils 4" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 44.0, 98.0, 91.0, 22.0 ], + "text": "prepend getcell" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 44.0, 128.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 222.0, 196.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 443.0, 261.0, 124.0, 20.0 ], + "text": "set cell in color matrix" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 222.0, 229.0, 145.0, 22.0 ], + "text": "setcell $5 val $1 $2 $3 $4" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 222.0, 261.0, 219.0, 22.0 ], + "text": "jit.matrix #0_highlighted_point_colors" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 291.0, 30.0, 173.0, 20.0 ], + "text": "index (in highlighted points list)" + } + }, + { + "box": { + "comment": "bang", + "cool": 1, + "id": "obj-10", + "index": 2, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 466.0, 25.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 85.0, 30.0, 63.0, 20.0 ], + "text": "dataset ID" + } + }, + { + "box": { + "comment": "bang", + "id": "obj-123", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 44.0, 25.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 1 ], + "midpoints": [ 475.5, 185.0, 242.0, 185.0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-44", 0 ], + "source": [ "obj-123", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-20", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-25", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-44", 0 ] + } + } + ] + }, + "patching_rect": [ 197.63804987072945, 764.0, 173.0, 22.0 ], + "text": "p fill_highlighted_colors_matrix" + } + }, + { + "box": { + "id": "obj-141", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 300.0, 358.0, 219.0, 22.0 ], + "text": "jit.matrix #0_highlighted_point_colors" + } + }, + { + "box": { + "id": "obj-38", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 343.0, 291.0, 187.0, 22.0 ], + "text": "jit.matrix #0_highlighted_points" + } + }, + { + "box": { + "id": "obj-65", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 504.63804987072945, 1057.0, 111.0, 22.0 ], + "text": "setcell $3 val $1 $2" + } + }, + { + "box": { + "id": "obj-63", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 504.63804987072945, 1024.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-61", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 128.63804987072945, 843.0, 167.0, 22.0 ], + "text": "getpoint $1 #0_point_query" + } + }, + { + "box": { + "id": "obj-60", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "int", "int", "int" ], + "patching_rect": [ 128.63804987072945, 631.0, 406.0, 22.0 ], + "text": "t i i i" + } + }, + { + "box": { + "id": "obj-59", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "int" ], + "patching_rect": [ 12.638049870729446, 511.0, 135.0, 22.0 ], + "text": "uzi 1 0" + } + }, + { + "box": { + "id": "obj-58", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 12.638049870729446, 190.5, 305.38804987072945, 22.0 ], + "text": "t i i" + } + }, + { + "box": { + "id": "obj-57", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 128.63804987072945, 680.0, 167.0, 22.0 ], + "text": "list.lookup @zlmaxsize 32767" + } + }, + { + "box": { + "id": "obj-54", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 12.638049870729446, 129.0, 283.0, 22.0 ], + "text": "t l l" + } + }, + { + "box": { + "id": "obj-53", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 12.638049870729446, 160.0, 147.0, 22.0 ], + "text": "list.len @zlmaxsize 32767" + } + }, + { + "box": { + "id": "obj-622", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "list" ], + "patching_rect": [ 128.63804987072945, 975.0, 72.0, 22.0 ], + "text": "fluid.buf2list" + } + }, + { + "box": { + "id": "obj-621", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "bang" ], + "patching_rect": [ 214.63804987072945, 907.0, 145.0, 22.0 ], + "text": "buffer~ #0_point_query" + } + }, + { + "box": { + "id": "obj-620", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 128.63804987072945, 944.0, 140.0, 22.0 ], + "text": "substitute getpoint buffer" + } + }, + { + "box": { + "comment": "highlight (list)", + "id": "obj-300", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 12.638049870729446, 10.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "update highlighted mesh (bang)", + "id": "obj-301", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 70.63804987072945, 1081.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-54", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-145", 0 ], + "source": [ "obj-10", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-61", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-10", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-59", 0 ], + "midpoints": [ 56.138049870729446, 454.6171875, 22.138049870729446, 454.6171875 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-59", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-141", 0 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-620", 0 ], + "source": [ "obj-152", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-152", 0 ], + "source": [ "obj-153", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-167", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-38", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-20", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-30", 0 ], + "source": [ "obj-21", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-30", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-32", 0 ], + "source": [ "obj-30", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-300", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-4", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-53", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 1 ], + "order": 1, + "source": [ "obj-54", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-53", 0 ], + "source": [ "obj-54", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-57", 1 ], + "order": 0, + "source": [ "obj-54", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-57", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "order": 0, + "source": [ "obj-58", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-58", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "order": 2, + "source": [ "obj-58", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "order": 1, + "source": [ "obj-58", 1 ] + } + }, + { + "patchline": { + "color": [ 0.986251711845398, 0.00723597407341, 0.02742300927639, 1.0 ], + "destination": [ "obj-301", 0 ], + "source": [ "obj-59", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-60", 0 ], + "source": [ "obj-59", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-6", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-145", 1 ], + "order": 0, + "source": [ "obj-60", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-57", 0 ], + "source": [ "obj-60", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-63", 1 ], + "source": [ "obj-60", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 1 ], + "order": 1, + "source": [ "obj-60", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-152", 0 ], + "source": [ "obj-61", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-622", 0 ], + "source": [ "obj-620", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-63", 0 ], + "source": [ "obj-622", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-65", 0 ], + "source": [ "obj-63", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-135", 0 ], + "source": [ "obj-65", 0 ] + } + } + ] + }, + "patching_rect": [ 869.0, 194.5, 308.0, 22.0 ], + "text": "p handle_highlight" + } + }, + { + "box": { + "id": "obj-299", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1527.0, 18.0, 224.0, 20.0 ], + "text": "refer (to labelset) or dictionary (of labels)" + } + }, + { + "box": { + "id": "obj-46", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 616.0, 86.0, 22.0 ], + "text": "pv num_labels" + } + }, + { + "box": { + "id": "obj-297", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 510.0, 898.0 ], + "boxes": [ + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 287.5, 106.0, 95.0, 20.0 ], + "text": "clear labels logs" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 273.4739002585411, 133.0, 35.0, 22.0 ], + "text": "clear" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 304.36195012927055, 162.5, 95.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_labels" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 287.5, 192.5, 137.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_unique_labels" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 273.4739002585411, 221.5, 134.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict #0_labels2colors" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 19.000023258541205, 52.0, 64.0, 22.0 ], + "text": "route refer" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 144.88804987072945, 845.0, 108.0, 20.0 ], + "text": "dictionary of labels" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 54.5, 23.0, 145.0, 20.0 ], + "text": "refer " + } + }, + { + "box": { + "id": "obj-283", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 33.02609974145889, 591.0, 212.0, 20.0 ], + "text": "bang if there was no labelset specified" + } + }, + { + "box": { + "id": "obj-281", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 33.02609974145889, 658.0, 95.0, 20.0 ], + "text": "clear labels logs" + } + }, + { + "box": { + "id": "obj-273", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 238.0, 645.0, 127.0, 33.0 ], + "text": "set all colors to black, trigger update" + } + }, + { + "box": { + "id": "obj-271", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 49.888049870729446, 437.5, 103.0, 22.0 ], + "text": "pv labelset_name" + } + }, + { + "box": { + "id": "obj-188", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 32.888049870729446, 295.5, 205.0, 60.0 ], + "text": "if there was a reference then emit refer message to dataset, and dump its dict, otherwise clear color matrices and label colls/dicts" + } + }, + { + "box": { + "id": "obj-151", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "" ], + "patching_rect": [ 19.0, 406.5, 80.77609974145889, 22.0 ], + "text": "sel 0 1" + } + }, + { + "box": { + "id": "obj-150", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.0, 377.5, 177.0, 22.0 ], + "text": "pv labelset_reference_specified" + } + }, + { + "box": { + "id": "obj-270", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 19.0, 264.0, 283.5, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-144", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 283.75, 406.5, 177.0, 22.0 ], + "text": "pv labelset_reference_specified" + } + }, + { + "box": { + "id": "obj-42", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 296.4739002585411, 295.5, 108.0, 20.0 ], + "text": "log reference state" + } + }, + { + "box": { + "id": "obj-87", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 283.5, 377.5, 33.0, 22.0 ], + "text": "== 0" + } + }, + { + "box": { + "id": "obj-79", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 283.5, 346.5, 210.0, 22.0 ], + "text": "list.compare #0_placeholder_labels" + } + }, + { + "box": { + "id": "obj-78", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 283.5, 320.5, 103.0, 22.0 ], + "text": "pv labelset_name" + } + }, + { + "box": { + "id": "obj-269", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "bang" ], + "patching_rect": [ 19.0, 78.0, 90.0, 22.0 ], + "text": "t b l b" + } + }, + { + "box": { + "id": "obj-30", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 66.61195012927055, 109.5, 153.0, 47.0 ], + "text": "save to labelset name, or use internal placeholder (if no args)" + } + }, + { + "box": { + "id": "obj-76", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 54.5, 190.5, 142.0, 22.0 ], + "text": "#0_placeholder_labels" + } + }, + { + "box": { + "id": "obj-75", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 54.5, 221.5, 103.0, 22.0 ], + "text": "pv labelset_name" + } + }, + { + "box": { + "id": "obj-50", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 54.5, 164.5, 54.0, 22.0 ], + "text": "sel bang" + } + }, + { + "box": { + "id": "obj-170", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 249.5, 727.0, 159.0, 22.0 ], + "text": "s #0_update_point_colors" + } + }, + { + "box": { + "id": "obj-169", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 228.5, 754.0, 224.0, 22.0 ], + "text": "s #0_update_highlighted_point_colors" + } + }, + { + "box": { + "id": "obj-113", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 19.0, 619.0, 228.5, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-108", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 112.88804987072945, 527.5, 69.0, 22.0 ], + "text": "route dump" + } + }, + { + "box": { + "id": "obj-104", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 49.888049870729446, 467.5, 87.0, 22.0 ], + "text": "refer $1, dump" + } + }, + { + "box": { + "id": "obj-95", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.0, 685.0, 35.0, 22.0 ], + "text": "clear" + } + }, + { + "box": { + "id": "obj-93", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 49.888049870729446, 496.5, 82.0, 22.0 ], + "text": "fluid.labelset~" + } + }, + { + "box": { + "id": "obj-37", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 228.5, 685.0, 110.0, 22.0 ], + "text": "setall 0 0 0 1, bang" + } + }, + { + "box": { + "id": "obj-127", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 49.888049870729446, 724.0, 95.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_labels" + } + }, + { + "box": { + "id": "obj-126", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 33.02609974145889, 754.0, 137.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_unique_labels" + } + }, + { + "box": { + "id": "obj-81", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 19.0, 783.0, 134.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict #0_labels2colors" + } + }, + { + "box": { + "comment": "refer ", + "id": "obj-295", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.000023258541205, 18.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "dictionary of labels", + "id": "obj-296", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 112.88804987072945, 840.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-269", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-93", 0 ], + "source": [ "obj-104", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-296", 0 ], + "source": [ "obj-108", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-37", 0 ], + "source": [ "obj-113", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-95", 0 ], + "source": [ "obj-113", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-151", 0 ], + "source": [ "obj-150", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-113", 0 ], + "source": [ "obj-151", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-271", 0 ], + "source": [ "obj-151", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-270", 0 ], + "source": [ "obj-269", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "midpoints": [ 99.5, 104.0, 282.9739002585411, 104.0 ], + "source": [ "obj-269", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "source": [ "obj-269", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-150", 0 ], + "source": [ "obj-270", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-78", 0 ], + "source": [ "obj-270", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-104", 0 ], + "source": [ "obj-271", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-295", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-169", 0 ], + "order": 1, + "source": [ "obj-37", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-170", 0 ], + "order": 0, + "source": [ "obj-37", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "order": 0, + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "order": 1, + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "order": 2, + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-50", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-76", 0 ], + "source": [ "obj-50", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-76", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-79", 0 ], + "source": [ "obj-78", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-87", 0 ], + "source": [ "obj-79", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-144", 0 ], + "source": [ "obj-87", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-108", 0 ], + "source": [ "obj-93", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-126", 0 ], + "order": 1, + "source": [ "obj-95", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-127", 0 ], + "order": 0, + "source": [ "obj-95", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-81", 0 ], + "order": 2, + "source": [ "obj-95", 0 ] + } + } + ] + }, + "patching_rect": [ 1642.0, 130.0, 134.0, 22.0 ], + "text": "p handle_refer_labelset" + } + }, + { + "box": { + "id": "obj-291", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1907.0, 645.0, 90.0, 20.0 ], + "text": "labels & colors:" + } + }, + { + "box": { + "id": "obj-287", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1943.0, 667.0, 95.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_labels" + } + }, + { + "box": { + "id": "obj-288", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1943.0, 693.0, 137.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_unique_labels" + } + }, + { + "box": { + "id": "obj-289", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 1944.0, 718.0, 134.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict #0_labels2colors" + } + }, + { + "box": { + "id": "obj-286", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 590.0, 177.0, 22.0 ], + "text": "pv labelset_reference_specified" + } + }, + { + "box": { + "id": "obj-285", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1653.0, 477.5, 136.0, 33.0 ], + "text": "bang when created dict with color palette" + } + }, + { + "box": { + "id": "obj-284", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1654.0, 203.0, 111.0, 20.0 ], + "text": "list of unique labels" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1653.0, 157.0, 108.0, 20.0 ], + "text": "dictionary of labels" + } + }, + { + "box": { + "id": "obj-279", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1944.0, 191.0, 199.0, 22.0 ], + "text": "jit.matrix #0_zoomrect 2 float32 4" + } + }, + { + "box": { + "id": "obj-277", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1944.0, 165.0, 279.0, 22.0 ], + "text": "jit.matrix #0_highlighted_point_colors 4 float32 1" + } + }, + { + "box": { + "id": "obj-278", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1944.0, 105.0, 246.0, 22.0 ], + "text": "jit.matrix #0_highlighted_points 2 float32 1" + } + }, + { + "box": { + "id": "obj-274", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1907.0, 18.0, 120.0, 20.0 ], + "text": "matrices for meshes:" + } + }, + { + "box": { + "id": "obj-268", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 565.0, 103.0, 22.0 ], + "text": "pv labelset_name" + } + }, + { + "box": { + "id": "obj-267", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 938.0, 537.0, 102.0, 20.0 ], + "text": "highlighted points" + } + }, + { + "box": { + "id": "obj-266", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 938.0, 786.0, 56.0, 20.0 ], + "text": "all points" + } + }, + { + "box": { + "id": "obj-265", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 878.5, 223.5, 139.0, 20.0 ], + "text": "update highlighted mesh" + } + }, + { + "box": { + "id": "obj-252", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1372.0, 761.0, 298.0, 20.0 ], + "text": "only let mousing through if there is a dataset reference" + } + }, + { + "box": { + "id": "obj-246", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1359.0, 680.0, 366.0, 33.0 ], + "text": "mouse tracking \n(x, y, button, cmd[mac]/ctrl[win], shift, caps, opt/alt ctrl[mac], ?, ?, ?)" + } + }, + { + "box": { + "id": "obj-244", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 850.0, -737.0, 645.0, 302.0 ], + "boxes": [ + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 434.00001199999997, 196.0, 81.0, 22.0 ], + "text": "s #0_to_node" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "float" ], + "patching_rect": [ 268.00001199999997, 139.0, 61.99999999999997, 22.0 ], + "text": "t b f" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 311.00001199999997, 196.0, 107.0, 22.0 ], + "text": "pv highlight_scale" + } + }, + { + "box": { + "coll_data": { + "count": 2, + "data": [ + { + "key": "circle", + "value": [ 0 ] + }, + { + "key": "square", + "value": [ 1 ] + } + ] + }, + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 12.00001199999997, 139.0, 89.0, 22.0 ], + "saved_object_attributes": { + "embed": 1, + "precision": 6 + }, + "text": "coll @embed 1" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 140.0, 260.0, 148.0, 22.0 ], + "text": "s #0_update_pointsizes" + } + }, + { + "box": { + "id": "obj-167", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 160.0, 230.0, 153.0, 22.0 ], + "text": "s #0_redraw_highlighted" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "float" ], + "patching_rect": [ 140.00001199999997, 139.0, 61.99999999999997, 22.0 ], + "text": "t b f" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 12.00001199999997, 210.0, 111.0, 22.0 ], + "text": "s #0_to_shaders" + } + }, + { + "box": { + "id": "obj-3", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 556.000012, 228.5, 77.0, 33.0 ], + "text": "other messages" + } + }, + { + "box": { + "comment": "colorscheme", + "id": "obj-241", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 524.000012, 230.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-2", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 25.0, 40.0, 114.0, 47.0 ], + "text": "shape\npointsizescale\nbgcolor" + } + }, + { + "box": { + "id": "obj-112", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 396.00001199999997, 163.0, 103.0, 22.0 ], + "text": "s #0_to_render" + } + }, + { + "box": { + "id": "obj-160", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 396.00001199999997, 139.0, 119.0, 22.0 ], + "text": "prepend erase_color" + } + }, + { + "box": { + "id": "obj-156", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 183.00001199999994, 168.0, 107.0, 22.0 ], + "text": "pv pointsize_scale" + } + }, + { + "box": { + "id": "obj-155", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 12.00001199999997, 176.0, 126.0, 22.0 ], + "text": "prepend param shape" + } + }, + { + "box": { + "id": "obj-154", + "maxclass": "newobj", + "numinlets": 5, + "numoutlets": 5, + "outlettype": [ "", "", "", "", "" ], + "patching_rect": [ 12.00001199999997, 107.0, 531.0, 22.0 ], + "text": "route shape pointsizescale highlightscale bgcolor" + } + }, + { + "box": { + "comment": "shape, pointsize, highlightedpointsize, bgcolor", + "id": "obj-243", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 12.00001199999997, 8.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-160", 0 ], + "source": [ "obj-154", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-241", 0 ], + "source": [ "obj-154", 4 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-154", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-154", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-154", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-155", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-112", 0 ], + "order": 1, + "source": [ "obj-160", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "order": 0, + "source": [ "obj-160", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-154", 0 ], + "source": [ "obj-243", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-156", 0 ], + "source": [ "obj-4", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-167", 0 ], + "order": 0, + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "order": 1, + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-167", 0 ], + "order": 0, + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "order": 1, + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-6", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-155", 0 ], + "source": [ "obj-7", 0 ] + } + } + ] + }, + "patching_rect": [ 1258.0, 322.5, 109.0, 22.0 ], + "text": "p drawing_settings" + } + }, + { + "box": { + "id": "obj-242", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 468.0, 239.0 ], + "boxes": [ + { + "box": { + "id": "obj-15", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 332.00001212927054, 65.0, 113.0, 22.0 ], + "text": "r #0_reset_range" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 238.99990125854129, 118.0, 36.0, 20.0 ], + "text": "other" + } + }, + { + "box": { + "id": "obj-2", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 31.0, 46.0, 45.0, 60.0 ], + "text": "xrange\nyrange\nrange\nother" + } + }, + { + "box": { + "id": "obj-190", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 332.00001212927054, 167.0, 116.0, 22.0 ], + "text": "pv yrange_pre_drag" + } + }, + { + "box": { + "id": "obj-189", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 125.66667879593751, 167.0, 116.0, 22.0 ], + "text": "pv xrange_pre_drag" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 332.00001212927054, 113.0, 80.0, 22.0 ], + "text": "loadmess 0 1" + } + }, + { + "box": { + "id": "obj-45", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 19.000012129270544, 167.0, 25.0, 22.0 ], + "text": "b 1" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 19.000012129270544, 199.0, 132.0, 22.0 ], + "text": "s #0_update_scaling" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 253.75001212927054, 167.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 54.000012129270544, 167.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "newobj", + "numinlets": 4, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 19.000012129270544, 113.0, 179.0, 22.0 ], + "text": "route xrange yrange range" + } + }, + { + "box": { + "comment": "xrange, yrange, range, other", + "id": "obj-240", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 19.000012129270544, 12.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "other", + "id": "obj-241", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 206.99990125854129, 113.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-189", 0 ], + "order": 2, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-190", 0 ], + "order": 0, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 3, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 1, + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-189", 0 ], + "order": 2, + "source": [ "obj-13", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-189", 0 ], + "order": 0, + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-190", 0 ], + "order": 0, + "source": [ "obj-13", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-190", 0 ], + "order": 0, + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 3, + "source": [ "obj-13", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 1, + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 1, + "source": [ "obj-13", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 1, + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-241", 0 ], + "source": [ "obj-13", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "order": 4, + "source": [ "obj-13", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "order": 2, + "source": [ "obj-13", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "order": 2, + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "source": [ "obj-240", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-44", 0 ], + "source": [ "obj-45", 0 ] + } + } + ] + }, + "patching_rect": [ 1258.0, 161.0, 98.0, 22.0 ], + "text": "p handle_ranges" + } + }, + { + "box": { + "id": "obj-236", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 425.5, 116.0, 22.0 ], + "text": "pv yrange_pre_drag" + } + }, + { + "box": { + "id": "obj-237", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 374.5, 116.0, 22.0 ], + "text": "pv xrange_pre_drag" + } + }, + { + "box": { + "id": "obj-238", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 399.5, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-239", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 348.5, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-235", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 235.95398337642348, 408.5, 141.0, 20.0 ], + "text": "start resize listener script" + } + }, + { + "box": { + "id": "obj-216", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 322.5, 93.0, 22.0 ], + "text": "pv bpatcher_wh" + } + }, + { + "box": { + "id": "obj-215", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 282.9539833764235, 456.5, 189.0, 47.0 ], + "text": "listen to changes in the bpatcher box size and set the pwindow's presentation_rect accordingly" + } + }, + { + "box": { + "id": "obj-212", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 501.9539833764235, 612.0, 115.0, 22.0 ], + "text": "s #0_to_pwindow" + } + }, + { + "box": { + "id": "obj-211", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 34.0, 100.0, 1660.0, 983.0 ], + "boxes": [ + { + "box": { + "id": "obj-31", + "linecount": 2, + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 756.0, 789.0, 81.38804987072922, 35.0 ], + "text": "dim $1, setall 0 0 0 0.8" + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 634.1380498707292, 838.75, 89.0, 22.0 ], + "text": "dim $1, setall 1" + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 634.1380498707292, 868.75, 203.0, 22.0 ], + "text": "jit.matrix #0_pointsizes 1 float32 1" + } + }, + { + "box": { + "id": "obj-165", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 756.0, 838.75, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1160.0, 608.75, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "size", "clear" ], + "patching_rect": [ 1017.0, 575.75, 162.0, 22.0 ], + "text": "t size clear" + } + }, + { + "box": { + "id": "obj-66", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1042.0, 873.75, 83.0, 22.0 ], + "text": "prepend store" + } + }, + { + "box": { + "id": "obj-63", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1042.0, 838.75, 43.0, 22.0 ], + "text": "list.rev" + } + }, + { + "box": { + "id": "obj-64", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1042.0, 907.0, 121.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_ids2samps" + } + }, + { + "box": { + "id": "obj-62", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1042.0, 807.75, 53.0, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-61", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1076.0, 778.75, 81.0, 22.0 ], + "text": "route getlabel" + } + }, + { + "box": { + "id": "obj-60", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1076.0, 750.75, 134.0, 22.0 ], + "text": "fluid.labelset~ #0_ids" + } + }, + { + "box": { + "id": "obj-59", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 1042.0, 695.75, 53.0, 22.0 ], + "text": "t i i" + } + }, + { + "box": { + "id": "obj-58", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1076.0, 722.75, 67.0, 22.0 ], + "text": "getlabel $1" + } + }, + { + "box": { + "id": "obj-56", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "int" ], + "patching_rect": [ 1017.0, 666.75, 44.0, 22.0 ], + "text": "uzi 1 0" + } + }, + { + "box": { + "id": "obj-54", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1017.0, 637.75, 61.0, 22.0 ], + "text": "route size" + } + }, + { + "box": { + "id": "obj-45", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1017.0, 608.75, 134.0, 22.0 ], + "text": "fluid.labelset~ #0_ids" + } + }, + { + "box": { + "id": "obj-47", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1086.0, 547.5, 195.0, 20.0 ], + "text": "only do it once for a loaded dataset" + } + }, + { + "box": { + "id": "obj-33", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "bang" ], + "patching_rect": [ 512.3880498707292, 654.0, 29.5, 22.0 ], + "text": "t i b" + } + }, + { + "box": { + "id": "obj-29", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 1017.0, 546.5, 65.0, 22.0 ], + "text": "onebang 1" + } + }, + { + "box": { + "id": "obj-65", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1017.0, 483.5, 148.0, 22.0 ], + "text": "r #0_request_ids_dump" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 554.3880498707292, 144.5, 35.111950129270554, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 554.3880498707292, 201.5, 132.0, 22.0 ], + "text": "s #0_update_scaling" + } + }, + { + "box": { + "id": "obj-21", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 566.0, 89.5, 244.0, 33.0 ], + "text": "reset view ranges to the default 0-1\nUPDATE: disabled for parity with fluid.plotter" + } + }, + { + "box": { + "id": "obj-15", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 570.4999999999998, 170.5, 115.0, 22.0 ], + "text": "s #0_reset_range" + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1613.9999999999989, 410.0, 219.0, 22.0 ], + "text": "jit.matrix #0_highlighted_point_colors" + } + }, + { + "box": { + "id": "obj-19", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1634.9999999999989, 382.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1623.4999999999993, 267.5, 154.0, 20.0 ], + "text": "turn all point colors to black" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1613.9999999999989, 321.5, 87.0, 22.0 ], + "text": "setall 0 0 0 0.8" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1888.5260997414575, 267.5, 95.0, 20.0 ], + "text": "clear labels logs" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1879.4999999999986, 321.5, 35.0, 22.0 ], + "text": "clear" + } + }, + { + "box": { + "id": "obj-11", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1910.388049870728, 351.0, 95.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_labels" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 1893.5260997414575, 381.0, 137.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_unique_labels" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 1879.4999999999986, 410.0, 134.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict #0_labels2colors" + } + }, + { + "box": { + "id": "obj-6", + "linecount": 6, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 151.49999999999977, 448.5, 137.0, 87.0 ], + "text": "if there is a reference, only show the main mesh, the highlighted mesh stays hidden until there is a highlight message received" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 317.3880498707292, 448.5, 55.0, 22.0 ], + "text": "enable 1" + } + }, + { + "box": { + "id": "obj-55", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1348.4999999999993, 321.5, 55.0, 22.0 ], + "text": "enable 0" + } + }, + { + "box": { + "id": "obj-53", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1348.4999999999993, 352.5, 162.0, 22.0 ], + "text": "s #0_to_highlighted_mesh" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1357.4999999999993, 267.5, 145.0, 20.0 ], + "text": "hide the highlighted mesh" + } + }, + { + "box": { + "id": "obj-27", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 752.6380498707292, 547.5, 152.0, 20.0 ], + "text": "dataset row at buffer frame" + } + }, + { + "box": { + "id": "obj-13", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 752.6380498707292, 576.75, 144.0, 20.0 ], + "text": "buffer frame to dataset ID" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 523.3880498707292, 791.0, 88.0, 20.0 ], + "text": "buffer to matrix" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 53.0, 835.5, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 58.99999987072945, 23.0, 173.0, 20.0 ], + "text": "refer " + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "bang" ], + "patching_rect": [ 21.0, 59.0, 552.3880498707292, 22.0 ], + "text": "t b l b" + } + }, + { + "box": { + "id": "obj-201", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 523.3880498707292, 701.0, 168.0, 47.0 ], + "text": "log number of points, update matrix dim and output matrix from jit.buffer" + } + }, + { + "box": { + "id": "obj-199", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 512.3880498707292, 614.5, 61.0, 22.0 ], + "text": "route size" + } + }, + { + "box": { + "id": "obj-198", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "int", "int", "int", "int" ], + "patching_rect": [ 512.3880498707292, 757.0, 384.25, 22.0 ], + "text": "t i i i i" + } + }, + { + "box": { + "id": "obj-192", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 523.3880498707292, 448.5, 95.0, 20.0 ], + "text": "dataset to buffer" + } + }, + { + "box": { + "id": "obj-188", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 300.3880498707292, 267.5, 204.0, 60.0 ], + "text": "if there was a reference then get the dataset points into a buffer and then a matrix to update the main mesh, otherwise hide it" + } + }, + { + "box": { + "id": "obj-187", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 565.9141496121881, 267.5, 117.0, 33.0 ], + "text": "emit refer message to the fluid.datasets" + } + }, + { + "box": { + "id": "obj-186", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 829.914149612188, 267.5, 169.0, 47.0 ], + "text": "it is necessary to dereference the buffer in jit.buffer first, so the dataset can resize it" + } + }, + { + "box": { + "id": "obj-164", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 512.1380498707292, 925.75, 114.0, 22.0 ], + "text": "s #0_to_jit_buffer" + } + }, + { + "box": { + "id": "obj-162", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 817.3880498707292, 348.5, 114.0, 22.0 ], + "text": "s #0_to_jit_buffer" + } + }, + { + "box": { + "id": "obj-158", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 529.3880498707292, 514.5, 150.0, 22.0 ], + "text": "r #0_refer_datasetname" + } + }, + { + "box": { + "id": "obj-151", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "" ], + "patching_rect": [ 286.4999999999998, 377.5, 80.77609974145889, 22.0 ], + "text": "sel 0 1" + } + }, + { + "box": { + "id": "obj-150", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 286.4999999999998, 348.5, 175.0, 22.0 ], + "text": "pv dataset_reference_specified" + } + }, + { + "box": { + "id": "obj-147", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 551.9999999999998, 348.5, 81.0, 22.0 ], + "text": "prepend refer" + } + }, + { + "box": { + "id": "obj-144", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1099.2499999999998, 413.5, 175.0, 22.0 ], + "text": "pv dataset_reference_specified" + } + }, + { + "box": { + "id": "obj-143", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 551.9999999999998, 321.5, 101.0, 22.0 ], + "text": "pv dataset_name" + } + }, + { + "box": { + "id": "obj-138", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 551.9999999999998, 377.5, 152.0, 22.0 ], + "text": "s #0_refer_datasetname" + } + }, + { + "box": { + "id": "obj-130", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 286.4999999999998, 483.5, 55.0, 22.0 ], + "text": "enable 0" + } + }, + { + "box": { + "id": "obj-124", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 286.4999999999998, 553.5, 162.0, 22.0 ], + "text": "s #0_to_highlighted_mesh" + } + }, + { + "box": { + "id": "obj-122", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 317.3880498707292, 518.5, 130.0, 22.0 ], + "text": "s #0_to_main_mesh" + } + }, + { + "box": { + "id": "obj-46", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1082.9999999999998, 444.5, 127.0, 22.0 ], + "text": "s #0_mousing_gate" + } + }, + { + "box": { + "id": "obj-42", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1091.9999999999998, 267.5, 163.0, 33.0 ], + "text": "do not let mousing through if there's no dataset reference" + } + }, + { + "box": { + "id": "obj-30", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 299.80597506463516, 89.5, 153.0, 47.0 ], + "text": "save to dataset name, or use internal placeholder (if no args)" + } + }, + { + "box": { + "id": "obj-87", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 1082.9999999999998, 378.5, 33.0, 22.0 ], + "text": "== 0" + } + }, + { + "box": { + "id": "obj-79", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1082.9999999999998, 347.5, 172.0, 22.0 ], + "text": "list.compare #0_placeholder" + } + }, + { + "box": { + "id": "obj-78", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1082.9999999999998, 321.5, 101.0, 22.0 ], + "text": "pv dataset_name" + } + }, + { + "box": { + "id": "obj-76", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 287.6940249353646, 170.5, 104.0, 22.0 ], + "text": "#0_placeholder" + } + }, + { + "box": { + "id": "obj-75", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 287.6940249353646, 201.5, 101.0, 22.0 ], + "text": "pv dataset_name" + } + }, + { + "box": { + "id": "obj-50", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 287.6940249353646, 144.5, 54.0, 22.0 ], + "text": "sel bang" + } + }, + { + "box": { + "id": "obj-43", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 317.3880498707292, 413.5, 214.0, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-72", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 877.6380498707292, 789.0, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 600.6380498707292, 576.75, 134.0, 22.0 ], + "text": "fluid.labelset~ #0_ids" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 8, + "outlettype": [ "bang", "bang", "bang", "bang", "bang", "bang", "bang", "bang" ], + "patching_rect": [ 21.0, 241.5, 1877.4999999999986, 22.0 ], + "text": "b 8" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 817.4999999999998, 321.5, 55.0, 22.0 ], + "text": "set none" + } + }, + { + "box": { + "id": "obj-553", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 512.1380498707292, 898.75, 229.0, 22.0 ], + "text": "set #0_points_2d, outputlast $1, output" + } + }, + { + "box": { + "id": "obj-533", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "float", "bang" ], + "patching_rect": [ 600.6380498707292, 547.5, 135.0, 22.0 ], + "text": "buffer~ #0_points_2d" + } + }, + { + "box": { + "id": "obj-529", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 512.3880498707292, 483.5, 228.0, 22.0 ], + "text": "tobuffer #0_points_2d 0 #0_ids, size" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 512.3880498707292, 547.5, 80.0, 22.0 ], + "text": "fluid.dataset~", + "varname": "dataset" + } + }, + { + "box": { + "comment": "refer ", + "id": "obj-209", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 21.0, 18.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "bang", + "id": "obj-210", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 21.0, 830.5, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-23", 0 ], + "disabled": 1, + "source": [ "obj-1", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "source": [ "obj-1", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-162", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-122", 0 ], + "order": 0, + "source": [ "obj-130", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-124", 0 ], + "order": 1, + "source": [ "obj-130", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-147", 0 ], + "source": [ "obj-143", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-138", 0 ], + "source": [ "obj-147", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-151", 0 ], + "source": [ "obj-150", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-130", 0 ], + "source": [ "obj-151", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-43", 0 ], + "source": [ "obj-151", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-158", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-19", 0 ], + "order": 0, + "source": [ "obj-16", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "order": 1, + "source": [ "obj-16", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-199", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-198", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-31", 0 ], + "source": [ "obj-198", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-553", 0 ], + "source": [ "obj-198", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-72", 0 ], + "source": [ "obj-198", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-33", 0 ], + "source": [ "obj-199", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-122", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-209", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "source": [ "obj-23", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-24", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-45", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-35", 0 ], + "source": [ "obj-28", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "source": [ "obj-29", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-165", 0 ], + "source": [ "obj-31", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-198", 0 ], + "source": [ "obj-33", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 1 ], + "midpoints": [ 532.3880498707292, 686.0, 1006.4440249353646, 686.0, 1006.4440249353646, 535.5, 1072.5, 535.5 ], + "source": [ "obj-33", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-4", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-143", 0 ], + "source": [ "obj-4", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-150", 0 ], + "source": [ "obj-4", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-4", 6 ] + } + }, + { + "patchline": { + "destination": [ "obj-210", 0 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-55", 0 ], + "source": [ "obj-4", 5 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-4", 7 ] + } + }, + { + "patchline": { + "destination": [ "obj-78", 0 ], + "source": [ "obj-4", 4 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-43", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-529", 0 ], + "source": [ "obj-43", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-54", 0 ], + "source": [ "obj-45", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-50", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-76", 0 ], + "source": [ "obj-50", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-529", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-56", 0 ], + "source": [ "obj-54", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-53", 0 ], + "source": [ "obj-55", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-164", 0 ], + "source": [ "obj-553", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-59", 0 ], + "source": [ "obj-56", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-60", 0 ], + "source": [ "obj-58", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-59", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-62", 0 ], + "source": [ "obj-59", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-61", 0 ], + "source": [ "obj-60", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-62", 1 ], + "source": [ "obj-61", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-63", 0 ], + "source": [ "obj-62", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-66", 0 ], + "source": [ "obj-63", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 0 ], + "source": [ "obj-65", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-64", 0 ], + "source": [ "obj-66", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "order": 0, + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "order": 1, + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-14", 0 ], + "order": 2, + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-76", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-79", 0 ], + "source": [ "obj-78", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-87", 0 ], + "source": [ "obj-79", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-144", 0 ], + "order": 0, + "source": [ "obj-87", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-46", 0 ], + "order": 1, + "source": [ "obj-87", 0 ] + } + } + ] + }, + "patching_rect": [ 177.95398337642348, 372.5, 86.0, 22.0 ], + "text": "p handle_refer" + } + }, + { + "box": { + "id": "obj-208", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1907.0, 750.0, 199.0, 20.0 ], + "text": "placeholders (for safe dereference):" + } + }, + { + "box": { + "id": "obj-206", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 271.5, 175.0, 22.0 ], + "text": "pv dataset_reference_specified" + } + }, + { + "box": { + "id": "obj-207", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 245.5, 199.0, 22.0 ], + "text": "pv dataset_name #0_placeholder" + } + }, + { + "box": { + "id": "obj-205", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1907.0, 218.0, 93.0, 20.0 ], + "text": "patch variables:" + } + }, + { + "box": { + "id": "obj-203", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1944.0, 296.5, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "id": "obj-171", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1022.0, 343.0, 222.0, 22.0 ], + "text": "r #0_update_highlighted_point_colors" + } + }, + { + "box": { + "id": "obj-168", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1005.0, 619.0, 157.0, 22.0 ], + "text": "r #0_update_point_colors" + } + }, + { + "box": { + "id": "obj-167", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1687.0, 612.5, 153.0, 22.0 ], + "text": "s #0_redraw_highlighted" + } + }, + { + "box": { + "id": "obj-166", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "bang" ], + "patching_rect": [ 928.0, 619.0, 40.0, 22.0 ], + "text": "t b l b" + } + }, + { + "box": { + "id": "obj-163", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 928.0, 561.0, 112.0, 22.0 ], + "text": "r #0_to_jit_buffer" + } + }, + { + "box": { + "id": "obj-121", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1028.0, 417.0, 160.0, 22.0 ], + "text": "r #0_to_highlighted_mesh" + } + }, + { + "box": { + "id": "obj-120", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1018.5, 118.0, 53.0, 20.0 ], + "text": "highlight" + } + }, + { + "box": { + "id": "obj-119", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1270.5, 299.0, 249.0, 20.0 ], + "text": "shape, pointsizescale, highlightscale, bgcolor" + } + }, + { + "box": { + "id": "obj-101", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1032.0, 685.5, 128.0, 22.0 ], + "text": "r #0_to_main_mesh" + } + }, + { + "box": { + "id": "obj-98", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "", "" ], + "patching_rect": [ 177.95398337642348, 546.0, 343.0, 22.0 ], + "text": "t b l l" + } + }, + { + "box": { + "id": "obj-51", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1312.0, 731.0, 125.0, 22.0 ], + "text": "r #0_mousing_gate" + } + }, + { + "box": { + "id": "obj-40", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 454.0, 118.0, 33.0, 20.0 ], + "text": "refer" + } + }, + { + "box": { + "id": "obj-67", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1863.0, 911.0, 182.0, 20.0 ], + "text": "report zoomxrange, zoomyrange" + } + }, + { + "box": { + "comment": "report zoomxrange zoomyrange", + "id": "obj-68", + "index": 0, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1833.0, 905.0, 31.0, 31.0 ] + } + }, + { + "box": { + "id": "obj-223", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1345.0, 911.0, 126.0, 20.0 ], + "text": "normalized mouse XY" + } + }, + { + "box": { + "id": "obj-148", + "linecount": 3, + "maxclass": "newobj", + "numinlets": 9, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1573.0, 865.0, 249.0, 49.0 ], + "text": "jit.gl.mesh @draw_mode quads @gl_color 0 0 0 0.2 @layer 1 @blend_enable 1 @drawto #0_fluid.jit.plotter.node @layer 2" + } + }, + { + "box": { + "id": "obj-92", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1943.0, 804.0, 219.0, 22.0 ], + "text": "fluid.labelset~ #0_placeholder_labels" + } + }, + { + "box": { + "id": "obj-77", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1312.0, 761.0, 52.0, 22.0 ], + "text": "gate 1 0" + } + }, + { + "box": { + "id": "obj-29", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1943.0, 774.0, 179.0, 22.0 ], + "text": "fluid.dataset~ #0_placeholder" + } + }, + { + "box": { + "id": "obj-146", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "bang", "bang", "bang", "bang" ], + "patching_rect": [ 869.0, 245.5, 222.9999999999999, 22.0 ], + "text": "b 4" + } + }, + { + "box": { + "id": "obj-142", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1005.0, 379.0, 219.0, 22.0 ], + "text": "jit.matrix #0_highlighted_point_colors" + } + }, + { + "box": { + "id": "obj-137", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1944.0, 79.0, 214.0, 22.0 ], + "text": "jit.matrix #0_point_colors 4 float32 1" + } + }, + { + "box": { + "id": "obj-136", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 84.0, 144.0, 360.0, 264.0 ], + "boxes": [ + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 238.0, 25.0, 77.0, 20.0 ], + "text": "colorscheme" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 206.0, 67.0, 133.0, 22.0 ], + "text": "routepass colorscheme" + } + }, + { + "box": { + "comment": "colorscheme", + "id": "obj-1", + "index": 2, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 206.0, 20.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-3", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 184.0, 106.0, 151.0, 60.0 ], + "text": "this replicates the creation of the colorscheme from fluid.plotter and outputs the scheme as a dictionary" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 53.0, 216.0, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 53.0, 25.0, 111.0, 20.0 ], + "text": "list of unique labels" + } + }, + { + "box": { + "id": "obj-128", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "" ], + "patching_rect": [ 18.0, 137.0, 39.5, 22.0 ], + "text": "t b l" + } + }, + { + "box": { + "id": "obj-80", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 39.0, 173.0, 134.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict #0_labels2colors" + } + }, + { + "box": { + "id": "obj-77", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 67.0, 126.0, 22.0 ], + "text": "prepend labels2colors" + } + }, + { + "box": { + "id": "obj-75", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 106.0, 164.0, 22.0 ], + "saved_object_attributes": { + "filename": "fluid.jit.plotter.labels2colors", + "parameter_enable": 0 + }, + "text": "js fluid.jit.plotter.labels2colors" + } + }, + { + "box": { + "comment": "list of unique labels", + "id": "obj-134", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 18.0, 20.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "bang", + "id": "obj-135", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 18.0, 211.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-135", 0 ], + "source": [ "obj-128", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-80", 0 ], + "source": [ "obj-128", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-77", 0 ], + "source": [ "obj-134", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-128", 0 ], + "source": [ "obj-75", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-77", 0 ] + } + } + ] + }, + "patching_rect": [ 1642.0, 453.5, 89.0, 22.0 ], + "text": "p labels2colors" + } + }, + { + "box": { + "id": "obj-133", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 84.0, 144.0, 273.0, 667.0 ], + "boxes": [ + { + "box": { + "id": "obj-9", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 89.5, 442.0, 58.0, 20.0 ], + "text": "coll to list" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 37.5, 389.0, 137.0, 20.0 ], + "text": "number of unique labels" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 140.0, 206.0, 112.0, 20.0 ], + "text": "count unique labels" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 132.0, 98.0, 97.0, 20.0 ], + "text": "labels dict to coll" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 55.5, 621.0, 111.0, 20.0 ], + "text": "list of unique labels" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 55.5, 24.0, 108.0, 20.0 ], + "text": "dictionary of labels" + } + }, + { + "box": { + "id": "obj-62", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 85.33333333333326, 541.0, 77.0, 22.0 ], + "text": "route symbol" + } + }, + { + "box": { + "id": "obj-51", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 25.0, 584.0, 162.0, 22.0 ], + "text": "list.group @zlmaxsize 32767" + } + }, + { + "box": { + "id": "obj-50", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 46.0, 509.0, 137.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_unique_labels" + } + }, + { + "box": { + "id": "obj-48", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "dump", "int" ], + "patching_rect": [ 25.0, 442.0, 61.0, 22.0 ], + "text": "t b dump i" + } + }, + { + "box": { + "id": "obj-46", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 67.0, 476.0, 86.0, 22.0 ], + "text": "pv num_labels" + } + }, + { + "box": { + "id": "obj-41", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 71.0, 299.0, 83.0, 22.0 ], + "text": "prepend store" + } + }, + { + "box": { + "id": "obj-42", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 71.0, 325.0, 59.0, 22.0 ], + "text": "append 0" + } + }, + { + "box": { + "id": "obj-43", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 71.0, 269.0, 77.0, 22.0 ], + "text": "route symbol" + } + }, + { + "box": { + "id": "obj-40", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 25.0, 362.0, 137.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_unique_labels" + } + }, + { + "box": { + "id": "obj-37", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "length", "dump", "clear" ], + "patching_rect": [ 25.0, 205.0, 111.0, 22.0 ], + "text": "t length dump clear" + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 65.0, 128.0, 144.0, 22.0 ], + "text": "push_to_coll #0_labels" + } + }, + { + "box": { + "id": "obj-29", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 65.0, 161.0, 50.5, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict" + } + }, + { + "box": { + "id": "obj-26", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 71.0, 240.0, 95.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_labels" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "" ], + "patching_rect": [ 25.0, 98.0, 99.0, 22.0 ], + "text": "t b b l" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 25.0, 67.0, 99.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1 + }, + "text": "dict.unpack data:" + } + }, + { + "box": { + "comment": "dictionary of labels", + "id": "obj-131", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 25.0, 19.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "list of unique labels", + "id": "obj-132", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 25.0, 616.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-131", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 0 ], + "source": [ "obj-22", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-35", 0 ], + "source": [ "obj-22", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-37", 0 ], + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-43", 0 ], + "source": [ "obj-26", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 0 ], + "source": [ "obj-35", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-26", 0 ], + "source": [ "obj-37", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-40", 0 ], + "source": [ "obj-37", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-40", 0 ], + "source": [ "obj-37", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-48", 0 ], + "source": [ "obj-40", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-41", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-40", 0 ], + "source": [ "obj-42", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-41", 0 ], + "source": [ "obj-43", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-43", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-46", 0 ], + "source": [ "obj-48", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "source": [ "obj-48", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-51", 0 ], + "source": [ "obj-48", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-62", 0 ], + "source": [ "obj-50", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-132", 0 ], + "source": [ "obj-51", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-51", 0 ], + "source": [ "obj-62", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-51", 0 ], + "source": [ "obj-62", 0 ] + } + } + ] + }, + "patching_rect": [ 1642.0, 179.0, 135.0, 22.0 ], + "text": "p extract_unique_labels" + } + }, + { + "box": { + "id": "obj-125", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ -348.0, -1321.0, 304.0, 799.0 ], + "boxes": [ + { + "box": { + "id": "obj-39", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 106.0, 439.75, 71.0, 22.0 ], + "text": "fromsymbol" + } + }, + { + "box": { + "id": "obj-29", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 106.0, 372.0, 81.0, 22.0 ], + "text": "route getlabel" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 106.0, 308.0, 67.0, 22.0 ], + "text": "getlabel $1" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 106.0, 340.0, 134.0, 22.0 ], + "text": "fluid.labelset~ #0_ids" + } + }, + { + "box": { + "id": "obj-22", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 116.5, 257.0, 138.0, 47.0 ], + "text": "look up the dataset ID corresponding to the buffer frame/matrix cell" + } + }, + { + "box": { + "id": "obj-1", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 116.0, 404.75, 179.0, 33.0 ], + "text": "look up their label and the color corresponding to that label" + } + }, + { + "box": { + "id": "obj-7", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 113.5, 638.0, 121.0, 33.0 ], + "text": "fill in looked-up color for each point" + } + }, + { + "box": { + "id": "obj-4", + "linecount": 2, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 100.5, 90.0, 122.0, 33.0 ], + "text": "set colors matrix dim to number of colors" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 80.75, 751.0, 97.0, 20.0 ], + "text": "bang when done" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 55.5, 19.0, 35.0, 20.0 ], + "text": "bang" + } + }, + { + "box": { + "id": "obj-118", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 76.5, 678.0, 145.0, 22.0 ], + "text": "setcell $1 val $2 $3 $4 $5" + } + }, + { + "box": { + "id": "obj-116", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 76.5, 710.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-115", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 50.5, 149.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-114", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.5, 122.0, 45.0, 22.0 ], + "text": "dim $1" + } + }, + { + "box": { + "id": "obj-112", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 15.0, 90.0, 54.5, 22.0 ], + "text": "t i i" + } + }, + { + "box": { + "id": "obj-111", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 76.5, 638.0, 29.5, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-110", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 76.5, 222.0, 48.5, 22.0 ], + "text": "t i i" + } + }, + { + "box": { + "id": "obj-107", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 144.0, 593.0, 61.0, 22.0 ], + "text": "list.slice 1" + } + }, + { + "box": { + "id": "obj-102", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 106.0, 565.0, 134.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict #0_labels2colors" + } + }, + { + "box": { + "id": "obj-101", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 106.0, 536.0, 73.0, 22.0 ], + "text": "prepend get" + } + }, + { + "box": { + "id": "obj-100", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 106.0, 502.0, 77.0, 22.0 ], + "text": "route symbol" + } + }, + { + "box": { + "id": "obj-92", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 106.0, 471.0, 95.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll #0_labels" + } + }, + { + "box": { + "id": "obj-91", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 3, + "outlettype": [ "bang", "bang", "int" ], + "patching_rect": [ 15.0, 190.0, 80.5, 22.0 ], + "text": "uzi 1 0" + } + }, + { + "box": { + "id": "obj-86", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 15.0, 58.0, 87.0, 22.0 ], + "text": "pv num_points" + } + }, + { + "box": { + "comment": "bang", + "id": "obj-123", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 15.0, 14.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "bang", + "id": "obj-124", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 45.75, 746.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-101", 0 ], + "source": [ "obj-100", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-101", 0 ], + "source": [ "obj-100", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-102", 0 ], + "source": [ "obj-101", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-107", 0 ], + "source": [ "obj-102", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-111", 1 ], + "source": [ "obj-107", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-111", 0 ], + "source": [ "obj-110", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-110", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-118", 0 ], + "source": [ "obj-111", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-114", 0 ], + "source": [ "obj-112", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-91", 0 ], + "source": [ "obj-112", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-115", 0 ], + "source": [ "obj-114", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-116", 0 ], + "source": [ "obj-118", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-86", 0 ], + "source": [ "obj-123", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-29", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "source": [ "obj-25", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-29", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-92", 0 ], + "source": [ "obj-39", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-112", 0 ], + "source": [ "obj-86", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-110", 0 ], + "source": [ "obj-91", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-124", 0 ], + "source": [ "obj-91", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-100", 0 ], + "source": [ "obj-92", 0 ] + } + } + ] + }, + "patching_rect": [ 1642.0, 522.5, 108.0, 22.0 ], + "text": "p fill_colors_matrix" + } + }, + { + "box": { + "id": "obj-74", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 1005.0, 655.0, 155.0, 22.0 ], + "text": "jit.matrix #0_point_colors" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 1579.0, 94.0, 144.0, 22.0 ], + "text": "routepass dictionary refer" + } + }, + { + "box": { + "comment": "refer (to labelset) or dictionary (of labels)", + "id": "obj-14", + "index": 0, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1495.0, 13.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-47", + "linecount": 4, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1278.0, 98.0, 200.0, 60.0 ], + "text": "xrange & yrange sets axes individually, range overwrites both.\nWe also store these as the ranges defined before click'n'drag zooming." + } + }, + { + "box": { + "id": "obj-20", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "jit_matrix" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 621.0, 472.0 ], + "boxes": [ + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 244.5, 418.0, 139.0, 20.0 ], + "text": "scaled 2-plane ds matrix" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 199.0, 69.0, 29.5, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 199.0, 41.0, 130.0, 22.0 ], + "text": "r #0_update_scaling" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 390.50001212927054, 117.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 116.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 390.50001212927054, 201.0, 89.0, 22.0 ], + "text": "map $1 $2 -1 1" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 201.0, 89.0, 22.0 ], + "text": "map $1 $2 -1 1" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 209.5, 376.0, 56.0, 22.0 ], + "text": "jit.pack 2" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 390.50001212927054, 324.0, 170.0, 22.0 ], + "text": "jit.map @map 0 1 -1 1 @clip 0" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 45.000012129270544, 201.0, 53.0, 22.0 ], + "text": "jit.matrix" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "jit_matrix", "jit_matrix", "" ], + "patching_rect": [ 45.000012129270544, 257.0, 69.0, 22.0 ], + "text": "jit.unpack 2" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 453.50001212927054, 117.0, 45.0, 20.0 ], + "text": "yrange" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 272.5, 117.0, 45.0, 20.0 ], + "text": "xrange" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.0, 41.0, 101.0, 20.0 ], + "text": "2-plane ds matrix" + } + }, + { + "box": { + "id": "obj-566", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 209.5, 324.0, 170.0, 22.0 ], + "text": "jit.map @map 0 1 -1 1 @clip 0" + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 209.50001212927054, 413.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 1, + "source": [ "obj-22", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 0, + "source": [ "obj-22", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-566", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-7", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-8", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 1 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 938.0, 655.0, 56.0, 22.0 ], + "text": "p scaling" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 1427.0, 459.0, 58.0, 22.0 ], + "text": "loadbang" + } + }, + { + "box": { + "id": "obj-8", + "linecount": 3, + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 1427.0, 486.0, 105.0, 49.0 ], + "text": "getattr presentation_rect @listen 0" + } + }, + { + "box": { + "id": "obj-31", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 501.9539833764235, 578.0, 149.0, 22.0 ], + "text": "prepend presentation_rect" + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 215.95398337642348, 443.5, 63.0, 22.0 ], + "text": "closebang" + } + }, + { + "box": { + "id": "obj-27", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 215.95398337642348, 469.5, 31.0, 22.0 ], + "text": "stop" + } + }, + { + "box": { + "id": "obj-15", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 177.95398337642348, 469.5, 32.0, 22.0 ], + "text": "start" + } + }, + { + "box": { + "id": "obj-19", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 177.95398337642348, 507.5, 176.0, 22.0 ], + "saved_object_attributes": { + "filename": "fluid.jit.plotter.resize.pwindow", + "parameter_enable": 0 + }, + "text": "js fluid.jit.plotter.resize.pwindow" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "jit_matrix", "jit_matrix", "" ], + "patching_rect": [ 928.0, 590.0, 58.0, 22.0 ], + "text": "jit.buffer~" + } + }, + { + "box": { + "comment": "normalized mouse XY", + "id": "obj-6", + "index": 0, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 1312.0, 905.0, 31.0, 31.0 ] + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 7, + "numoutlets": 7, + "outlettype": [ "", "", "", "", "", "", "" ], + "patching_rect": [ 88.0, 94.0, 1189.0, 22.0 ], + "text": "route clear reset refer dictionary setpoint highlight" + } + }, + { + "box": { + "comment": "refer , highlight ", + "id": "obj-1", + "index": 0, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 8.0, 13.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-599", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 938.0, 311.0, 187.0, 22.0 ], + "text": "jit.matrix #0_highlighted_points" + } + }, + { + "box": { + "id": "obj-585", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "jit_matrix" ], + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 1, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 59.0, 119.0, 621.0, 472.0 ], + "boxes": [ + { + "box": { + "id": "obj-25", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 244.5, 418.0, 139.0, 20.0 ], + "text": "scaled 2-plane ds matrix" + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "bang", "bang" ], + "patching_rect": [ 199.0, 69.0, 29.5, 22.0 ], + "text": "b 2" + } + }, + { + "box": { + "id": "obj-44", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 199.0, 41.0, 130.0, 22.0 ], + "text": "r #0_update_scaling" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 390.50001212927054, 117.0, 61.0, 22.0 ], + "text": "pv yrange" + } + }, + { + "box": { + "id": "obj-23", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 116.0, 61.0, 22.0 ], + "text": "pv xrange" + } + }, + { + "box": { + "id": "obj-17", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 390.50001212927054, 201.0, 89.0, 22.0 ], + "text": "map $1 $2 -1 1" + } + }, + { + "box": { + "id": "obj-12", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 209.5, 201.0, 89.0, 22.0 ], + "text": "map $1 $2 -1 1" + } + }, + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 209.5, 376.0, 56.0, 22.0 ], + "text": "jit.pack 2" + } + }, + { + "box": { + "id": "obj-9", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 390.50001212927054, 324.0, 170.0, 22.0 ], + "text": "jit.map @map 0 1 -1 1 @clip 0" + } + }, + { + "box": { + "id": "obj-8", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 45.000012129270544, 201.0, 53.0, 22.0 ], + "text": "jit.matrix" + } + }, + { + "box": { + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "jit_matrix", "jit_matrix", "" ], + "patching_rect": [ 45.000012129270544, 257.0, 69.0, 22.0 ], + "text": "jit.unpack 2" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 453.50001212927054, 117.0, 45.0, 20.0 ], + "text": "yrange" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 272.5, 117.0, 45.0, 20.0 ], + "text": "xrange" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 77.0, 41.0, 101.0, 20.0 ], + "text": "2-plane ds matrix" + } + }, + { + "box": { + "id": "obj-566", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "jit_matrix", "" ], + "patching_rect": [ 209.5, 324.0, 170.0, 22.0 ], + "text": "jit.map @map 0 1 -1 1 @clip 0" + } + }, + { + "box": { + "comment": "", + "id": "obj-14", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "jit_matrix" ], + "patching_rect": [ 45.000012129270544, 36.0, 30.0, 30.0 ] + } + }, + { + "box": { + "comment": "", + "id": "obj-16", + "index": 1, + "maxclass": "outlet", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 209.50001212927054, 413.0, 30.0, 30.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-12", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "order": 1, + "source": [ "obj-22", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "order": 0, + "source": [ "obj-22", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-12", 0 ], + "source": [ "obj-23", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-44", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-566", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-566", 0 ], + "source": [ "obj-7", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-7", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-8", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 1 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 938.0, 379.0, 56.0, 22.0 ], + "text": "p scaling" + } + }, + { + "box": { + "id": "obj-586", + "linecount": 5, + "maxclass": "newobj", + "numinlets": 9, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 938.0, 459.0, 294.0, 76.0 ], + "text": "jit.gl.mesh @draw_mode points @antialias 1 @gl_color 0 0 0 1 @enable 0 @drawto #0_fluid.jit.plotter.node @point_mode user_shader @shader #0_highlighted_points_render @blend_enable 0 @depth_enable 1 @layer 1" + } + }, + { + "box": { + "id": "obj-568", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1345.0, 656.0, 75.0, 22.0 ], + "text": "route mouse" + } + }, + { + "box": { + "id": "obj-554", + "linecount": 4, + "maxclass": "newobj", + "numinlets": 9, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 938.0, 722.0, 298.0, 62.0 ], + "text": "jit.gl.mesh @draw_mode points @antialias 1 @gl_color 0 0 0 1 @drawto #0_fluid.jit.plotter.node @point_mode user_shader @shader #0_points_render @depth_enable 0 @blend_enable 1" + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-66", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-15", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "midpoints": [ 680.5, 713.0, 699.5, 713.0 ], + "order": 0, + "source": [ "obj-100", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-52", 0 ], + "midpoints": [ 680.5, 448.5, 699.5, 448.5 ], + "order": 1, + "source": [ "obj-100", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-554", 0 ], + "source": [ "obj-101", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-586", 0 ], + "source": [ "obj-11", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-586", 0 ], + "source": [ "obj-121", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-59", 0 ], + "source": [ "obj-125", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-211", 0 ], + "source": [ "obj-13", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-136", 0 ], + "source": [ "obj-133", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-125", 0 ], + "source": [ "obj-136", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-70", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-586", 3 ], + "source": [ "obj-142", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-11", 0 ], + "source": [ "obj-146", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-142", 0 ], + "source": [ "obj-146", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-599", 0 ], + "source": [ "obj-146", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-76", 0 ], + "source": [ "obj-146", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-19", 0 ], + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-133", 0 ], + "midpoints": [ 1588.5, 164.75, 1651.5, 164.75 ], + "source": [ "obj-16", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-297", 0 ], + "source": [ "obj-16", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "midpoints": [ 1713.5, 122.5, 1488.3880499353647, 122.5, 1488.3880499353647, 86.0, 97.5, 86.0 ], + "source": [ "obj-16", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-9", 0 ], + "source": [ "obj-163", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-20", 0 ], + "source": [ "obj-166", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-74", 0 ], + "source": [ "obj-166", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-166", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-74", 0 ], + "source": [ "obj-168", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-211", 0 ], + "source": [ "obj-17", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-33", 0 ], + "order": 1, + "source": [ "obj-17", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-43", 1 ], + "source": [ "obj-17", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-53", 0 ], + "order": 0, + "source": [ "obj-17", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-61", 0 ], + "source": [ "obj-17", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-142", 0 ], + "source": [ "obj-171", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-8", 0 ], + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-98", 0 ], + "source": [ "obj-19", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-554", 0 ], + "source": [ "obj-20", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-211", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-93", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "source": [ "obj-242", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "source": [ "obj-244", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-19", 0 ], + "source": [ "obj-27", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-27", 0 ], + "source": [ "obj-28", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-133", 0 ], + "source": [ "obj-297", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-13", 0 ], + "midpoints": [ 682.5, 255.25, 214.5, 255.25 ], + "source": [ "obj-3", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "midpoints": [ 292.5, 129.5, 97.5, 129.5 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-17", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-211", 0 ], + "midpoints": [ 487.5, 233.75, 187.45398337642348, 233.75 ], + "source": [ "obj-3", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-242", 0 ], + "source": [ "obj-3", 6 ] + } + }, + { + "patchline": { + "destination": [ "obj-302", 0 ], + "midpoints": [ 1072.5, 185.0, 878.5, 185.0 ], + "source": [ "obj-3", 5 ] + } + }, + { + "patchline": { + "destination": [ "obj-43", 0 ], + "midpoints": [ 877.5, 156.0, 696.0, 156.0, 696.0, 317.0, 232.5, 317.0 ], + "source": [ "obj-3", 4 ] + } + }, + { + "patchline": { + "color": [ 0.986251711845398, 0.00723597407341, 0.02742300927639, 1.0 ], + "destination": [ "obj-146", 0 ], + "source": [ "obj-302", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-63", 0 ], + "source": [ "obj-302", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-307", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-68", 0 ], + "source": [ "obj-307", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-72", 0 ], + "source": [ "obj-307", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-212", 0 ], + "source": [ "obj-31", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-32", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-34", 0 ], + "source": [ "obj-33", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-136", 1 ], + "midpoints": [ 1267.5, 449.5, 1721.5, 449.5 ], + "source": [ "obj-36", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-38", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-568", 0 ], + "source": [ "obj-39", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-41", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-41", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-211", 0 ], + "source": [ "obj-43", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-45", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-41", 0 ], + "source": [ "obj-49", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-77", 0 ], + "source": [ "obj-51", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "source": [ "obj-53", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-49", 0 ], + "source": [ "obj-55", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-77", 1 ], + "source": [ "obj-568", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-62", 0 ], + "source": [ "obj-58", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-586", 0 ], + "source": [ "obj-585", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-167", 0 ], + "source": [ "obj-59", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-59", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-65", 0 ], + "source": [ "obj-59", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-585", 0 ], + "source": [ "obj-599", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-586", 0 ], + "source": [ "obj-63", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "source": [ "obj-66", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-64", 0 ], + "source": [ "obj-66", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-70", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-69", 0 ], + "source": [ "obj-70", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-148", 0 ], + "source": [ "obj-72", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-71", 0 ], + "source": [ "obj-72", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-554", 3 ], + "source": [ "obj-74", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-554", 0 ], + "source": [ "obj-75", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-586", 0 ], + "source": [ "obj-76", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-307", 0 ], + "source": [ "obj-77", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-39", 0 ], + "source": [ "obj-8", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-88", 0 ], + "source": [ "obj-8", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-86", 0 ], + "order": 1, + "source": [ "obj-83", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-89", 0 ], + "order": 0, + "source": [ "obj-83", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-84", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-84", 0 ], + "source": [ "obj-85", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-85", 0 ], + "source": [ "obj-86", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-87", 0 ], + "source": [ "obj-88", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-166", 0 ], + "source": [ "obj-9", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-58", 0 ], + "source": [ "obj-90", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-244", 0 ], + "source": [ "obj-93", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-31", 0 ], + "source": [ "obj-98", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-56", 0 ], + "source": [ "obj-98", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-83", 0 ], + "source": [ "obj-98", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-75", 0 ], + "source": [ "obj-99", 0 ] + } + } + ], + "autosave": 0 + } +} \ No newline at end of file