diff --git a/code/fluid.jit.plotter.mesh.render.jxs b/code/fluid.jit.plotter.mesh.render.jxs new file mode 100644 index 00000000..1665df78 --- /dev/null +++ b/code/fluid.jit.plotter.mesh.render.jxs @@ -0,0 +1,39 @@ + + + + + + + + + + + += 0.5) discard; +} + +]]> + + + diff --git a/help/fluid.jit.plotter.maxhelp b/help/fluid.jit.plotter.maxhelp index 89a8e4ea..9950ec9e 100644 --- a/help/fluid.jit.plotter.maxhelp +++ b/help/fluid.jit.plotter.maxhelp @@ -3,14 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 352.0, 209.0, 963.0, 787.0 ], + "rect" : [ 100.0, 100.0, 963.0, 818.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -42,69 +42,7 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 0, - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 963.0, 761.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "showontab" : 1, - "assistshowspatchername" : 0, - "boxes" : [ ], - "lines" : [ ] - } -, - "patching_rect" : [ 529.0, 23.0, 25.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p ?" - } - - } -, { - "box" : { - "id" : "obj-6", + "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, @@ -112,15 +50,15 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 963.0, 761.0 ], - "bglocked" : 0, + "rect" : [ 100.0, 126.0, 963.0, 792.0 ], + "bglocked" : 1, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, @@ -150,158 +88,444 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "bubble" : 1, - "id" : "obj-8", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 630.5, 373.0, 180.0, 52.0 ], - "text" : "Zoom in the plot using option/alt+drag and explore! Pan around using shift+drag." - } - - } -, { - "box" : { - "dontreplace" : 1, - "id" : "obj-7", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 407.0, 590.0, 224.0, 22.0 ] - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.0, 741.0, 335.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 231.0, 85.0, 22.0 ], + "text" : "route knearest" + } - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 681.0, 500.0, 78.0, 22.0 ], - "text" : "zoomfactor 2" - } + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 266.0, 101.0, 22.0 ], + "text" : "prepend highlight" + } - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 681.0, 529.0, 67.0, 22.0 ], - "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], - "text" : "thispatcher" - } + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 83.0, 50.0, 23.0 ], + "text" : "qlim 20" + } - } -, { - "box" : { - "bubble" : 1, - "bubbleside" : 2, - "fontsize" : 13.0, - "id" : "obj-29", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 640.0, 443.0, 162.0, 55.0 ], - "text" : "Alternatively you can also zoom the patcher.", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] - } + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-27", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 143.0, 76.0, 23.0 ], + "text" : "knearest $2" + } - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-28", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 640.0, 310.0, 186.0, 51.0 ], - "text" : "On the first glance it looks like that almost the whole plot turned black.", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] - } + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "buffer" ], + "patching_rect" : [ 50.0, 113.0, 77.0, 23.0 ], + "text" : "fluid.list2buf" + } - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 110.0, 490.0, 80.0, 22.0 ] - } + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 174.0, 143.5, 173.0, 22.0 ], + "text" : "fit fluid.jit.plotter.help.advanced" + } - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 700.0, 80.0, 70.0, 22.0 ], - "text" : "loadmess 1" - } + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 196.0, 189.0, 22.0 ], + "text" : "fluid.kdtree~ @numneighbours 10" + } - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 799.0, 80.0, 70.0, 22.0 ], - "text" : "loadmess 5" - } + } +, { + "box" : { + "id" : "obj-12", + "linecount" : 3, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 585.0, 202.0, 100.0, 49.0 ], + "text" : "buffer~ fluid.jit.plotter.help.advanced.point" + } - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 110.0, 460.0, 61.0, 22.0 ], - "text" : "route size" + } +, { + "box" : { + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 451.0, 232.0, 98.0, 22.0 ], + "text" : "prepend setpoint" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 451.0, 202.0, 61.0, 22.0 ], + "text" : "join" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 493.0, 169.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-38", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "buffer" ], + "patching_rect" : [ 493.0, 129.0, 191.5, 35.0 ], + "text" : "fluid.list2buf @destination fluid.jit.plotter.help.advanced.point" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 451.0, 100.0, 61.0, 22.0 ], + "text" : "list.slice 1" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 451.0, 270.0, 235.0, 22.0 ], + "text" : "fluid.dataset~ fluid.jit.plotter.help.advanced" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-29", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-30", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 174.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-32", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 451.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-33", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 298.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 1 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-36", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-57", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 20.0, 760.0, 450.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p highlight" } } , { "box" : { - "bubble" : 1, "fontsize" : 13.0, - "id" : "obj-10", + "id" : "obj-5", + "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 78.0, 129.5, 169.0, 25.0 ], - "text" : "Generate 1 million points", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + "patching_rect" : [ 728.0, 240.0, 212.0, 36.0 ], + "text" : "Change the ratio between highlighted and normal point size", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-16", - "maxclass" : "number", + "fontsize" : 13.0, + "format" : 6, + "id" : "obj-8", + "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 799.0, 107.5, 50.0, 22.0 ] - } + "parameter_enable" : 1, + "patching_rect" : [ 674.0, 245.0, 50.0, 23.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ 2.4 ], + "parameter_initial_enable" : 1, + "parameter_invisible" : 1, + "parameter_longname" : "number[2]", + "parameter_modmode" : 0, + "parameter_shortname" : "number[2]", + "parameter_type" : 3 + } - } + } +, + "varname" : "number[1]" + } + + } , { "box" : { "fontsize" : 13.0, @@ -310,1436 +534,2207 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 799.0, 138.5, 141.0, 23.0 ], - "text" : "highlightedpointsize $1" + "patching_rect" : [ 674.0, 281.0, 108.0, 23.0 ], + "text" : "highlightscale $1" } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-100", - "linecount" : 3, + "id" : "obj-6", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 700.0, 198.0, 193.0, 51.0 ], - "text" : "Note that with large datasets it is likely that you have to reduce the default point sizes.", + "patching_rect" : [ 10.0, 67.0, 474.0, 21.0 ], + "text" : "Drawing through the \"advanced\" interface lets you draw at a lower level.", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-48", - "maxclass" : "number", + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "fontsize" : 13.0, + "hint" : "", + "id" : "obj-2", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 700.0, 107.5, 50.0, 22.0 ] + "patching_rect" : [ 291.0, 135.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-46", + "id" : "obj-20", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 700.0, 140.0, 78.0, 23.0 ], - "text" : "pointsize $1" + "patching_rect" : [ 81.0, 399.0, 96.0, 23.0 ], + "text" : "pointsize $1 $2" } } , { "box" : { - "id" : "obj-79", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 66.0, 388.0, 30.0, 22.0 ], - "text" : "size" + "fontsize" : 13.0, + "id" : "obj-18", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 102.0, 276.0, 113.0, 79.0 ], + "text" : "Set the size of each point.\nFormat is:\n\n", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-72", + "fontsize" : 13.0, + "id" : "obj-17", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 320.0, 560.0, 47.0, 22.0 ], - "text" : "qlim 20" - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 406.0, 234.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 77.5, 126.0, 100.0, 22.0 ], + "text" : "+ 0.5" + } - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 20.0, 129.5, 55.0, 22.0 ], - "text" : "1000000" + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 21.5, 158.0, 75.0, 22.0 ], + "text" : "join" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 22.0, 58.0, 74.5, 22.0 ], + "text" : "t i b" + } + + } +, { + "box" : { + "id" : "obj-4", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 235.5, 88.5, 151.0, 33.0 ], + "text" : "The pointsize message sets the size of each point." + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.5, 94.0, 151.0, 22.0 ], + "text" : "expr random(0\\, 100) / 100." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-86", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 22.0, 11.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-87", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 21.5, 190.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-86", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 81.0, 364.0, 154.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"generate random size\"" } } , { "box" : { - "id" : "obj-1", - "maxclass" : "newobj", + "fontsize" : 13.0, + "id" : "obj-44", + "linecount" : 4, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 320.0, 717.0, 101.0, 22.0 ], - "text" : "prepend highlight" + "numoutlets" : 0, + "patching_rect" : [ 297.0, 283.0, 138.0, 65.0 ], + "text" : "Set the pointcolor of each point. Format is:\n\n", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-32", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 320.0, 198.0, 132.0, 22.0 ], - "text" : "refer help.large.dummy" + "fontsize" : 13.0, + "id" : "obj-43", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 467.0, 283.0, 165.0, 79.0 ], + "text" : "You don't need a fluid.dataset~ necessarily. Using the setpoint message you can create a plot point by point.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-17", - "maxclass" : "message", - "numinlets" : 2, + "fontsize" : 13.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 66.0, 623.0, 117.0, 22.0 ], - "text" : "fit help.large.dummy" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 320.0, 623.0, 76.0, 22.0 ], - "text" : "knearest $2" - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 84.0, 131.0, 255.0, 309.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-13", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 161.0, 127.0, 52.0, 22.0 ], + "text" : "$1 1000" + } - } -, { - "box" : { - "id" : "obj-47", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "buffer" ], - "patching_rect" : [ 320.0, 590.0, 77.0, 22.0 ], - "text" : "fluid.list2buf" - } + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 161.0, 157.0, 41.0, 22.0 ], + "text" : "line 0." + } - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 320.0, 688.0, 92.0, 22.0 ], - "text" : "route knearest" - } + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 87.0, 127.0, 52.0, 22.0 ], + "text" : "$1 1000" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 87.0, 157.0, 41.0, 22.0 ], + "text" : "line 0." + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.0, 127.0, 52.0, 22.0 ], + "text" : "$1 1000" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 161.0, 93.0, 73.0, 22.0 ], + "text" : "random 100" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 87.0, 93.0, 73.0, 22.0 ], + "text" : "random 100" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.0, 93.0, 73.0, 22.0 ], + "text" : "random 100" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 13.0, 157.0, 41.0, 22.0 ], + "text" : "line 0." + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.0, 221.0, 91.0, 22.0 ], + "text" : "vexpr $f1 / 100." + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.0, 186.0, 167.0, 22.0 ], + "text" : "join 3" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 13.0, 49.0, 167.0, 22.0 ], + "text" : "t b b b" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 13.0, 9.0, 133.0, 22.0 ], + "text" : "qmetro 1000 @active 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.0, 252.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 1 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 2 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-23", 0 ] + } - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 320.0, 655.0, 324.0, 22.0 ], - "text" : "fluid.kdtree~ help.large.dummy.tree @numneighbours 1000" - } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-23", 1 ] + } - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 110.0, 388.0, 98.0, 22.0 ], - "text" : "prepend setpoint" - } + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-23", 2 ] + } - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 184.0, 329.5, 29.5, 22.0 ], - "text" : "$2" - } + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-27", 0 ] + } - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "buffer" ], - "patching_rect" : [ 184.0, 302.0, 72.0, 22.0 ], - "text" : "fluid.list2buf" - } + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-28", 0 ] + } - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 110.0, 357.0, 93.0, 22.0 ], - "text" : "join @triggers 1" - } + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-3", 0 ] + } - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 110.0, 430.0, 179.0, 22.0 ], - "text" : "fluid.dataset~ help.large.dummy" - } + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-4", 0 ] + } - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 20.0, 257.5, 41.0, 22.0 ], - "text" : "jit.spill" - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 0 ] + } - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 20.0, 228.5, 109.0, 22.0 ], - "text" : "jit.noise 1 float64 2" + } + ] + } +, + "patching_rect" : [ 675.0, 325.0, 48.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p party" } } , { "box" : { - "id" : "obj-5", + "id" : "obj-4", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 20.0, 160.0, 109.0, 22.0 ], - "text" : "uzi 1 0" - } - - } -, { - "box" : { - "attr" : "numneighbours", - "id" : "obj-37", - "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 407.0, 623.0, 173.0, 22.0 ], - "text_width" : 114.0 - } - - } -, { - "box" : { - "args" : [ "bpat" ], - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-91", - "lockeddragscroll" : 0, - "lockedsize" : 0, - "maxclass" : "bpatcher", - "name" : "fluid.jit.plotter.maxpat", - "numinlets" : 2, - "numoutlets" : 2, - "offset" : [ 0.0, 0.0 ], - "outlettype" : [ "", "" ], - "patching_rect" : [ 320.0, 240.0, 311.0, 311.0 ], - "viewvisibility" : 1 + "patching_rect" : [ 620.0, 480.0, 29.0, 22.0 ], + "text" : "thru" } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-62", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "bubble" : 1, + "fontsize" : 13.0, + "id" : "obj-105", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 895.0, 213.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "4", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "numoutlets" : 0, + "patching_rect" : [ 76.0, 133.0, 213.0, 25.0 ], + "text" : "generate a random set of points." } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "fontsize" : 13.0, - "hint" : "", - "id" : "obj-53", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "id" : "obj-103", + "maxclass" : "button", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], + "numoutlets" : 1, + "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 806.0, 450.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "3", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "patching_rect" : [ 50.0, 133.5, 24.0, 24.0 ] } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", "fontsize" : 13.0, - "hint" : "", - "id" : "obj-52", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "id" : "obj-100", + "linecount" : 2, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 814.0, 389.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "2", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "numoutlets" : 0, + "patching_rect" : [ 728.0, 157.5, 131.0, 36.0 ], + "text" : "Change the overall point size scale", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", "fontsize" : 13.0, - "hint" : "", - "id" : "obj-50", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 249.0, 132.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "1", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "id" : "obj-99", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 760.0, 98.0, 160.0, 36.0 ], + "text" : "Change the shape of the points as they're drawn.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-6", + "id" : "obj-97", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 10.0, 66.0, 578.0, 36.0 ], - "text" : "fluid.jit.plotter really shines with very large datasets. Since it is based on a jit.pworld instead of jsui, it can take datasets with millions of points and highlight thousands without much lag.", + "patching_rect" : [ 806.0, 385.0, 124.0, 36.0 ], + "text" : "Change the background colour", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "border" : 0, - "filename" : "helpdetails.js", - "id" : "obj-3", - "ignoreclick" : 1, - "jsarguments" : [ "fluid.jit.plotter" ], - "maxclass" : "jsui", + "fontsize" : 13.0, + "id" : "obj-95", + "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 320.0, 54.0 ] - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 400.0, 263.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 22.0, 213.0, 75.0, 22.0 ], + "text" : "join" + } - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-91", 0 ], - "midpoints" : [ 329.5, 747.0, 311.5, 747.0, 311.5, 229.0, 329.5, 229.0 ], - "source" : [ "obj-1", 0 ] - } + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 22.0, 58.0, 74.5, 22.0 ], + "text" : "t i b" + } - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-11", 0 ] - } + } +, { + "box" : { + "id" : "obj-4", + "linecount" : 6, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 236.0, 94.0, 151.0, 87.0 ], + "text" : "the pointcolor message will set the colour for which points will be drawn as. It is determined in red, green, blue, alpha between 0.0 and 1.0." + } - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-12", 0 ] - } + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 78.0, 94.0, 40.0, 22.0 ], + "text" : "uzi 3" + } - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-13", 0 ] - } + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 78.0, 181.0, 51.0, 22.0 ], + "text" : "zl.group" + } - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-14", 0 ] - } + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 78.0, 148.0, 151.0, 22.0 ], + "text" : "expr random(0\\, 100) / 100." + } - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-15", 0 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-86", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 22.0, 11.0, 30.0, 30.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-16", 0 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-87", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 22.0, 245.0, 30.0, 30.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-17", 0 ] - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-1", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-18", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-11", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-19", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 98.0, 134.0, 64.0, 134.0, 64.0, 176.0, 87.5, 176.0 ], + "source" : [ "obj-2", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-14", 1 ], - "source" : [ "obj-20", 0 ] + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "midpoints" : [ 87.5, 119.0, 87.5, 119.0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-86", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 266.0, 364.0, 159.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"generate random color\"" } } , { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-21", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-93", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 266.0, 399.0, 152.0, 23.0 ], + "text" : "pointcolor $1 $2 $3 $4 1." } } , { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-22", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-89", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 81.0, 246.5, 389.0, 23.0 ], + "text" : "t i i i" } } , { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-23", 0 ] - } + "box" : { + "fontsize" : 13.0, + "id" : "obj-88", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 494.0, 309.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-5", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 58.0, 18.0, 152.0, 74.0 ], + "text" : "Points are added to the plot with four arguments:\n\n\n" + } - } -, { - "patchline" : { - "destination" : [ "obj-91", 0 ], - "source" : [ "obj-32", 0 ] - } + } +, { + "box" : { + "id" : "obj-3", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 212.0, 31.5, 243.5, 47.0 ], + "text" : " can be anything and is designed to be extracted from the fluid.dataset~ dictionary dump" + } - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-33", 0 ] - } + } +, { + "box" : { + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "bang", "bang" ], + "patching_rect" : [ 21.0, 116.0, 96.0, 22.0 ], + "text" : "t i b b" + } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 329.5, 657.789124000000015, 329.5, 657.789124000000015 ], - "source" : [ "obj-34", 0 ] - } + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 21.0, 227.0, 96.0, 22.0 ], + "text" : "join 3" + } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-37", 0 ] - } + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 216.833333333333314, 169.0, 151.0, 22.0 ], + "text" : "expr random(0\\, 100) / 100." + } - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-4", 0 ] - } + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 59.5, 169.0, 151.0, 22.0 ], + "text" : "expr random(0\\, 100) / 100." + } - } -, { - "patchline" : { - "destination" : [ "obj-91", 1 ], - "midpoints" : [ 709.5, 174.0, 621.5, 174.0 ], - "source" : [ "obj-46", 0 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-86", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 21.0, 18.0, 30.0, 30.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-47", 0 ] - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-87", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 21.0, 268.0, 30.0, 30.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-48", 0 ] - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "source" : [ "obj-11", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-5", 2 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "midpoints" : [ 226.333333333333314, 213.0, 107.5, 213.0 ], + "source" : [ "obj-12", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "order" : 1, - "source" : [ "obj-5", 1 ] + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-57", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "midpoints" : [ 107.5, 156.0, 226.333333333333314, 156.0 ], + "source" : [ "obj-57", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "midpoints" : [ 30.5, 141.0, 30.5, 141.0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 0 ], + "midpoints" : [ 30.5, 50.0, 30.5, 50.0 ], + "source" : [ "obj-86", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 451.0, 364.0, 159.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"generate random point\"" } } , { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "order" : 0, - "source" : [ "obj-5", 1 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 50.0, 171.0, 103.0, 23.0 ], + "text" : "t b clear" } } , { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-5", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-51", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 674.0, 121.0, 78.0, 23.0 ], + "text" : "shape circle" } } , { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "order" : 2, - "source" : [ "obj-5", 1 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-50", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 674.0, 84.0, 87.0, 23.0 ], + "text" : "shape square" } } , { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-55", 0 ] + "box" : { + "fontsize" : 13.0, + "format" : 6, + "id" : "obj-48", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 1, + "patching_rect" : [ 674.0, 163.0, 50.0, 23.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ 1 ], + "parameter_initial_enable" : 1, + "parameter_invisible" : 1, + "parameter_longname" : "number[1]", + "parameter_modmode" : 0, + "parameter_shortname" : "number[1]", + "parameter_type" : 3 + } + + } +, + "varname" : "number" } } , { - "patchline" : { - "destination" : [ "obj-47", 0 ], - "order" : 1, - "source" : [ "obj-72", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-46", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 674.0, 199.0, 108.0, 23.0 ], + "text" : "pointsizescale $1" } } , { - "patchline" : { - "destination" : [ "obj-7", 1 ], - "midpoints" : [ 329.5, 585.5, 621.5, 585.5 ], - "order" : 0, - "source" : [ "obj-72", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 675.0, 439.0, 102.0, 23.0 ], + "text" : "prepend bgcolor" } } , { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-79", 0 ] + "box" : { + "id" : "obj-26", + "maxclass" : "swatch", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 675.0, 360.0, 125.0, 70.0 ], + "saturation" : 0.6 } } , { - "patchline" : { - "destination" : [ "obj-91", 1 ], - "midpoints" : [ 808.5, 183.25, 621.5, 183.25 ], - "source" : [ "obj-9", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 50.0, 205.0, 50.0, 23.0 ], + "text" : "uzi 200" } } , { - "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-91", 0 ] + "box" : { + "fontsize" : 13.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 451.0, 399.0, 108.0, 23.0 ], + "text" : "setpoint $1 $2 $3" } } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } , { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-1", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.jit.plotter.maxpat", + "numinlets" : 2, + "numoutlets" : 2, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 455.0, 284.0, 284.0 ], + "viewvisibility" : 1 } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "max6message", - "default" : { - "bgfillcolor" : { - "angle" : 270.0, - "autogradient" : 0, - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "proportion" : 0.39, - "type" : "gradient" - } -, - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "box" : { + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-3", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.jit.plotter" ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.0, 10.0, 320.0, 54.0 ] } -, - "parentstyle" : "max6box", - "multi" : 0 + } , { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } - ] - } -, - "patching_rect" : [ 407.0, 23.0, 102.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p \"large datasets\"" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 0, - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 963.0, 761.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 2, - "gridsize" : [ 10.0, 10.0 ], - "gridsnaponopen" : 2, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "showontab" : 1, - "assistshowspatchername" : 0, - "boxes" : [ { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "fontsize" : 13.0, - "hint" : "", - "id" : "obj-52", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "angle" : 270.0, + "background" : 1, + "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], + "border" : 2, + "bordercolor" : [ 0.0, 0.0, 0.0, 0.980392156862745 ], + "id" : "obj-41", + "maxclass" : "panel", + "mode" : 0, "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 862.625, 436.0, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "2", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "numoutlets" : 0, + "patching_rect" : [ 666.0, 70.0, 294.0, 406.0 ], + "proportion" : 0.5 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-1", 0 ] } } , { - "box" : { - "bubble" : 1, - "bubbleside" : 2, - "fontsize" : 13.0, - "id" : "obj-25", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 708.875, 419.0, 151.75, 70.0 ], - "text" : "alter the amount or direction of the panning (when shift + dragging)." + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-103", 0 ] } } , { - "box" : { - "id" : "obj-24", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 810.0, 490.0, 29.5, 22.0 ], - "text" : "-1" + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-17", 0 ] } } , { - "box" : { - "id" : "obj-23", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 730.0, 490.0, 29.5, 22.0 ], - "text" : "0.1" + "patchline" : { + "destination" : [ "obj-34", 1 ], + "midpoints" : [ 75.0, 234.0, 20.0, 234.0, 20.0, 746.0, 245.0, 746.0 ], + "source" : [ "obj-19", 1 ] } } , { - "box" : { - "id" : "obj-22", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 770.0, 490.0, 29.5, 22.0 ], - "text" : "1" + "patchline" : { + "destination" : [ "obj-89", 0 ], + "source" : [ "obj-19", 2 ] } } , { - "box" : { - "format" : 6, - "id" : "obj-20", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 1, - "patching_rect" : [ 770.0, 530.0, 50.0, 22.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_initial" : [ 1 ], - "parameter_initial_enable" : 1, - "parameter_invisible" : 1, - "parameter_longname" : "number", - "parameter_shortname" : "number", - "parameter_type" : 3 - } + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 90.5, 440.0, 59.5, 440.0 ], + "source" : [ "obj-20", 0 ] + } - } -, - "varname" : "number" + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-26", 0 ] } } , { - "box" : { - "id" : "obj-14", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 770.0, 560.0, 75.0, 22.0 ], - "text" : "panfactor $1" + "patchline" : { + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 684.5, 469.0, 629.5, 469.0 ], + "source" : [ "obj-31", 0 ] } } , { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 37.0, 152.5, 63.0, 22.0 ], - "text" : "b 3" + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-34", 0 ] } } , { - "box" : { - "fontsize" : 13.0, - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 105.0, 243.0, 243.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-1", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 85.0, 202.0, 109.0, 35.0 ], - "text" : "fluid.labelset~ clustering.zooming" - } + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-35", 0 ] + } - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 14.0, 167.5, 137.0, 22.0 ], - "text" : "refer clustering.zooming" - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 629.5, 511.0, 346.0, 511.0, 346.0, 442.0, 59.5, 442.0 ], + "source" : [ "obj-4", 0 ] + } - } -, { - "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 14.0, 133.5, 85.0, 22.0 ], - "text" : "route fitpredict" - } + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 683.5, 230.0, 629.5, 230.0 ], + "source" : [ "obj-46", 0 ] + } - } -, { - "box" : { - "id" : "obj-78", - "linecount" : 2, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 14.0, 60.0, 180.0, 35.0 ], - "text" : "clear, fitpredict plotting.zooming clustering.zooming" - } + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "source" : [ "obj-48", 0 ] + } - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 14.0, 103.0, 173.0, 22.0 ], - "text" : "fluid.kmeans~ @numclusters 4" - } + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 683.5, 104.0, 629.5, 104.0 ], + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 683.5, 140.0, 629.5, 140.0 ], + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 460.5, 440.0, 59.5, 440.0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 143.5, 240.0, 61.0, 240.0, 61.0, 449.0, 59.5, 449.0 ], + "source" : [ "obj-80", 1 ] + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-13", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 14.0, 11.0, 30.0, 30.0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-80", 0 ] + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 14.0, 202.0, 30.0, 30.0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-34", 2 ], + "order" : 0, + "source" : [ "obj-88", 0 ] + } - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-13", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 460.5, 389.0, 460.5, 389.0 ], + "order" : 1, + "source" : [ "obj-88", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-76", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-89", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-78", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "source" : [ "obj-89", 2 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-83", 0 ], - "source" : [ "obj-80", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-95", 0 ], + "source" : [ "obj-89", 1 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-83", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 683.5, 312.5, 629.5, 312.5 ], + "source" : [ "obj-9", 0 ] + } - } - ] - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 275.5, 440.0, 59.5, 440.0 ], + "source" : [ "obj-93", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-93", 0 ], + "source" : [ "obj-95", 0 ] + } + + } + ], + "styles" : [ { + "name" : "max6box", + "default" : { + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], + "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } , - "patching_rect" : [ 301.5, 200.0, 143.0, 23.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6inlet", + "default" : { + "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6message", + "default" : { + "bgfillcolor" : { + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], + "proportion" : 0.39, + "type" : "gradient" } , - "text" : "p \"cluster random data\"" + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } +, + "parentstyle" : "max6box", + "multi" : 0 + } +, { + "name" : "max6outlet", + "default" : { + "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } + ] + } +, + "patching_rect" : [ 204.0, 24.0, 71.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p advanced", + "varname" : "advanced[1]" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 963.0, 792.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "boxes" : [ ], + "lines" : [ ] + } +, + "patching_rect" : [ 515.0, 23.0, 25.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p ?" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 963.0, 792.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "bubble" : 1, + "id" : "obj-8", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 630.5, 373.0, 180.0, 51.0 ], + "text" : "Zoom in the plot using option/alt+drag and explore! Pan around using shift+drag." } } , { "box" : { - "fontsize" : 13.0, - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, + "dontreplace" : 1, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 35.0, 100.0, 563.0, 464.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-68", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 205.0, 383.40283203125, 124.0, 22.0 ], - "text" : "refer plotting.zooming" - } + "patching_rect" : [ 407.0, 590.0, 224.0, 22.0 ], + "text" : "0.450678 0.458267" + } - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 53.0, 348.90283203125, 171.0, 22.0 ], - "text" : "fluid.dataset~ plotting.zooming" - } + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 681.0, 500.0, 78.0, 22.0 ], + "text" : "zoomfactor 2" + } - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 101.0, 221.90283203125, 96.0, 22.0 ], - "text" : "sprintf %s %f %f" - } + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 681.0, 529.0, 67.0, 22.0 ], + "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], + "text" : "thispatcher" + } - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 380.25, 178.90283203125, 168.0, 22.0 ], - "text" : "expr random(-250\\, 250) / 100." - } + } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 2, + "fontsize" : 13.0, + "id" : "obj-29", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 640.0, 443.0, 162.0, 55.0 ], + "text" : "Alternatively you can also zoom the patcher.", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + } - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.25, 178.90283203125, 168.0, 22.0 ], - "text" : "expr random(-250\\, 250) / 100." - } + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-28", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 640.0, 310.0, 186.0, 50.0 ], + "text" : "On the first glance it looks like that almost the whole plot turned black.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 101.0, 178.90283203125, 92.0, 22.0 ], - "text" : "sprintf entry-%i:" - } + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 110.0, 490.0, 80.0, 22.0 ] + } - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 101.0, 132.90283203125, 128.25, 22.0 ], - "text" : "t i b" - } + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 700.0, 80.0, 87.0, 22.0 ], + "text" : "loadmess 0.04" + } - } -, { - "box" : { - "id" : "obj-74", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 39.0, 94.90283203125, 47.0, 22.0 ], - "text" : "uzi 100" - } + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 110.0, 460.0, 61.0, 22.0 ], + "text" : "route size" + } - } -, { - "box" : { - "id" : "obj-71", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "dictionary" ], - "patching_rect" : [ 53.0, 285.90283203125, 121.0, 22.0 ], - "text" : "dict.pack data: cols:2" - } + } +, { + "box" : { + "bubble" : 1, + "fontsize" : 13.0, + "id" : "obj-10", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 78.0, 129.5, 169.0, 25.0 ], + "text" : "Generate 1 million points", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + } - } -, { - "box" : { - "id" : "obj-70", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "dictionary" ], - "patching_rect" : [ 53.0, 251.90283203125, 61.0, 22.0 ], - "text" : "dict.group" - } + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-100", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 700.0, 198.0, 193.0, 50.0 ], + "text" : "Note that with large datasets it is likely that you have to reduce the default point size scale.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 138.5, 94.90283203125, 171.0, 22.0 ], - "text" : "fluid.dataset~ plotting.zooming" - } + } +, { + "box" : { + "format" : 6, + "id" : "obj-48", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 700.0, 107.5, 50.0, 22.0 ] + } - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "clear" ], - "patching_rect" : [ 39.0, 58.90283203125, 118.5, 22.0 ], - "text" : "t b clear" - } + } +, { + "box" : { + "fontsize" : 13.0, + "id" : "obj-46", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 700.0, 140.0, 108.0, 23.0 ], + "text" : "pointsizescale $1" + } - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 53.0, 316.90283203125, 81.0, 22.0 ], - "text" : "prepend load" - } + } +, { + "box" : { + "id" : "obj-79", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 66.0, 388.0, 30.0, 22.0 ], + "text" : "size" + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-2", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 39.0, 24.000000031249996, 30.0, 30.0 ] - } + } +, { + "box" : { + "id" : "obj-72", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 320.0, 560.0, 47.0, 22.0 ], + "text" : "qlim 20" + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 205.0, 418.805664031249989, 30.0, 30.0 ] - } + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 20.0, 129.5, 55.0, 22.0 ], + "text" : "1000000" + } - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-16", 0 ] - } + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 320.0, 717.0, 101.0, 22.0 ], + "text" : "prepend highlight" + } - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "order" : 1, - "source" : [ "obj-16", 1 ] - } + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 320.0, 198.0, 132.0, 22.0 ], + "text" : "refer help.large.dummy" + } - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 0, - "source" : [ "obj-16", 1 ] - } + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 66.0, 623.0, 117.0, 22.0 ], + "text" : "fit help.large.dummy" + } - } -, { - "patchline" : { - "destination" : [ "obj-68", 0 ], - "source" : [ "obj-17", 1 ] - } + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 320.0, 623.0, 76.0, 22.0 ], + "text" : "knearest $2" + } - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "source" : [ "obj-2", 0 ] - } + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "buffer" ], + "patching_rect" : [ 320.0, 590.0, 77.0, 22.0 ], + "text" : "fluid.list2buf" + } - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-21", 0 ] - } + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 320.0, 688.0, 92.0, 22.0 ], + "text" : "route knearest" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 320.0, 655.0, 324.0, 22.0 ], + "text" : "fluid.kdtree~ help.large.dummy.tree @numneighbours 1000" + } - } -, { - "patchline" : { - "destination" : [ "obj-24", 1 ], - "source" : [ "obj-22", 0 ] - } + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 110.0, 388.0, 98.0, 22.0 ], + "text" : "prepend setpoint" + } - } -, { - "patchline" : { - "destination" : [ "obj-24", 2 ], - "source" : [ "obj-23", 0 ] - } + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 184.0, 329.5, 29.5, 22.0 ], + "text" : "$2" + } - } -, { - "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-24", 0 ] - } + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "buffer" ], + "patching_rect" : [ 184.0, 302.0, 72.0, 22.0 ], + "text" : "fluid.list2buf" + } - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-43", 0 ] - } + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 110.0, 357.0, 93.0, 22.0 ], + "text" : "join @triggers 1" + } - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-52", 1 ] - } + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 110.0, 430.0, 179.0, 22.0 ], + "text" : "fluid.dataset~ help.large.dummy" + } - } -, { - "patchline" : { - "destination" : [ "obj-74", 0 ], - "source" : [ "obj-52", 0 ] - } + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 257.5, 41.0, 22.0 ], + "text" : "jit.spill" + } - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-68", 0 ] - } + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 20.0, 228.5, 109.0, 22.0 ], + "text" : "jit.noise 1 float64 2" + } - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-70", 0 ] - } + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 20.0, 160.0, 109.0, 22.0 ], + "text" : "uzi 1 0" + } - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-71", 0 ] - } + } +, { + "box" : { + "attr" : "numneighbours", + "id" : "obj-37", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 407.0, 623.0, 173.0, 22.0 ], + "text_width" : 114.0 + } - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-74", 2 ] - } + } +, { + "box" : { + "args" : [ "bpat" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-91", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.jit.plotter.maxpat", + "numinlets" : 2, + "numoutlets" : 2, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "", "" ], + "patching_rect" : [ 320.0, 240.0, 311.0, 311.0 ], + "viewvisibility" : 1 + } - } -, { - "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-74", 1 ] - } + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-62", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 895.0, 213.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "4", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } - } - ] - } -, - "patching_rect" : [ 81.0, 200.0, 156.0, 23.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p \"generate random data\"" + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "fontsize" : 13.0, + "hint" : "", + "id" : "obj-53", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 806.0, 450.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "3", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "fontsize" : 13.0, + "hint" : "", + "id" : "obj-52", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 814.0, 389.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } @@ -1749,7 +2744,7 @@ "fontname" : "Arial Bold", "fontsize" : 13.0, "hint" : "", - "id" : "obj-10", + "id" : "obj-50", "ignoreclick" : 1, "legacytextcolor" : 1, "maxclass" : "textbutton", @@ -1757,7 +2752,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, - "patching_rect" : [ 277.5, 113.5, 20.0, 20.0 ], + "patching_rect" : [ 249.0, 132.0, 20.0, 20.0 ], "rounded" : 60.0, "text" : "1", "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] @@ -1766,279 +2761,251 @@ } , { "box" : { - "bubble" : 1, "fontsize" : 13.0, - "id" : "obj-105", + "id" : "obj-6", + "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 63.0, 111.0, 213.0, 25.0 ], - "text" : "generate a random set of points." + "patching_rect" : [ 10.0, 66.0, 578.0, 36.0 ], + "text" : "fluid.jit.plotter really shines with very large datasets. Since it is based on a jit.gl.render instead of jsui, it can take datasets with millions of points and highlight thousands without much lag.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-103", - "maxclass" : "button", + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-3", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.jit.plotter" ], + "maxclass" : "jsui", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "bang" ], + "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 37.0, 111.0, 24.0, 24.0 ] + "patching_rect" : [ 10.0, 10.0, 320.0, 54.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "midpoints" : [ 329.5, 747.0, 311.5, 747.0, 311.5, 229.0, 329.5, 229.0 ], + "source" : [ "obj-1", 0 ] } } , { - "box" : { - "fontsize" : 13.0, - "id" : "obj-2", - "linecount" : 4, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 460.0, 210.0, 279.0, 66.0 ], - "text" : "The range of the generated data sits between -2.5 and 2.5 but the view of the data is set to be between -5 and 5 on both axes to have some whitespace around the edges.", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-11", 0 ] } } , { - "box" : { - "id" : "obj-1", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 10.0, 67.0, 427.0, 20.0 ], - "text" : "fluid.jit.plotter has a zoom feature allowing you to zone in on subsets of the plot", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-12", 0 ] } } , { - "box" : { - "dontreplace" : 1, - "fontsize" : 13.0, - "id" : "obj-13", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 429.5, 665.0, 97.0, 23.0 ] + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-13", 0 ] } } , { - "box" : { - "dontreplace" : 1, - "fontsize" : 13.0, - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 305.0, 665.0, 96.0, 23.0 ] + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-14", 0 ] } } , { - "box" : { - "fontsize" : 13.0, - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 382.0, 630.0, 270.0, 23.0 ], - "text" : "route zoomxrange zoomyrange" + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-15", 0 ] } } , { - "box" : { - "fontsize" : 13.0, - "id" : "obj-9", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 658.0, 623.5, 258.0, 36.0 ], - "text" : "The selected range is output from the right in response to drag + modifier events.", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-17", 0 ] } } , { - "box" : { - "fontsize" : 13.0, - "id" : "obj-7", - "linecount" : 14, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 410.0, 360.0, 279.0, 216.0 ], - "text" : "You can interactively control the range of the x and y areas using different keyboard modifiers while clicking and dragging.\n\nIf you (hold option / alt / winkey + drag) a box will be drawn over the canvas, showing which area of the plot you will \"zoom\" in on in.\n\nIf you (control + drag) it resets the x and y ranges to the last stored values received from a message (such as range [-5 5]).\n\nIf you (shift + drag) you can pan the view around within the current zoom range. ", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-18", 0 ] } } , { - "box" : { - "fontsize" : 13.0, - "id" : "obj-5", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 381.0, 240.0, 68.0, 23.0 ], - "text" : "range -5 5" + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-19", 0 ] } } , { - "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-58", - "lockeddragscroll" : 0, - "lockedsize" : 0, - "maxclass" : "bpatcher", - "name" : "fluid.jit.plotter.maxpat", - "numinlets" : 2, - "numoutlets" : 2, - "offset" : [ 0.0, 0.0 ], - "outlettype" : [ "", "" ], - "patching_rect" : [ 81.0, 290.0, 320.0, 320.0 ], - "viewvisibility" : 1 + "patchline" : { + "destination" : [ "obj-14", 1 ], + "source" : [ "obj-20", 0 ] } } , { - "box" : { - "border" : 0, - "filename" : "helpdetails.js", - "id" : "obj-3", - "ignoreclick" : 1, - "jsarguments" : [ "fluid.jit.plotter" ], - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 320.0, 54.0 ] + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-21", 0 ] } } - ], - "lines" : [ { +, { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-103", 0 ] + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 0 ], - "midpoints" : [ 779.5, 590.0, 405.0, 590.0, 405.0, 279.0, 90.5, 279.0 ], - "source" : [ "obj-14", 0 ] + "destination" : [ "obj-91", 0 ], + "source" : [ "obj-32", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 1 ], - "midpoints" : [ 311.0, 271.0, 391.5, 271.0 ], - "source" : [ "obj-15", 0 ] + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-33", 0 ] } } , { "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-20", 0 ] + "destination" : [ "obj-15", 0 ], + "midpoints" : [ 329.5, 657.789124000000015, 329.5, 657.789124000000015 ], + "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-22", 0 ] + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-37", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-23", 0 ] + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-4", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-24", 0 ] + "destination" : [ "obj-91", 1 ], + "midpoints" : [ 709.5, 174.0, 621.5, 174.0 ], + "source" : [ "obj-46", 0 ] } } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 68.5, 187.25, 311.0, 187.25 ], - "source" : [ "obj-4", 1 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-47", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "midpoints" : [ 46.5, 233.75, 390.5, 233.75 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-46", 0 ], + "source" : [ "obj-48", 0 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-4", 2 ] + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-5", 2 ] } } , { "patchline" : { - "destination" : [ "obj-58", 1 ], + "destination" : [ "obj-17", 0 ], + "order" : 1, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "order" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-58", 1 ] + "destination" : [ "obj-79", 0 ], + "order" : 2, + "source" : [ "obj-5", 1 ] } } , { "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "order" : 1, + "source" : [ "obj-72", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "midpoints" : [ 329.5, 585.5, 621.5, 585.5 ], + "order" : 0, + "source" : [ "obj-72", 0 ] } } , { "patchline" : { - "destination" : [ "obj-11", 1 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-79", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 1 ], - "source" : [ "obj-8", 1 ] + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-91", 0 ] } } @@ -2094,7 +3061,7 @@ ] } , - "patching_rect" : [ 306.0, 24.0, 86.0, 22.0 ], + "patching_rect" : [ 392.0, 23.0, 102.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -2102,13 +3069,13 @@ "tags" : "" } , - "text" : "p click'n'drag" + "text" : "p \"large datasets\"" } } , { "box" : { - "id" : "obj-2", + "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, @@ -2116,15 +3083,15 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 963.0, 761.0 ], - "bglocked" : 1, + "rect" : [ 0.0, 26.0, 963.0, 792.0 ], + "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, @@ -2145,554 +3112,140 @@ "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "showontab" : 1, - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-30", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 399.5, 560.0, 490.5, 48.0 ], - "text" : "Note: fluid.jit.plotter does not support setpoint, pointcolor and pointsize (for individual point size) like fluid.plotter does. While fluid.jit.plotter behaves similarly to fluid.plotter in most cases, fluid.jit.plotter is geared towards speed and as such sacrifices a bit of flexibility.", - "textcolor" : [ 1.0, 0.0, 0.0, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 302.0, 329.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "fontsize" : 13.0, - "id" : "obj-57", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.0, 145.0, 79.0, 23.0 ], - "text" : "speedlim 20" - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-37", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 27.0, 240.0, 92.0, 23.0 ], - "text" : "route knearest" - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-19", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 27.0, 80.0, 136.0, 23.0 ], - "text" : "fit plotting.appearance" - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-27", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.0, 113.0, 76.0, 23.0 ], - "text" : "knearest $2" - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "buffer" ], - "patching_rect" : [ 185.0, 80.0, 77.0, 23.0 ], - "text" : "fluid.list2buf" - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-20", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 27.0, 202.0, 80.0, 23.0 ], - "text" : "fluid.kdtree~" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-21", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 27.0, 20.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-23", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.0, 20.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-24", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 27.0, 284.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 0 ], - "midpoints" : [ 194.5, 150.0, 194.5, 150.0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-57", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 40.0, 560.0, 63.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p highlight" - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 40.0, 590.0, 108.0, 23.0 ], - "text" : "prepend highlight" - } - - } -, { + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "boxes" : [ { "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", "fontsize" : 13.0, - "id" : "obj-18", - "linecount" : 5, - "maxclass" : "comment", + "hint" : "", + "id" : "obj-52", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 842.0, 85.5, 99.0, 81.0 ], - "text" : "Change the color scheme used when assigning colors to labels.", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 862.625, 436.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } , { "box" : { + "bubble" : 1, + "bubbleside" : 2, "fontsize" : 13.0, - "id" : "obj-14", - "linecount" : 2, + "id" : "obj-25", + "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 568.5, 236.0, 162.0, 36.0 ], - "text" : "Change the point size of the highlighted points", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 514.5, 241.5, 50.0, 22.0 ] + "patching_rect" : [ 708.875, 419.0, 151.75, 69.0 ], + "text" : "alter the amount or direction of the panning (when shift + dragging)." } } , { "box" : { - "fontsize" : 13.0, - "id" : "obj-17", + "id" : "obj-24", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 514.5, 277.5, 141.0, 23.0 ], - "text" : "highlightedpointsize $1" + "patching_rect" : [ 810.0, 490.0, 29.5, 22.0 ], + "text" : "-1" } } , { "box" : { - "id" : "obj-10", - "maxclass" : "tab", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 770.0, 85.5, 70.0, 200.5 ], - "tabs" : [ "default", "cat", "accent", "dark", "paired", "tableau", "R4", "R3", "R2", "R1", "random" ] + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 730.0, 490.0, 29.5, 22.0 ], + "text" : "0.1" } } , { "box" : { - "id" : "obj-11", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 795.5, 290.0, 84.5, 36.0 ], - "text" : "prepend colorscheme" + "patching_rect" : [ 770.0, 490.0, 29.5, 22.0 ], + "text" : "1" } } , { "box" : { - "id" : "obj-9", - "maxclass" : "newobj", + "format" : 6, + "id" : "obj-20", + "maxclass" : "flonum", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 40.0, 212.5, 63.0, 22.0 ], - "text" : "b 3" + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 1, + "patching_rect" : [ 770.0, 530.0, 50.0, 22.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ 1 ], + "parameter_initial_enable" : 1, + "parameter_invisible" : 1, + "parameter_longname" : "number", + "parameter_modmode" : 0, + "parameter_shortname" : "number", + "parameter_type" : 3 + } + + } +, + "varname" : "number" } } , { "box" : { - "fontsize" : 13.0, - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 105.0, 243.0, 243.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-1", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 85.0, 202.0, 127.0, 35.0 ], - "text" : "fluid.labelset~ clustering.appearance" - } - - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 14.0, 167.5, 155.0, 22.0 ], - "text" : "refer clustering.appearance" - } - - } -, { - "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 14.0, 133.5, 85.0, 22.0 ], - "text" : "route fitpredict" - } - - } -, { - "box" : { - "id" : "obj-78", - "linecount" : 2, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 14.0, 60.0, 198.0, 35.0 ], - "text" : "clear, fitpredict plotting.appearance clustering.appearance" - } - - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 14.0, 103.0, 173.0, 22.0 ], - "text" : "fluid.kmeans~ @numclusters 4" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-13", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 14.0, 11.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-14", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 14.0, 202.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-83", 0 ] - } + "patching_rect" : [ 770.0, 560.0, 75.0, 22.0 ], + "text" : "panfactor $1" + } - } - ] - } -, - "patching_rect" : [ 304.5, 260.0, 143.0, 23.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p \"cluster random data\"" + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 37.0, 152.5, 63.0, 22.0 ], + "text" : "b 3" } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-5", + "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -2701,14 +3254,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 35.0, 100.0, 569.0, 464.0 ], + "rect" : [ 59.0, 105.0, 243.0, 243.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -2738,311 +3291,131 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-68", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 223.0, 385.40283203125, 142.0, 22.0 ], - "text" : "refer plotting.appearance" - } - - } -, { - "box" : { - "id" : "obj-17", + "id" : "obj-1", + "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 53.0, 348.90283203125, 189.0, 22.0 ], - "text" : "fluid.dataset~ plotting.appearance" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 101.0, 221.90283203125, 96.0, 22.0 ], - "text" : "sprintf %s %f %f" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 380.25, 178.90283203125, 164.0, 22.0 ], - "text" : "expr random(0\\, 1000) / 1000." - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 210.25, 178.90283203125, 164.0, 22.0 ], - "text" : "expr random(0\\, 1000) / 1000." + "patching_rect" : [ 85.0, 202.0, 109.0, 35.0 ], + "text" : "fluid.labelset~ clustering.zooming" } } , { "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-83", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 101.0, 178.90283203125, 92.0, 22.0 ], - "text" : "sprintf entry-%i:" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 101.0, 132.90283203125, 128.25, 22.0 ], - "text" : "t i b" + "patching_rect" : [ 14.0, 167.5, 137.0, 22.0 ], + "text" : "refer clustering.zooming" } } , { "box" : { - "id" : "obj-74", + "id" : "obj-80", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 39.0, 94.90283203125, 47.0, 22.0 ], - "text" : "uzi 100" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 14.0, 133.5, 85.0, 22.0 ], + "text" : "route fitpredict" } } , { "box" : { - "id" : "obj-71", - "maxclass" : "newobj", + "id" : "obj-78", + "linecount" : 2, + "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "dictionary" ], - "patching_rect" : [ 53.0, 285.90283203125, 121.0, 22.0 ], - "text" : "dict.pack data: cols:2" - } - - } -, { - "box" : { - "id" : "obj-70", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "dictionary" ], - "patching_rect" : [ 53.0, 251.90283203125, 61.0, 22.0 ], - "text" : "dict.group" + "outlettype" : [ "" ], + "patching_rect" : [ 14.0, 60.0, 180.0, 35.0 ], + "text" : "clear, fitpredict plotting.zooming clustering.zooming" } } , { "box" : { - "id" : "obj-54", + "id" : "obj-76", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 138.5, 94.90283203125, 189.0, 22.0 ], - "text" : "fluid.dataset~ plotting.appearance" - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "clear" ], - "patching_rect" : [ 39.0, 58.90283203125, 118.5, 22.0 ], - "text" : "t b clear" - } - - } -, { - "box" : { - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 53.0, 316.90283203125, 81.0, 22.0 ], - "text" : "prepend load" + "patching_rect" : [ 14.0, 103.0, 173.0, 22.0 ], + "text" : "fluid.kmeans~ @numclusters 4" } } , { "box" : { "comment" : "", - "id" : "obj-2", + "id" : "obj-13", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 39.0, 24.000000031249996, 30.0, 30.0 ] + "patching_rect" : [ 14.0, 11.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-4", + "id" : "obj-14", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 223.0, 420.805664031249989, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "order" : 1, - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "order" : 0, - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-68", 0 ], - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 1 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 2 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-52", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-74", 0 ], - "source" : [ "obj-52", 0 ] + "patching_rect" : [ 14.0, 202.0, 30.0, 30.0 ] } } -, { + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-68", 0 ] + "destination" : [ "obj-78", 0 ], + "source" : [ "obj-13", 0 ] } } , { "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-70", 0 ] + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-76", 0 ] } } , { "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-71", 0 ] + "destination" : [ "obj-76", 0 ], + "source" : [ "obj-78", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-74", 2 ] + "destination" : [ "obj-83", 0 ], + "source" : [ "obj-80", 0 ] } } , { "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-74", 1 ] + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-83", 0 ] } } ] } , - "patching_rect" : [ 84.0, 260.0, 156.0, 23.0 ], + "patching_rect" : [ 301.5, 200.0, 143.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -3050,7 +3423,7 @@ "tags" : "" } , - "text" : "p \"generate random data\"" + "text" : "p \"cluster random data\"" } } @@ -3058,56 +3431,22 @@ "box" : { "fontsize" : 13.0, "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 10.0, 67.0, 441.0, 21.0 ], - "text" : "Set the size and shape of points, background color, or label colors scheme.", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "fontsize" : 13.0, - "hint" : "", - "id" : "obj-2", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 280.5, 173.5, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "1", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-35", "maxclass" : "newobj", - "numinlets" : 0, + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 84.0, 131.0, 255.0, 309.0 ], + "rect" : [ 35.0, 100.0, 563.0, 464.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -3137,282 +3476,311 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-13", + "id" : "obj-68", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 161.0, 127.0, 52.0, 22.0 ], - "text" : "$1 1000" + "patching_rect" : [ 205.0, 383.40283203125, 124.0, 22.0 ], + "text" : "refer plotting.zooming" } } , { "box" : { - "id" : "obj-14", + "id" : "obj-17", "maxclass" : "newobj", - "numinlets" : 3, + "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 161.0, 157.0, 41.0, 22.0 ], - "text" : "line 0." + "outlettype" : [ "", "" ], + "patching_rect" : [ 53.0, 348.90283203125, 171.0, 22.0 ], + "text" : "fluid.dataset~ plotting.zooming" } } , { "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 87.0, 127.0, 52.0, 22.0 ], - "text" : "$1 1000" + "patching_rect" : [ 101.0, 221.90283203125, 96.0, 22.0 ], + "text" : "sprintf %s %f %f" } } , { "box" : { - "id" : "obj-12", + "id" : "obj-23", "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 87.0, 157.0, 41.0, 22.0 ], - "text" : "line 0." + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 380.25, 178.90283203125, 168.0, 22.0 ], + "text" : "expr random(-250\\, 250) / 100." } } , { "box" : { - "id" : "obj-6", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 127.0, 52.0, 22.0 ], - "text" : "$1 1000" + "patching_rect" : [ 210.25, 178.90283203125, 168.0, 22.0 ], + "text" : "expr random(-250\\, 250) / 100." } } , { "box" : { - "id" : "obj-4", + "id" : "obj-21", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 161.0, 93.0, 73.0, 22.0 ], - "text" : "random 100" + "outlettype" : [ "" ], + "patching_rect" : [ 101.0, 178.90283203125, 92.0, 22.0 ], + "text" : "sprintf entry-%i:" } } , { "box" : { - "id" : "obj-3", + "id" : "obj-16", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 87.0, 93.0, 73.0, 22.0 ], - "text" : "random 100" + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "patching_rect" : [ 101.0, 132.90283203125, 128.25, 22.0 ], + "text" : "t i b" } } , { "box" : { - "id" : "obj-2", + "id" : "obj-74", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 13.0, 93.0, 73.0, 22.0 ], - "text" : "random 100" + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 39.0, 94.90283203125, 47.0, 22.0 ], + "text" : "uzi 100" } } , { "box" : { - "id" : "obj-1", + "id" : "obj-71", "maxclass" : "newobj", "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 13.0, 157.0, 41.0, 22.0 ], - "text" : "line 0." + "numoutlets" : 1, + "outlettype" : [ "dictionary" ], + "patching_rect" : [ 53.0, 285.90283203125, 121.0, 22.0 ], + "text" : "dict.pack data: cols:2" } } , { "box" : { - "id" : "obj-28", + "id" : "obj-70", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 221.0, 91.0, 22.0 ], - "text" : "vexpr $f1 / 100." + "outlettype" : [ "dictionary" ], + "patching_rect" : [ 53.0, 251.90283203125, 61.0, 22.0 ], + "text" : "dict.group" } } , { "box" : { - "id" : "obj-27", + "id" : "obj-54", "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 186.0, 167.0, 22.0 ], - "text" : "join 3" + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 138.5, 94.90283203125, 171.0, 22.0 ], + "text" : "fluid.dataset~ plotting.zooming" } } , { "box" : { - "id" : "obj-23", + "id" : "obj-52", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 13.0, 49.0, 167.0, 22.0 ], - "text" : "t b b b" + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 39.0, 58.90283203125, 118.5, 22.0 ], + "text" : "t b clear" } } , { "box" : { - "id" : "obj-17", + "id" : "obj-43", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 53.0, 316.90283203125, 81.0, 22.0 ], + "text" : "prepend load" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 13.0, 9.0, 133.0, 22.0 ], - "text" : "qmetro 1000 @active 1" + "patching_rect" : [ 39.0, 24.000000031249996, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-34", + "id" : "obj-4", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 13.0, 252.0, 30.0, 30.0 ] + "patching_rect" : [ 205.0, 418.805664031249989, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-1", 0 ] + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-16", 0 ] } } , { "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-11", 0 ] + "destination" : [ "obj-22", 0 ], + "order" : 1, + "source" : [ "obj-16", 1 ] } } , { "patchline" : { - "destination" : [ "obj-27", 1 ], - "source" : [ "obj-12", 0 ] + "destination" : [ "obj-23", 0 ], + "order" : 0, + "source" : [ "obj-16", 1 ] } } , { "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-68", 0 ], + "source" : [ "obj-17", 1 ] } } , { "patchline" : { - "destination" : [ "obj-27", 2 ], - "source" : [ "obj-14", 0 ] + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-17", 0 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-21", 0 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-24", 1 ], + "source" : [ "obj-22", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], + "destination" : [ "obj-24", 2 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-23", 1 ] + "destination" : [ "obj-70", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-52", 1 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-23", 2 ] + "destination" : [ "obj-74", 0 ], + "source" : [ "obj-52", 0 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-27", 0 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-68", 0 ] } } , { "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-28", 0 ] + "destination" : [ "obj-71", 0 ], + "source" : [ "obj-70", 0 ] } } , { "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-3", 0 ] + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-71", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-74", 2 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-70", 0 ], + "source" : [ "obj-74", 1 ] } } ] } , - "patching_rect" : [ 514.5, 315.0, 48.0, 23.0 ], + "patching_rect" : [ 81.0, 200.0, 156.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -3420,19 +3788,28 @@ "tags" : "" } , - "text" : "p party" + "text" : "p \"generate random data\"" } } , { "box" : { - "id" : "obj-4", - "maxclass" : "newobj", + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "fontsize" : 13.0, + "hint" : "", + "id" : "obj-10", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 470.0, 460.0, 29.0, 22.0 ], - "text" : "thru" + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 277.5, 113.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } @@ -3444,7 +3821,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 66.0, 171.0, 213.0, 25.0 ], + "patching_rect" : [ 63.0, 111.0, 213.0, 25.0 ], "text" : "generate a random set of points." } @@ -3457,126 +3834,113 @@ "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 40.0, 171.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "fontsize" : 13.0, - "id" : "obj-100", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 568.5, 159.0, 162.0, 36.0 ], - "text" : "Change the point size of all (not highlighted) points", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + "patching_rect" : [ 37.0, 111.0, 24.0, 24.0 ] } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-99", - "linecount" : 2, + "id" : "obj-2", + "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 600.5, 99.5, 160.0, 36.0 ], - "text" : "Change the shape of the points as they're drawn.", + "patching_rect" : [ 460.0, 210.0, 279.0, 65.0 ], + "text" : "The range of the generated data sits between -2.5 and 2.5 but the view of the data is set to be between -5 and 5 on both axes to have some whitespace around the edges.", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "fontsize" : 13.0, - "id" : "obj-97", - "linecount" : 2, + "id" : "obj-1", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 645.5, 365.0, 124.0, 36.0 ], - "text" : "Change the background colour", + "patching_rect" : [ 10.0, 67.0, 427.0, 20.0 ], + "text" : "fluid.jit.plotter has a zoom feature allowing you to zone in on subsets of the plot", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { + "dontreplace" : 1, "fontsize" : 13.0, - "id" : "obj-51", + "id" : "obj-13", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 514.5, 122.5, 78.0, 23.0 ], - "text" : "shape circle" + "patching_rect" : [ 429.5, 665.0, 97.0, 23.0 ] } } , { "box" : { + "dontreplace" : 1, "fontsize" : 13.0, - "id" : "obj-50", + "id" : "obj-11", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 514.5, 85.5, 87.0, 23.0 ], - "text" : "shape square" + "patching_rect" : [ 305.0, 665.0, 96.0, 23.0 ] } } , { "box" : { - "id" : "obj-48", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 514.5, 164.5, 50.0, 22.0 ] + "fontsize" : 13.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 382.0, 630.0, 270.0, 23.0 ], + "text" : "route zoomxrange zoomyrange" } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-46", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 514.5, 197.0, 78.0, 23.0 ], - "text" : "pointsize $1" + "id" : "obj-9", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 658.0, 623.5, 258.0, 36.0 ], + "text" : "The selected range is output from the right in response to drag + modifier events.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { "fontsize" : 13.0, - "id" : "obj-31", - "maxclass" : "newobj", + "id" : "obj-7", + "linecount" : 14, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 514.5, 419.0, 102.0, 23.0 ], - "text" : "prepend bgcolor" + "numoutlets" : 0, + "patching_rect" : [ 410.0, 360.0, 279.0, 210.0 ], + "text" : "You can interactively control the range of the x and y areas using different keyboard modifiers while clicking and dragging.\n\nIf you (hold option / alt / winkey + drag) a box will be drawn over the canvas, showing which area of the plot you will \"zoom\" in on in.\n\nIf you (control + drag) it resets the x and y ranges to the last stored values received from a message (such as range [-5 5]).\n\nIf you (shift + drag) you can pan the view around within the current zoom range. ", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-26", - "maxclass" : "swatch", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "parameter_enable" : 0, - "patching_rect" : [ 514.5, 340.0, 125.0, 70.0 ], - "saturation" : 0.862745098039216 + "fontsize" : 13.0, + "id" : "obj-5", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 381.0, 240.0, 68.0, 23.0 ], + "text" : "range -5 5" } } @@ -3587,7 +3951,7 @@ "clickthrough" : 0, "enablehscroll" : 0, "enablevscroll" : 0, - "id" : "obj-1", + "id" : "obj-58", "lockeddragscroll" : 0, "lockedsize" : 0, "maxclass" : "bpatcher", @@ -3596,7 +3960,7 @@ "numoutlets" : 2, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "", "" ], - "patching_rect" : [ 84.0, 300.0, 240.0, 240.0 ], + "patching_rect" : [ 81.0, 290.0, 320.0, 320.0 ], "viewvisibility" : 1 } @@ -3616,178 +3980,114 @@ "patching_rect" : [ 10.0, 10.0, 320.0, 54.0 ] } - } -, { - "box" : { - "angle" : 270.0, - "background" : 1, - "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], - "border" : 2, - "bordercolor" : [ 0.0, 0.0, 0.0, 0.980392156862745 ], - "id" : "obj-41", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 460.0, 67.0, 490.0, 433.0 ], - "proportion" : 0.5 - } - } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-25", 1 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-10", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], + "destination" : [ "obj-4", 0 ], "source" : [ "obj-103", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "midpoints" : [ 805.0, 453.0, 479.5, 453.0 ], - "source" : [ "obj-11", 0 ] + "destination" : [ "obj-58", 0 ], + "midpoints" : [ 779.5, 590.0, 405.0, 590.0, 405.0, 279.0, 90.5, 279.0 ], + "source" : [ "obj-14", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 1 ], + "destination" : [ "obj-58", 1 ], + "midpoints" : [ 311.0, 271.0, 391.5, 271.0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "midpoints" : [ 524.0, 306.0, 479.5, 306.0 ], - "source" : [ "obj-17", 0 ] + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-25", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-22", 0 ] } } , { "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-26", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "midpoints" : [ 524.0, 452.5, 479.5, 452.5 ], - "source" : [ "obj-31", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-24", 0 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-35", 0 ] + "destination" : [ "obj-15", 0 ], + "midpoints" : [ 68.5, 187.25, 311.0, 187.25 ], + "source" : [ "obj-4", 1 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "midpoints" : [ 479.5, 492.0, 343.5, 492.0, 343.5, 289.0, 93.5, 289.0 ], + "destination" : [ "obj-5", 0 ], + "midpoints" : [ 46.5, 233.75, 390.5, 233.75 ], "source" : [ "obj-4", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "midpoints" : [ 49.5, 623.0, 27.5, 623.0, 27.5, 289.0, 93.5, 289.0 ], - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "midpoints" : [ 524.0, 225.5, 479.5, 225.5 ], - "source" : [ "obj-46", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-48", 0 ] + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 2 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], + "destination" : [ "obj-58", 1 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "midpoints" : [ 524.0, 112.5, 479.5, 112.5 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "midpoints" : [ 524.0, 149.5, 479.5, 149.5 ], - "source" : [ "obj-51", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-58", 1 ] } } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 71.5, 247.25, 314.0, 247.25 ], - "source" : [ "obj-9", 1 ] + "destination" : [ "obj-58", 0 ], + "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-11", 1 ], + "source" : [ "obj-8", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-9", 2 ] + "destination" : [ "obj-13", 1 ], + "source" : [ "obj-8", 1 ] } } @@ -3843,7 +4143,7 @@ ] } , - "patching_rect" : [ 206.0, 24.0, 82.0, 22.0 ], + "patching_rect" : [ 291.0, 24.0, 86.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -3851,8 +4151,7 @@ "tags" : "" } , - "text" : "p appearance", - "varname" : "advanced" + "text" : "p click'n'drag" } } @@ -3866,14 +4165,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 963.0, 761.0 ], + "rect" : [ 0.0, 26.0, 963.0, 792.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4010,7 +4309,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 470.0, 180.902831999999989, 378.0, 70.0 ], + "patching_rect" : [ 470.0, 180.902831999999989, 378.0, 69.0 ], "text" : "Click these messages to start adjusting the range to the minimum and maximum of the original data. You will see that the data is now visible in the space. Wiggle the number boxes to see how it affects the display of points." } @@ -4176,7 +4475,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 90.0, 122.5, 299.0, 70.0 ], + "patching_rect" : [ 90.0, 122.5, 299.0, 69.0 ], "text" : "Generate random data between a range that is not normal. In this case the horizontal values range between 0 and 10000, and the vertical values range between 40 and 600." } @@ -4226,8 +4525,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -4373,7 +4672,7 @@ "box" : { "id" : "obj-71", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "dictionary" ], "patching_rect" : [ 49.5, 286.90283203125, 121.0, 22.0 ], @@ -4795,14 +5094,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 963.0, 761.0 ], + "rect" : [ 0.0, 26.0, 963.0, 792.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4905,7 +5204,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 100.0, 404.0, 106.0, 103.0 ], + "patching_rect" : [ 100.0, 404.0, 106.0, 100.0 ], "text" : "The highlight message dictates which \"identifiers\" will be emphasised visually in the plotter.", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -4932,8 +5231,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 222.5, 700.0, 79.0, 23.0 ], - "text" : "speedlim 20" + "patching_rect" : [ 222.5, 700.0, 50.0, 23.0 ], + "text" : "qlim 20" } } @@ -5161,7 +5460,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 222.5, 574.0, 161.5, 23.0 ], - "text" : "0.583333 0.287879" + "text" : "0.484848 0.738636" } } @@ -5190,8 +5489,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -5398,8 +5697,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -5533,7 +5832,7 @@ "box" : { "id" : "obj-71", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "dictionary" ], "patching_rect" : [ 53.0, 285.90283203125, 121.0, 22.0 ], @@ -5983,14 +6282,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 352.0, 235.0, 963.0, 761.0 ], + "rect" : [ 0.0, 26.0, 963.0, 792.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -6102,7 +6401,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 550.0, 530.0, 240.0, 126.0 ], + "patching_rect" : [ 550.0, 530.0, 240.0, 123.0 ], "text" : "fluid.jit.plotter aims for speed with large datasets (– check the last tab).\nUsing the refer message instead of a dictionary avoids some copying and gives you several times the load speed with large datasets.\nNevertheless, the dictionary input still works, just like with fluid.plotter. ", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -6116,7 +6415,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 550.0, 422.0, 113.0, 51.0 ], + "patching_rect" : [ 550.0, 422.0, 113.0, 50.0 ], "text" : "refer without arguments resets all colors to black", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -6130,7 +6429,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 28.0, 422.0, 100.0, 51.0 ], + "patching_rect" : [ 28.0, 422.0, 100.0, 50.0 ], "text" : "refer without arguments erases the plot", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -6168,7 +6467,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 490.0, 333.5, 240.0, 81.0 ], + "patching_rect" : [ 490.0, 333.5, 240.0, 79.0 ], "text" : "The right inlet expects the name of a fluid.labelset~ with the refer message.\nEach unique label in the fluid.labelset~ will be randomly assigned to a colour inside the fluid.plotter.", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -6322,7 +6621,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 720.0, 130.0, 117.0, 25.0 ], + "patching_rect" : [ 718.0, 129.0, 117.0, 25.0 ], "text" : "Cluster the data" } @@ -6387,7 +6686,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 190.0, 333.5, 243.0, 51.0 ], + "patching_rect" : [ 190.0, 333.5, 243.0, 50.0 ], "text" : "Use the refer message with the name of a fluid.dataset~. The fluid.dataset~ must be only two dimensions.", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -6613,6 +6912,8 @@ "lines" : [ ], "parameters" : { "obj-4::obj-20" : [ "number", "number", 0 ], + "obj-8::obj-48" : [ "number[1]", "number[1]", 0 ], + "obj-8::obj-8" : [ "number[2]", "number[2]", 0 ], "parameterbanks" : { "0" : { "index" : 0, @@ -6626,8 +6927,12 @@ } , "dependency_cache" : [ { - "name" : "fluid.buf2list.mxe64", - "type" : "mx64" + "name" : "fluid.buf2list.mxo", + "type" : "iLaX" + } +, { + "name" : "fluid.bufcompose~.mxo", + "type" : "iLaX" } , { "name" : "fluid.dataloader.maxpat", @@ -6637,8 +6942,8 @@ "implicit" : 1 } , { - "name" : "fluid.dataset~.mxe64", - "type" : "mx64" + "name" : "fluid.dataset~.mxo", + "type" : "iLaX" } , { "name" : "fluid.jit.plotter.labels2colors.js", @@ -6655,27 +6960,27 @@ "implicit" : 1 } , { - "name" : "fluid.jit.plotter.resize.pworld.js", + "name" : "fluid.jit.plotter.resize.pwindow.js", "bootpath" : "~/Documents/Max 8/Packages/FluidCorpusManipulation/javascript", "patcherrelativepath" : "../javascript", "type" : "TEXT", "implicit" : 1 } , { - "name" : "fluid.kdtree~.mxe64", - "type" : "mx64" + "name" : "fluid.kdtree~.mxo", + "type" : "iLaX" } , { - "name" : "fluid.kmeans~.mxe64", - "type" : "mx64" + "name" : "fluid.kmeans~.mxo", + "type" : "iLaX" } , { - "name" : "fluid.labelset~.mxe64", - "type" : "mx64" + "name" : "fluid.labelset~.mxo", + "type" : "iLaX" } , { - "name" : "fluid.list2buf.mxe64", - "type" : "mx64" + "name" : "fluid.list2buf.mxo", + "type" : "iLaX" } , { "name" : "helpdetails.js", diff --git a/help/fluid.plotter.maxhelp b/help/fluid.plotter.maxhelp index 445eea14..c9dac067 100644 --- a/help/fluid.plotter.maxhelp +++ b/help/fluid.plotter.maxhelp @@ -3,8 +3,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -50,14 +50,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 100.0, 126.0, 965.0, 767.0 ], + "rect" : [ 0.0, 26.0, 965.0, 767.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -87,13 +87,27 @@ "showontab" : 1, "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-37", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 820.0, 547.0, 113.0, 35.0 ], + "text" : "loadmess pointsizescale 0.01" + } + + } +, { "box" : { "id" : "obj-26", + "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 789.0, 360.0, 159.0, 22.0 ], + "patching_rect" : [ 820.0, 340.0, 113.0, 35.0 ], "text" : "loadmess pointsizescale 0.1" } @@ -177,19 +191,6 @@ "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } - } -, { - "box" : { - "id" : "obj-29", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 100.0, 681.0, 490.5, 47.0 ], - "text" : "Note: fluid.jit.plotter does not support setpoint, pointcolor and pointsize (for individual point size) like fluid.plotter does. While fluid.jit.plotter behaves similarly to fluid.plotter in most cases, fluid.jit.plotter is geared towards speed and as such sacrifices a bit of flexibility.", - "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] - } - } , { "box" : { @@ -336,8 +337,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -727,8 +728,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -995,18 +996,6 @@ "text" : "fluid.dataset~ help.large.dummy" } - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 820.0, 560.0, 121.0, 22.0 ], - "text" : "loadmess pointsize 1" - } - } , { "box" : { @@ -1021,8 +1010,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -1576,13 +1565,6 @@ "source" : [ "obj-26", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-91", 1 ], - "source" : [ "obj-28", 0 ] - } - } , { "patchline" : { @@ -1632,6 +1614,13 @@ "source" : [ "obj-36", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-91", 1 ], + "source" : [ "obj-37", 0 ] + } + } , { "patchline" : { @@ -1829,8 +1818,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -1891,8 +1880,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -1963,7 +1952,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 431.5, 665.0, 97.0, 38.0 ], - "text" : "-3.167702 2.888199" + "text" : "-0.807453 1.459627" } } @@ -1977,7 +1966,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 307.0, 665.0, 96.0, 38.0 ], - "text" : "-2.981366 3.10559" + "text" : "-0.993789 2.111801" } } @@ -2006,8 +1995,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -2573,8 +2562,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -2616,8 +2605,8 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 10.0, 67.0, 474.0, 21.0 ], - "text" : "Drawing through the \"advanced\" interface lets you be more draw at a lower level.", + "patching_rect" : [ 10.0, 67.0, 422.0, 21.0 ], + "text" : "Drawing through the \"advanced\" interface lets you draw at a lower level.", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -2682,8 +2671,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -2881,8 +2870,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -2982,7 +2971,7 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "int" ], + "outlettype" : [ "" ], "patching_rect" : [ 161.0, 93.0, 73.0, 22.0 ], "text" : "random 100" } @@ -2994,7 +2983,7 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "int" ], + "outlettype" : [ "" ], "patching_rect" : [ 87.0, 93.0, 73.0, 22.0 ], "text" : "random 100" } @@ -3006,7 +2995,7 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "int" ], + "outlettype" : [ "" ], "patching_rect" : [ 13.0, 93.0, 73.0, 22.0 ], "text" : "random 100" } @@ -3296,8 +3285,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -3540,8 +3529,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -3829,7 +3818,7 @@ "outlettype" : [ "", "float" ], "parameter_enable" : 0, "patching_rect" : [ 674.0, 283.0, 125.0, 70.0 ], - "saturation" : 0.556862745098039 + "saturation" : 0.549019607843137 } } @@ -4140,8 +4129,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -4493,8 +4482,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -4664,7 +4653,7 @@ "box" : { "id" : "obj-71", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "dictionary" ], "patching_rect" : [ 49.5, 286.90283203125, 121.0, 22.0 ], @@ -5100,8 +5089,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -5237,8 +5226,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 222.5, 700.0, 79.0, 23.0 ], - "text" : "speedlim 20" + "patching_rect" : [ 222.5, 700.0, 50.0, 23.0 ], + "text" : "qlim 20" } } @@ -5488,8 +5477,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -5722,8 +5711,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -5881,7 +5870,7 @@ "box" : { "id" : "obj-71", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "dictionary" ], "patching_rect" : [ 53.0, 285.90283203125, 121.0, 22.0 ], @@ -6345,14 +6334,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 965.0, 767.0 ], + "rect" : [ 100.0, 126.0, 965.0, 767.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -6826,6 +6815,10 @@ "name" : "fluid.buf2list.mxo", "type" : "iLaX" } +, { + "name" : "fluid.bufcompose~.mxo", + "type" : "iLaX" + } , { "name" : "fluid.dataloader.maxpat", "bootpath" : "~/Documents/Max 8/Packages/FluidCorpusManipulation/patchers", @@ -6852,7 +6845,7 @@ "implicit" : 1 } , { - "name" : "fluid.jit.plotter.resize.pworld.js", + "name" : "fluid.jit.plotter.resize.pwindow.js", "bootpath" : "~/Documents/Max 8/Packages/FluidCorpusManipulation/javascript", "patcherrelativepath" : "../javascript", "type" : "TEXT", diff --git a/javascript/fluid.jit.plotter.resize.pwindow.js b/javascript/fluid.jit.plotter.resize.pwindow.js new file mode 100644 index 00000000..9d6f5c9c --- /dev/null +++ b/javascript/fluid.jit.plotter.resize.pwindow.js @@ -0,0 +1,103 @@ +outlets = 1; +// create a Task event loop detecting bpatcher resizing +// and adjusting pwindow presentatin_rect accordingly +var task = new Task(getBpatcherRect, this); +// buffers for comparison +var prevWidthPatching, prevHeightPatching, prevWidthPresentation, prevHeightPresentation, prevPresentation; +// Minimum and maximum intervals (in ms) for the Task. +// It starts out at minInterval, and gradually slows +// down to maxInterval by multiplying the current +// Task.interval by intervalMult on every step. +// It keeps ticking at this low rate until a new +// resize is detected. +var minInterval = 10; +var maxInterval = 1000; +var intervalMult = 1.1; +// optionally force square aspect ratio (kind of janky) +var forceSquareBpatcher = false; + + +// the callback function for the Task +function getBpatcherRect() { + // force square aspect ratio + if (this.patcher.box != null && forceSquareBpatcher) { + forceSquareAR(); + } + // get bpatcher width and height - in patching and presentation + patchingRect = this.patcher.box.getboxattr("patching_rect"); // [x, y, width, height] + presentationRect = this.patcher.box.getboxattr("presentation_rect"); // [x, y, width, height] + // check if we are in presentation mode + presentation = this.patcher.parentpatcher.getattr("presentation"); + // get width and height + patchingWidth = patchingRect[2]; + patchingHeight = patchingRect[3]; + presentationWidth = presentationRect[2]; + presentationHeight = presentationRect[3]; + // output list for setting the pworld presentation_rect to width & height + if (presentation == 1) { + outlet(0, 0, 0, presentationWidth, presentationHeight); + } else { + outlet(0, 0, 0, patchingWidth, patchingHeight); + } + // output the parent's window location on 2nd outlet + // outlet(1, this.patcher.parentpatcher.wind.location); // don't need this anymore + // slow down Task refresh rate if idle + adjustInterval(patchingWidth, patchingHeight, presentationWidth, presentationHeight, presentation); + // save width & height & presentation for comparison + prevWidthPatching = patchingWidth; + prevHeightPatching = patchingHeight; + prevWidthPresentation = presentationWidth; + prevHeightPresentation = presentationHeight; + prevPresentation = presentation; +} + + +function forceSquareAR() { + // get bpatcher width and height - in patching and presentation + patchingRect = this.patcher.box.getboxattr("patching_rect"); // [x, y, width, height] + presentationRect = this.patcher.box.getboxattr("presentation_rect"); // [x, y, width, height] + // get width and height + patchingWidth = patchingRect[2]; + patchingHeight = patchingRect[3]; + presentationWidth = presentationRect[2]; + presentationHeight = presentationRect[3]; + // force it in patching + if (patchingWidth == prevWidthPatching || patchingHeight == prevHeightPatching) { + longestSide = patchingWidth >= patchingHeight ? patchingWidth : patchingHeight; + this.patcher.box.setboxattr("patching_rect", [patchingRect[0], patchingRect[1], longestSide, longestSide]); + } + // force it in presentation + if (presentationWidth == prevWidthPresentation || presentationHeight == prevHeightPresentation) { + longestSide = presentationWidth >= presentationHeight ? presentationWidth : presentationHeight; + this.patcher.box.setboxattr("presentation_rect", [presentationRect[0], presentationRect[1], longestSide, longestSide]); + } +} + + +// slow down Task interval when idle +function adjustInterval(patchingWidth, patchingHeight, presentationWidth, presentationHeight, presentation) { + if (patchingWidth == prevWidthPatching && patchingHeight == prevHeightPatching && presentationWidth == prevWidthPresentation && presentationHeight == prevHeightPresentation && presentation == prevPresentation) { + task.interval = Math.min(task.interval * intervalMult, maxInterval); + } else { + // reset to fast refresh if width or height changes + task.interval = minInterval; + } +} + + +// start the task loop +function start() { + // if not in a subpatcher + if (this.patcher.box == null) { + return; + } + task.cancel(); + task.interval = minInterval; + task.repeat(); +} + + +// stop the task loop +function stop() { + task.cancel(); +} \ No newline at end of file diff --git a/javascript/fluid.jit.plotter.resize.pworld.js b/javascript/fluid.jit.plotter.resize.pworld.js deleted file mode 100644 index 7c9d65d4..00000000 --- a/javascript/fluid.jit.plotter.resize.pworld.js +++ /dev/null @@ -1,77 +0,0 @@ -// create a Task event loop detecting bpatcher resizing -// and adjusting pworld presentatin_rect accordingly -var task = new Task(getBpatcherRect, this); -// buffers for comparison -var prevWidth, prevHeight; -// Minimum and maximum intervals (in ms) for the Task. -// It starts out at minInterval, and gradually slows -// down to maxInterval by multiplying the current -// Task.interval by intervalMult on every step. -// It keeps ticking at this low rate until a new -// resize is detected. -var minInterval = 10; -var maxInterval = 1000; -var intervalMult = 1.1; -// optionally force square aspect ratio (kind of janky) -var forceSquareBpatcher = true; - - -// the callback function for the Task -function getBpatcherRect() { - // force square aspect ratio - if (this.patcher.box != null && forceSquareBpatcher) { - forceSquareAR(); - } - // get bpatcher width and height - r = this.patcher.box.rect; - width = r[2] - r[0]; - height = r[3] - r[1]; - // output list for setting the pworld presentation_rect to width & height - outlet(0, 0, 0, width, height); - // slow down Task refresh rate if idle - adjustInterval(width, height); - // save width & height for comparison - prevWidth = width; - prevHeight = height; -} - - -function forceSquareAR() { - // get bpatcher width and height - r = this.patcher.box.rect; - width = r[2] - r[0]; - height = r[3] - r[1]; - if (width == prevWidth || height == prevHeight) { - longestSide = width >= height ? width : height; - this.patcher.box.rect = [r[0], r[1], r[0]+longestSide, r[1]+longestSide]; - } -} - - -// slow down Task interval when idle -function adjustInterval(width, height) { - if (width == prevWidth || height == prevHeight) { - task.interval = Math.min(task.interval * intervalMult, maxInterval); - } else { - // reset to fast refresh if width or height changes - task.interval = minInterval; - } -} - - -// start the task loop -function start() { - // if not in a subpatcher - if (this.patcher.box == null) { - return; - } - task.cancel(); - task.interval = minInterval; - task.repeat(); -} - - -// stop the task loop -function stop() { - task.cancel(); -} \ No newline at end of file diff --git a/local_docs/fluid.jit.plotter.maxref.xml b/local_docs/fluid.jit.plotter.maxref.xml index a27dfaff..5bf226cc 100644 --- a/local_docs/fluid.jit.plotter.maxref.xml +++ b/local_docs/fluid.jit.plotter.maxref.xml @@ -16,13 +16,11 @@ under the European Union’s Horizon 2020 research and innovation programme

Open the Overview Patch

The fluid.jit.plotter abstraction can be used as a versatile solution for plotting points in a two-dimensional graph. -It is a performance-oriented variant of the fluid.plotter object, built around jit.pworld. While it is less flexible than fluid.plotter, it is more efficient and can handle larger datasets (such as ones with millions of points). +It is a performance-oriented variant of the fluid.plotter object, built in a jit.gl environment. It is more efficien than fluid.plotter and can handle larger datasets (such as ones with millions of points). To use it, use the refer message (left inlet) with the name of a fluid.dataset~ that contains the 2D coordinates of the points. Similarly, you can use the refer message (right inlet) with the name of a fluid.labelset~ to be used for assigning colors to the points based on pre-defined color palettes. -Note that, contrary to the fluid.plotter object, with fluid.jit.plotter you cannot specify the coordinates and colors of the points directly. You must use a fluid.dataset~ and a fluid.labelset~. Nor can you assign individual sizes to points. These restrictions were necessary to enable the performance improvements with large datasets. - -The interface is also slightly different from the one of fluid.plotter. For more information, see the help file. +There is also an 'advanced' interface that allows the user to specify the coordinates and colours of the points in a more flexible and bespoke manner. See the help file for more information on this.

fluid.jit.plotter is part of the Fluid Decomposition Toolkit of the FluCoMa project. For more explanations, learning material, and discussions on its musicianly uses, visit flucoma.org.

@@ -152,6 +150,36 @@ The interface is also slightly different from the one of fluid.plotter. For more + + + + + + + + + + + Set the point at the given coordinates. Note that, to avoid accidentally modifying outside datasets, if an earlier reference was specified (via the refer message) the plot with switch to its internal dataset, making the previous set of points disappear. If you want to load a dataset and then edit its points via the setpoint message, then load the dataset first as a dictionary. + + + + + + + + + + + + + + + + Set the color of the point with a given identifier. + + + @@ -165,25 +193,38 @@ The interface is also slightly different from the one of fluid.plotter. For more - + + + + + + + + Set the size of the point with a given identifier. + + + + + + - Set the size of all points that are not highlighted. + Set the overall size of the points. Defaults to 1. - + - + - Set the size of all highlighted points. + Set the ratio of the size of the highlighted points to the regular points. Defaults to 2.4. diff --git a/patchers/fluid.jit.plotter.maxpat b/patchers/fluid.jit.plotter.maxpat index 62eac1d5..055ebccf 100644 --- a/patchers/fluid.jit.plotter.maxpat +++ b/patchers/fluid.jit.plotter.maxpat @@ -3,15 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 34.0, 100.0, 1660.0, 983.0 ], - "openrect" : [ 0.0, 0.0, 300.0, 300.0 ], + "openrect" : [ 34.0, 100.0, 363.0, 361.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -32,7 +31,7 @@ "boxanimatetime" : 200, "enablehscroll" : 1, "enablevscroll" : 1, - "devicewidth" : 0.0, + "devicewidth" : 363.0, "description" : "", "digest" : "", "tags" : "", @@ -41,18 +40,211 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-26", + "id" : "obj-90", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 453.95398337642348, 776.0, 79.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, 249.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, 409.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, 338.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, 607.0, 146.0, 22.0 ], + "text" : "r #0_update_pointsizes" + } + + } +, { + "box" : { + "id" : "obj-97", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1076.888049870729446, 140.5, 178.0, 20.0 ], - "text" : "panfactor for shift+drag panning" + "patching_rect" : [ 1267.0, 240.0, 222.0, 20.0 ], + "text" : "pointsize to control individual point sizes" } } , { "box" : { - "id" : "obj-24", + "id" : "obj-93", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -61,14 +253,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 553.0, 489.0, 174.0, 239.0 ], + "rect" : [ 1343.0, -1083.0, 453.0, 648.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -98,270 +290,245 @@ "assistshowspatchername" : 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", + "id" : "obj-1", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 34.000012129270544, 45.0, 59.0, 33.0 ], - "text" : "panfactor\nother" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.0, 411.0, 57.0, 22.0 ], + "text" : "tosymbol" } } , { "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 39.000012129270544, 158.0, 70.0, 22.0 ], - "text" : "loadmess 1" + "patching_rect" : [ 132.0, 504.0, 95.0, 22.0 ], + "text" : "setcell $1 val $2" } } , { "box" : { - "id" : "obj-23", + "id" : "obj-65", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 19.000012129270544, 189.0, 81.0, 22.0 ], - "text" : "pv pan_factor" + "numoutlets" : 0, + "patching_rect" : [ 195.0, 342.0, 150.0, 22.0 ], + "text" : "s #0_request_ids_dump" } } , { "box" : { - "id" : "obj-13", + "id" : "obj-2", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 19.000012129270544, 86.0, 89.0, 22.0 ], - "text" : "route panfactor" + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 155.0, 313.0, 59.0, 22.0 ], + "text" : "t l b" } } , { "box" : { - "comment" : "xrange, yrange, range, other", - "id" : "obj-240", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 1, "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 ] - } - - } - ] - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } , - "patching_rect" : [ 1062.888049870729446, 161.5, 111.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p handle_panfactor" - } + "classnamespace" : "box", + "rect" : [ 59.0, 119.0, 574.0, 225.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1723.442766537395983, 393.899999999999864, 81.0, 22.0 ], - "text" : "pv pan_factor" - } + } +, { + "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-22", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 61.749999870729539, 102.5, 158.0, 33.0 ], - "text" : "clear and reset are aliases to refer with no args" - } + } +, { + "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-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 51.13804987072956, 137.5, 25.0, 22.0 ], - "text" : "b 1" - } + } +, { + "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" : { - "id" : "obj-21", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 569.804716537396189, 115.5, 60.0, 20.0 ], - "text" : "dictionary" - } + } +, { + "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" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } + } +, { + "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 ] + } + + } + ] + } , - "classnamespace" : "box", - "rect" : [ -311.0, -1054.0, 313.0, 257.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-1", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 33.249999870729454, 25.0, 60.0, 33.0 ], - "text" : "load, then refer" + "patching_rect" : [ 12.0, 536.0, 79.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p bangthresh" } } , { "box" : { - "id" : "obj-28", + "id" : "obj-4", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 137.0, 153.0, 50.0, 22.0 ], - "text" : "sel load" + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 12.0, 603.0, 148.0, 22.0 ], + "text" : "s #0_update_pointsizes" } } , { "box" : { - "id" : "obj-26", + "id" : "obj-167", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 168.25, 77.0, 133.0, 22.0 ], - "text" : "prepend load dictionary" + "numoutlets" : 0, + "patching_rect" : [ 32.0, 573.0, 153.0, 22.0 ], + "text" : "s #0_redraw_highlighted" } } , { "box" : { - "id" : "obj-24", + "id" : "obj-21", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 21.0, 77.0, 129.0, 22.0 ], - "text" : "getattr name @listen 0" + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 12.0, 113.0, 162.0, 22.0 ], + "text" : "t b l" } } @@ -371,107 +538,339 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 76.0, 120.0, 80.0, 22.0 ], - "text" : "fluid.dataset~" + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 132.0, 535.0, 143.0, 22.0 ], + "text" : "jit.matrix #0_pointsizes" } } , { "box" : { - "id" : "obj-8", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 53.0, 214.5, 208.0, 20.0 ], - "text" : "dataset name sent to [p handle_refer]" + "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-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 206.249999870729454, 30.0, 60.0, 20.0 ], - "text" : "dictionary" + "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" : { - "comment" : "refer ", - "id" : "obj-209", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, + "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" : [ "" ], - "patching_rect" : [ 168.25, 25.0, 30.0, 30.0 ] + "outlettype" : [ "int" ], + "patching_rect" : [ 132.0, 249.0, 29.5, 22.0 ], + "text" : "+ 1" } } , { "box" : { - "comment" : "bang", - "id" : "obj-210", + "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" : [ 21.0, 209.5, 30.0, 30.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-26", 0 ], - "source" : [ "obj-209", 0 ] + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-210", 0 ], - "source" : [ "obj-24", 0 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-11", 0 ] } } , { "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-24", 1 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-12", 0 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-25", 1 ] + "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-26", 0 ] + "source" : [ "obj-18", 0 ] } } , { "patchline" : { - "destination" : [ "obj-24", 0 ], - "midpoints" : [ 146.5, 185.0, 14.5, 185.0, 14.5, 70.0, 30.5, 70.0 ], - "source" : [ "obj-28", 0 ] + "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" : [ 556.804716537396189, 137.5, 113.0, 22.0 ], + "patching_rect" : [ 1258.0, 262.0, 109.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -479,98 +878,29 @@ "tags" : "" } , - "text" : "p handle_dictionary" + "text" : "p handle_pointsize" } } , { "box" : { - "id" : "obj-10", + "id" : "obj-76", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 388.388049870729503, 215.5, 58.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1422.888050000000021, 456.700000000000045, 159.0, 22.0 ], - "text" : "s #0_update_point_colors" - } - - } -, { - "box" : { - "id" : "obj-5", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1076.888049741458872, 271.099999999999909, 175.0, 33.0 ], - "text" : "colorscheme message is redirected to [p labels2colors]" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 860.861950129270554, 241.5, 55.0, 22.0 ], - "text" : "enable 1" - } - - } -, { - "box" : { - "id" : "obj-311", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 83.13804987072956, 12.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" : [ 1353.388050000000021, 841.457031000000143, 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" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 183.0, 207.0, 1353.0, 824.0 ], + "rect" : [ -258.0, -859.0, 459.0, 366.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -600,162 +930,95 @@ "assistshowspatchername" : 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", + "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 439.750017999999955, 321.5, 22.0, 22.0 ], - "text" : "t 1" + "outlettype" : [ "" ], + "patching_rect" : [ 320.666666666666686, 148.0, 107.0, 22.0 ], + "text" : "pv highlight_scale" } } , { "box" : { - "id" : "obj-35", - "maxclass" : "newobj", + "id" : "obj-6", + "maxclass" : "message", "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" + "patching_rect" : [ 320.666666666666686, 178.0, 107.0, 22.0 ], + "text" : "highlight_scale $1" } } , { "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-11", + "maxclass" : "message", + "numinlets" : 2, "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" + "patching_rect" : [ 50.0, 269.0, 121.0, 22.0 ], + "text" : "vertex_attr_matrix $2" } } , { "box" : { - "id" : "obj-28", + "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 972.249970000000076, 255.5, 180.0, 22.0 ], - "text" : "s #0_to_mousing_mode_gate" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 185.333333333333343, 148.0, 107.0, 22.0 ], + "text" : "pv pointsize_scale" } } , { "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 0, + "id" : "obj-5", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 27.0, 359.0, 178.0, 22.0 ], - "text" : "r #0_to_mousing_mode_gate" + "patching_rect" : [ 185.333333333333343, 178.0, 107.0, 22.0 ], + "text" : "pointsize_scale $1" } } , { "box" : { - "id" : "obj-25", + "id" : "obj-3", "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" + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 50.0, 81.0, 289.666666666666686, 22.0 ], + "text" : "b 3" } } , { "box" : { - "id" : "obj-18", + "id" : "obj-2", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , - "classnamespace" : "box", - "rect" : [ 508.0, 193.0, 846.0, 784.0 ], + "classnamespace" : "jit.gen", + "rect" : [ 1223.0, -1207.0, 297.0, 210.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -785,441 +1048,5657 @@ "assistshowspatchername" : 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", + "id" : "obj-8", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 433.83207480609417, 914.0, 115.0, 33.0 ], - "text" : "apply displacement to x/y ranges" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 16.0, 47.0, 103.0, 22.0 ], + "text" : "* pointsize_scaler" } } , { "box" : { - "id" : "obj-106", + "id" : "obj-7", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 35.0, 529.0, 85.5, 22.0 ], - "text" : "t l b" + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 137.0, 47.0, 149.0, 22.0 ], + "text" : "param pointsize_scaler 20" } } , { "box" : { - "id" : "obj-105", + "id" : "obj-6", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 665.5, 86.0, 22.0 ], - "text" : "vexpr $f1 * $f2" + "patching_rect" : [ 16.0, 105.0, 96.0, 22.0 ], + "text" : "* highlight_scale" } } , { "box" : { - "id" : "obj-104", + "id" : "obj-2", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 101.5, 626.0, 147.611950129270554, 22.0 ], - "text" : "join" + "patching_rect" : [ 139.0, 105.0, 145.0, 22.0 ], + "text" : "param highlight_scale 2.4" } } , { "box" : { - "id" : "obj-99", + "id" : "obj-5", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 230.111950129270554, 597.0, 29.5, 22.0 ], - "text" : "!- 0." + "outlettype" : [ "" ], + "patching_rect" : [ 137.0, 77.0, 138.0, 22.0 ], + "text" : "param pointsize_scale 1" } } , { "box" : { - "id" : "obj-98", + "id" : "obj-1", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 101.5, 597.0, 29.5, 22.0 ], - "text" : "!- 0." + "outlettype" : [ "" ], + "patching_rect" : [ 16.0, 16.0, 28.0, 22.0 ], + "text" : "in 1" } } , { "box" : { - "id" : "obj-96", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 230.111950129270554, 568.5, 117.0, 22.0 ], - "text" : "pv yrange@panstart" + "patching_rect" : [ 16.0, 77.0, 99.0, 22.0 ], + "text" : "* pointsize_scale" } } , { "box" : { - "id" : "obj-97", + "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 101.5, 568.5, 117.0, 22.0 ], - "text" : "pv xrange@panstart" + "numoutlets" : 0, + "patching_rect" : [ 16.0, 166.0, 35.0, 22.0 ], + "text" : "out 1" } } -, { - "box" : { - "id" : "obj-91", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 275.83207480609417, 764.0, 94.0, 20.0 ], - "text" : "apply pan factor" + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-1", 0 ] } } , { - "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" + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 0 ] } } , { - "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" + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-6", 0 ] } } , { - "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" + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-8", 0 ] } } -, { - "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" - } + ] + } +, + "patching_rect" : [ 50.0, 236.0, 41.0, 22.0 ], + "text" : "jit.gen" + } - } -, { - "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-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" : { - "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" : { + "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" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 520.276099741458893, 309.0, 61.0, 22.0 ], - "text" : "pv yrange" - } + } +, { + "box" : { + "comment" : "", + "id" : "obj-73", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 306.0, 30.0, 30.0 ] + } - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 382.888049870729446, 309.0, 61.0, 22.0 ], - "text" : "pv xrange" - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } - } -, { - "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" - } + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-11", 0 ] + } - } -, { - "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" - } + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-2", 0 ] + } - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 996.0, 214.111950129270554, 22.0 ], - "text" : "join" - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-3", 0 ] + } - } -, { - "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" - } + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 2 ] + } - } -, { - "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" - } + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-3", 1 ] + } - } -, { - "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" - } + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } - } -, { - "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" - } + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-5", 0 ] + } - } -, { - "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" - } + } +, { + "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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p apply_pointsize_scale" + } + + } +, { + "box" : { + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 371.0, -830.0, 346.0, 355.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "jit.gen", + "rect" : [ 1107.0, -831.0, 310.0, 178.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { "box" : { - "id" : "obj-44", + "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 34.5, 931.0, 117.0, 22.0 ], - "text" : "pv xrange@panstart" + "patching_rect" : [ 16.0, 48.0, 103.0, 22.0 ], + "text" : "* pointsize_scaler" } } , { "box" : { - "id" : "obj-43", + "id" : "obj-6", "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]" + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 136.0, 48.0, 149.0, 22.0 ], + "text" : "param pointsize_scaler 20" } } , { "box" : { - "id" : "obj-35", + "id" : "obj-5", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 35.0, 464.5, 85.0, 22.0 ], - "text" : "vexpr $f1 - $f2" + "patching_rect" : [ 136.0, 80.0, 138.0, 22.0 ], + "text" : "param pointsize_scale 1" } } , { "box" : { - "id" : "obj-34", + "id" : "obj-1", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 35.0, 435.0, 85.0, 22.0 ], - "text" : "list.slice 2" + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 16.0, 16.0, 28.0, 22.0 ], + "text" : "in 1" } } , { "box" : { - "id" : "obj-17", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 561.0, 220.0, 22.0, 22.0 ], - "text" : "t 1" + "outlettype" : [ "" ], + "patching_rect" : [ 16.0, 79.0, 99.0, 22.0 ], + "text" : "* pointsize_scale" } } , { "box" : { - "id" : "obj-12", - "linecount" : 3, - "maxclass" : "comment", + "id" : "obj-4", + "maxclass" : "newobj", "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)" + "patching_rect" : [ 16.0, 116.0, 35.0, 22.0 ], + "text" : "out 1" } } -, { - "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 ] + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-1", 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" + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] } } , { - "box" : { - "id" : "obj-27", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 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, 681.0, 136.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : { + "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" + } + + } +, { + "box" : { + "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" + } + + } +, { + "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" : [ 938.0, 947.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" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 938.0, 908.0, 169.0, 35.0 ], + "text" : "jit.gl.render #0_fluid.jit.plotter @erase_color 1 1 1 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" : [ 1.0, 0.0, 332.0, 332.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" : [ 828.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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 87.0, 128.0, 1539.0, 861.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.0, 346.0, 277.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "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, 150.0, 112.0, 20.0 ], + "text" : "add a new 1D 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, 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, 149.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, 113.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-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-56", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 143.0, 391.0, 141.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.0, 273.0, 369.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 134.0, 172.0, 418.0, 363.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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" : 0, + "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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 873.0, 282.0, 193.0, 380.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.0, 346.0, 277.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "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, 150.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, 149.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, 113.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-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-56", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 205.0, 367.0, 153.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 787.0, 387.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 1046.0, -1066.0, 481.0, 711.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.0, 574.0, 225.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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-13", 1 ], + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "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 ] + } + + } + ] + } +, + "patching_rect" : [ 1258.0, 384.5, 113.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 553.0, 489.0, 174.0, 239.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 134.0, 172.0, 284.0, 296.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 183.0, 207.0, 1353.0, 824.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 508.0, 193.0, 846.0, 784.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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" } @@ -2035,8 +7514,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -2453,8 +7932,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -2729,57 +8208,291 @@ "tags" : "" } , - "text" : "p reset_zoom" - } + "text" : "p reset_zoom" + } + + } +, { + "box" : { + "id" : "obj-218", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 340.0, 100.0, 902.0, 983.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 228.0, 182.0, 275.0, 280.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p sort_xy" + } - } -, { - "box" : { - "id" : "obj-218", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "", "bang", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 340.0, 100.0, 902.0, 983.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { + } +, { "box" : { "id" : "obj-17", "maxclass" : "newobj", @@ -2867,7 +8580,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 517.5, 620.0, 232.0, 20.0 ], + "patching_rect" : [ 517.5, 662.0, 232.0, 20.0 ], "text" : "last (x0, y0, x1, y1) relative to view ranges" } @@ -3041,30 +8754,6 @@ "text" : "pv mouse_btn" } - } -, { - "box" : { - "id" : "obj-188", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 646.720124676823616, 755.0, 47.0, 22.0 ], - "text" : "list.sort" - } - - } -, { - "box" : { - "id" : "obj-187", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 575.83207480609417, 755.0, 47.0, 22.0 ], - "text" : "list.sort" - } - } , { "box" : { @@ -3121,7 +8810,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 504.888049870729446, 596.0, 161.888049870729446, 22.0 ], + "patching_rect" : [ 504.888049870729446, 638.0, 161.888049870729446, 22.0 ], "text" : "join" } @@ -3137,8 +8826,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -3472,7 +9161,7 @@ ] } , - "patching_rect" : [ 647.776099741458893, 564.0, 135.0, 22.0 ], + "patching_rect" : [ 647.776099741458893, 606.0, 135.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -3491,7 +9180,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 504.888049870729446, 532.0, 161.888049870729446, 22.0 ], + "patching_rect" : [ 504.888049870729446, 574.0, 161.888049870729446, 22.0 ], "text" : "list.slice 2" } @@ -3507,8 +9196,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -3842,7 +9531,7 @@ ] } , - "patching_rect" : [ 504.888049870729446, 564.0, 135.0, 22.0 ], + "patching_rect" : [ 504.888049870729446, 606.0, 135.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -4152,7 +9841,7 @@ } , { "patchline" : { - "destination" : [ "obj-172", 0 ], + "destination" : [ "obj-4", 0 ], "source" : [ "obj-165", 0 ] } @@ -4236,75 +9925,61 @@ } , { "patchline" : { - "destination" : [ "obj-187", 0 ], + "destination" : [ "obj-170", 0 ], + "order" : 0, "source" : [ "obj-182", 0 ] } } , { "patchline" : { - "destination" : [ "obj-188", 0 ], - "source" : [ "obj-183", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-166", 0 ], - "source" : [ "obj-184", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-182", 0 ], - "source" : [ "obj-184", 1 ] + "destination" : [ "obj-2", 0 ], + "order" : 1, + "source" : [ "obj-182", 0 ] } } , { "patchline" : { - "destination" : [ "obj-183", 0 ], - "source" : [ "obj-184", 2 ] + "destination" : [ "obj-169", 0 ], + "order" : 0, + "source" : [ "obj-183", 0 ] } } , { "patchline" : { - "destination" : [ "obj-217", 0 ], - "source" : [ "obj-186", 0 ] + "destination" : [ "obj-3", 0 ], + "order" : 1, + "source" : [ "obj-183", 0 ] } } , { "patchline" : { - "destination" : [ "obj-170", 0 ], - "order" : 0, - "source" : [ "obj-187", 0 ] + "destination" : [ "obj-166", 0 ], + "source" : [ "obj-184", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "order" : 1, - "source" : [ "obj-187", 0 ] + "destination" : [ "obj-182", 0 ], + "source" : [ "obj-184", 1 ] } } , { "patchline" : { - "destination" : [ "obj-169", 0 ], - "order" : 0, - "source" : [ "obj-188", 0 ] + "destination" : [ "obj-183", 0 ], + "source" : [ "obj-184", 2 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "order" : 1, - "source" : [ "obj-188", 0 ] + "destination" : [ "obj-217", 0 ], + "source" : [ "obj-186", 0 ] } } @@ -4335,6 +10010,13 @@ "source" : [ "obj-3", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-172", 0 ], + "source" : [ "obj-4", 0 ] + } + } , { "patchline" : { @@ -4483,8 +10165,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -4841,14 +10523,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 256.0, 348.0 ], + "rect" : [ 84.0, 144.0, 285.0, 489.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4878,118 +10560,311 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-5", + "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" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "dsp.gen", + "rect" : [ 1193.0, -762.0, 644.0, 361.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 586.0, 315.0, 35.0, 22.0 ], + "text" : "out 2" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 586.0, 14.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" : [ 50.0, 46.0, 555.0, 259.0 ] + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 315.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, 296.0, 160.0, 20.0 ], + "patching_rect" : [ 52.0, 442.0, 160.0, 20.0 ], "text" : "normalized mouse XY (0...1)" } } , { "box" : { - "id" : "obj-4", + "id" : "obj-11", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 52.0, 20.0, 118.0, 20.0 ], + "patching_rect" : [ 52.0, 13.0, 118.0, 20.0 ], "text" : "mouse XY (in pixels)" } } , { "box" : { - "id" : "obj-2", + "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], - "patching_rect" : [ 18.0, 60.0, 126.0, 22.0 ], + "patching_rect" : [ 18.0, 53.0, 126.0, 22.0 ], "text" : "t l b" } } , { "box" : { - "id" : "obj-229", + "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 125.0, 89.0, 106.0, 22.0 ], - "text" : "pv bpatcher_width" + "patching_rect" : [ 125.0, 82.0, 93.0, 22.0 ], + "text" : "pv bpatcher_wh" } } , { "box" : { - "id" : "obj-16", + "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 99.0, 228.0, 65.0, 20.0 ], + "patching_rect" : [ 99.0, 374.0, 65.0, 20.0 ], "text" : "flip vertical" } } , { "box" : { - "id" : "obj-612", + "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 256.0, 61.0, 22.0 ], + "patching_rect" : [ 18.0, 402.0, 61.0, 22.0 ], "text" : "pack f f" } } , { "box" : { - "id" : "obj-611", + "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 60.0, 228.0, 29.5, 22.0 ], + "patching_rect" : [ 60.0, 374.0, 29.5, 22.0 ], "text" : "!- 1." } } , { "box" : { - "id" : "obj-610", + "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "float" ], - "patching_rect" : [ 18.0, 197.0, 61.0, 22.0 ], + "patching_rect" : [ 18.0, 343.0, 61.0, 22.0 ], "text" : "unpack f f" } } , { "box" : { - "id" : "obj-575", + "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 167.0, 53.0, 22.0 ], + "patching_rect" : [ 18.0, 313.0, 53.0, 22.0 ], "text" : "clip 0. 1." } } , { "box" : { - "id" : "obj-572", + "id" : "obj-32", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 122.0, 126.0, 35.0 ], + "patching_rect" : [ 18.0, 268.0, 126.0, 35.0 ], "text" : "vexpr $f1 / $f2 @scalarmode 1" } @@ -4997,96 +10872,154 @@ , { "box" : { "comment" : "mouse XY (in pixels)", - "id" : "obj-22", + "id" : "obj-33", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 15.0, 30.0, 30.0 ] + "patching_rect" : [ 18.0, 8.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "normalized mouse XY (0...1)", - "id" : "obj-29", + "id" : "obj-34", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 18.0, 291.0, 30.0, 30.0 ] + "patching_rect" : [ 18.0, 437.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-229", 0 ], - "source" : [ "obj-2", 1 ] + "destination" : [ "obj-32", 1 ], + "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-572", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-13", 1 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-22", 0 ] + "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-572", 1 ], - "source" : [ "obj-229", 0 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-25", 0 ] } } , { "patchline" : { - "destination" : [ "obj-575", 0 ], - "source" : [ "obj-572", 0 ] + "destination" : [ "obj-25", 1 ], + "source" : [ "obj-27", 0 ] } } , { "patchline" : { - "destination" : [ "obj-610", 0 ], - "source" : [ "obj-575", 0 ] + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-30", 0 ] } } , { "patchline" : { - "destination" : [ "obj-611", 0 ], - "source" : [ "obj-610", 1 ] + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-30", 1 ] } } , { "patchline" : { - "destination" : [ "obj-612", 0 ], - "source" : [ "obj-610", 0 ] + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-31", 0 ] } } , { "patchline" : { - "destination" : [ "obj-612", 1 ], - "source" : [ "obj-611", 0 ] + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-32", 0 ] } } , { "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-612", 0 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-33", 0 ] } } @@ -5414,176 +11347,526 @@ } , { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-35", 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 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p handle_mouse" + } + + } +, { + "box" : { + "id" : "obj-302", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 735.0, 121.0, 791.0, 882.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 128.638049870729446, 483.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" } } , { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-36", 0 ] + "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" } } , { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 1, - "source" : [ "obj-4", 0 ] + "box" : { + "id" : "obj-7", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 342.819024935364723, 559.0, 99.0, 33.0 ], + "text" : "fetch point size, store in matrix" } } , { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "order" : 0, - "source" : [ "obj-4", 0 ] - } + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 575.0, -1231.0, 599.0, 304.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 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" + } - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-5", 0 ] - } + } +, { + "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" + } - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "midpoints" : [ 102.5, 417.70703125, 433.5, 417.70703125 ], - "source" : [ "obj-56", 2 ] - } + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 44.0, 98.0, 91.0, 22.0 ], + "text" : "prepend getcell" + } - } -, { - "patchline" : { - "destination" : [ "obj-218", 0 ], - "source" : [ "obj-56", 1 ] - } + } +, { + "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-27", 0 ], - "source" : [ "obj-56", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-3", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-123", 0 ], - "source" : [ "obj-571", 1 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-44", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-571", 0 ] + } + ] + } +, + "patching_rect" : [ 162.819024935364723, 559.0, 178.319024935364723, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p fill_highlighted_sizes_matrix" } } , { - "patchline" : { - "destination" : [ "obj-221", 0 ], - "source" : [ "obj-6", 0 ] + "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" } } , { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-6", 1 ] + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 234.0, 94.0, 77.0, 22.0 ], + "text" : "s #0_draw" } } , { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "midpoints" : [ 419.000029999999924, 256.478515625, 870.249952000000121, 256.478515625 ], - "source" : [ "obj-9", 1 ] + "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" } } , { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 1092.888050000000021, 759.500000000000114, 540.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p handle_mouse" - } - - } -, { - "box" : { - "id" : "obj-302", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 5, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 429.0, -1064.0, 735.0, 829.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { "box" : { "id" : "obj-3", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 191.638049870729446, 57.0, 162.0, 33.0 ], + "patching_rect" : [ 392.0, 14.0, 162.0, 33.0 ], "text" : "redraw highlighted points when color scheme changes" } @@ -5595,7 +11878,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 34.0, 57.0, 151.0, 22.0 ], + "patching_rect" : [ 234.0, 14.0, 151.0, 22.0 ], "text" : "r #0_redraw_highlighted" } @@ -5630,7 +11913,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 305.026099741458893, 635.0, 201.0, 60.0 ], + "patching_rect" : [ 304.638049870729446, 687.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" } @@ -5641,7 +11924,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 102.638049870729446, 787.0, 177.0, 20.0 ], + "patching_rect" : [ 102.638049870729446, 839.0, 177.0, 20.0 ], "text" : "update highlighted mesh (bang)" } @@ -5652,7 +11935,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 625.0, 756.0, 84.0, 20.0 ], + "patching_rect" : [ 624.638049870729446, 808.0, 84.0, 20.0 ], "text" : "store in matrix" } @@ -5663,7 +11946,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 535.138049870729446, 723.0, 53.0, 20.0 ], + "patching_rect" : [ 534.638049870729446, 775.0, 53.0, 20.0 ], "text" : "(x, y, ID)" } @@ -5674,7 +11957,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 202.638049870729446, 673.0, 83.0, 20.0 ], + "patching_rect" : [ 202.638049870729446, 725.0, 83.0, 20.0 ], "text" : "fetch point XY" } @@ -5708,7 +11991,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 343.138049870729446, 496.0, 99.0, 33.0 ], + "patching_rect" : [ 372.0, 514.0, 99.0, 33.0 ], "text" : "fetch point color, store in matrix" } @@ -5744,7 +12027,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 147.776099741458893, 571.0, 150.0, 22.0 ], + "patching_rect" : [ 147.638049870729446, 623.0, 150.0, 22.0 ], "text" : "r #0_refer_datasetname" } @@ -5756,7 +12039,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 128.638049870729446, 605.0, 80.0, 22.0 ], + "patching_rect" : [ 128.638049870729446, 657.0, 80.0, 22.0 ], "text" : "fluid.dataset~", "varname" : "dataset[1]" } @@ -5769,7 +12052,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 505.138049870729446, 787.0, 187.0, 22.0 ], + "patching_rect" : [ 504.638049870729446, 839.0, 187.0, 22.0 ], "text" : "jit.matrix #0_highlighted_points" } @@ -5784,14 +12067,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 473.0, 371.0 ], + "rect" : [ -403.0, -1323.0, 599.0, 304.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -5821,46 +12104,77 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-1", + "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" : [ 87.0, 265.0, 29.5, 22.0 ], - "text" : "join" + "patching_rect" : [ 44.0, 98.0, 91.0, 22.0 ], + "text" : "prepend getcell" } } , { "box" : { - "id" : "obj-17", - "maxclass" : "comment", + "id" : "obj-25", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 308.0, 330.0, 124.0, 20.0 ], - "text" : "set cell in color matrix" + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 44.0, 128.0, 155.0, 22.0 ], + "text" : "jit.matrix #0_point_colors " } } , { "box" : { - "id" : "obj-16", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 160.0, 187.0, 238.0, 20.0 ], - "text" : "look up the color corresponding to the label" + "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-15", + "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 117.0, 70.0, 175.0, 20.0 ], - "text" : "look up the corresponding label" + "patching_rect" : [ 443.0, 261.0, 124.0, 20.0 ], + "text" : "set cell in color matrix" } } @@ -5871,7 +12185,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 87.0, 298.0, 145.0, 22.0 ], + "patching_rect" : [ 222.0, 229.0, 145.0, 22.0 ], "text" : "setcell $5 val $1 $2 $3 $4" } @@ -5883,7 +12197,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 87.0, 330.0, 219.0, 22.0 ], + "patching_rect" : [ 222.0, 261.0, 219.0, 22.0 ], "text" : "jit.matrix #0_highlighted_point_colors " } @@ -5894,7 +12208,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 253.5, 25.0, 173.0, 20.0 ], + "patching_rect" : [ 291.0, 30.0, 173.0, 20.0 ], "text" : "index (in highlighted points list)" } @@ -5909,78 +12223,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 428.5, 20.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 45.0, 215.0, 61.0, 22.0 ], - "text" : "list.slice 1" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 7.0, 187.0, 134.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict #0_labels2colors" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 7.0, 149.0, 73.0, 22.0 ], - "text" : "prepend get" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 7.0, 101.0, 77.0, 22.0 ], - "text" : "route symbol" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 7.0, 70.0, 95.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "precision" : 6 - } -, - "text" : "coll #0_labels" + "patching_rect" : [ 466.0, 25.0, 30.0, 30.0 ] } } @@ -5990,7 +12233,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 47.5, 25.0, 63.0, 20.0 ], + "patching_rect" : [ 85.0, 30.0, 63.0, 20.0 ], "text" : "dataset ID" } @@ -6004,7 +12247,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 7.0, 20.0, 30.0, 30.0 ] + "patching_rect" : [ 44.0, 25.0, 30.0, 30.0 ] } } @@ -6019,7 +12262,7 @@ , { "patchline" : { "destination" : [ "obj-1", 1 ], - "midpoints" : [ 438.0, 246.0, 107.0, 246.0 ], + "midpoints" : [ 475.5, 185.0, 242.0, 185.0 ], "source" : [ "obj-10", 0 ] } @@ -6033,57 +12276,43 @@ } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-123", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-5", 1 ] + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-123", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-20", 1 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-7", 1 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-25", 1 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-3", 0 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-44", 0 ] } } ] } , - "patching_rect" : [ 168.138049870729446, 496.0, 173.0, 22.0 ], + "patching_rect" : [ 197.0, 514.0, 173.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -6102,7 +12331,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 299.026099741458893, 333.5, 219.0, 22.0 ], + "patching_rect" : [ 299.0, 318.0, 219.0, 22.0 ], "text" : "jit.matrix #0_highlighted_point_colors " } @@ -6114,7 +12343,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 315.026099741458893, 302.5, 187.0, 22.0 ], + "patching_rect" : [ 343.0, 291.0, 187.0, 22.0 ], "text" : "jit.matrix #0_highlighted_points " } @@ -6126,7 +12355,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 505.138049870729446, 755.0, 111.0, 22.0 ], + "patching_rect" : [ 504.638049870729446, 807.0, 111.0, 22.0 ], "text" : "setcell $3 val $1 $2" } @@ -6138,7 +12367,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 505.138049870729446, 722.0, 29.5, 22.0 ], + "patching_rect" : [ 504.638049870729446, 774.0, 29.5, 22.0 ], "text" : "join" } @@ -6150,7 +12379,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 128.638049870729446, 541.0, 167.0, 22.0 ], + "patching_rect" : [ 128.638049870729446, 593.0, 167.0, 22.0 ], "text" : "getpoint $1 #0_point_query" } @@ -6174,7 +12403,7 @@ "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 12.638049870729446, 271.5, 135.0, 22.0 ], + "patching_rect" : [ 12.638049870729446, 261.0, 135.0, 22.0 ], "text" : "uzi 1 0" } @@ -6210,7 +12439,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 299.026099741458893, 271.5, 75.0, 22.0 ], + "patching_rect" : [ 299.026099741458893, 261.0, 75.0, 22.0 ], "text" : "prepend dim" } @@ -6246,7 +12475,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "list" ], - "patching_rect" : [ 128.638049870729446, 673.0, 72.0, 22.0 ], + "patching_rect" : [ 128.638049870729446, 725.0, 72.0, 22.0 ], "text" : "fluid.buf2list" } @@ -6258,7 +12487,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 215.026099741458893, 605.0, 145.0, 22.0 ], + "patching_rect" : [ 214.638049870729446, 657.0, 145.0, 22.0 ], "text" : "buffer~ #0_point_query" } @@ -6270,7 +12499,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 128.638049870729446, 642.0, 140.0, 22.0 ], + "patching_rect" : [ 128.638049870729446, 694.0, 140.0, 22.0 ], "text" : "substitute getpoint buffer" } @@ -6296,7 +12525,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 70.638049870729446, 779.0, 30.0, 30.0 ] + "patching_rect" : [ 70.638049870729446, 831.0, 30.0, 30.0 ] } } @@ -6307,6 +12536,34 @@ "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" : { @@ -6324,7 +12581,7 @@ } , { "patchline" : { - "destination" : [ "obj-1", 0 ], + "destination" : [ "obj-6", 0 ], "source" : [ "obj-167", 0 ] } @@ -6335,6 +12592,20 @@ "source" : [ "obj-300", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-4", 0 ] + } + } , { "patchline" : { @@ -6375,24 +12646,23 @@ } , { "patchline" : { - "destination" : [ "obj-145", 0 ], - "midpoints" : [ 138.138049870729446, 487.25, 177.638049870729446, 487.25 ], - "order" : 0, + "destination" : [ "obj-10", 0 ], "source" : [ "obj-57", 0 ] } } , { "patchline" : { - "destination" : [ "obj-61", 0 ], - "order" : 1, - "source" : [ "obj-57", 0 ] + "destination" : [ "obj-11", 0 ], + "order" : 0, + "source" : [ "obj-58", 1 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], + "order" : 1, "source" : [ "obj-58", 1 ] } @@ -6418,10 +12688,25 @@ "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 ] } @@ -6439,6 +12724,14 @@ "source" : [ "obj-60", 2 ] } + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "order" : 1, + "source" : [ "obj-60", 1 ] + } + } , { "patchline" : { @@ -6478,7 +12771,7 @@ ] } , - "patching_rect" : [ 725.638049870729446, 137.5, 106.0, 22.0 ], + "patching_rect" : [ 869.0, 194.5, 106.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -6496,7 +12789,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1392.388050000000021, 17.0, 224.0, 20.0 ], + "patching_rect" : [ 1527.0, 18.0, 224.0, 20.0 ], "text" : "refer (to labelset) or dictionary (of labels)" } @@ -6508,7 +12801,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.442766537395983, 473.100000000000136, 86.0, 22.0 ], + "patching_rect" : [ 1944.0, 616.0, 86.0, 22.0 ], "text" : "pv num_labels" } @@ -6524,8 +12817,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -6621,11 +12914,12 @@ "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], + "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 } @@ -7014,11 +13308,12 @@ "id" : "obj-81", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], + "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 } @@ -7275,7 +13570,7 @@ ] } , - "patching_rect" : [ 1422.888050000000021, 89.0, 134.0, 22.0 ], + "patching_rect" : [ 1642.0, 130.0, 134.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -7293,7 +13588,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1686.388050000000476, 502.0, 90.0, 20.0 ], + "patching_rect" : [ 1907.0, 645.0, 90.0, 20.0 ], "text" : "labels & colors:" } @@ -7305,7 +13600,7 @@ "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1721.942766537395983, 524.0, 95.0, 22.0 ], + "patching_rect" : [ 1943.0, 667.0, 95.0, 22.0 ], "saved_object_attributes" : { "embed" : 0, "precision" : 6 @@ -7322,7 +13617,7 @@ "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1721.942766537395983, 549.700000000000045, 137.0, 22.0 ], + "patching_rect" : [ 1943.0, 693.0, 137.0, 22.0 ], "saved_object_attributes" : { "embed" : 0, "precision" : 6 @@ -7337,11 +13632,12 @@ "id" : "obj-289", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 1721.942766537395983, 573.700000000000045, 134.0, 22.0 ], + "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 } @@ -7357,7 +13653,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.442766537395983, 447.400000000000091, 177.0, 22.0 ], + "patching_rect" : [ 1944.0, 590.0, 177.0, 22.0 ], "text" : "pv labelset_reference_specified" } @@ -7369,7 +13665,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1434.388050000000021, 346.0, 136.0, 33.0 ], + "patching_rect" : [ 1653.0, 477.5, 136.0, 33.0 ], "text" : "bang when created dict with color palette" } @@ -7380,7 +13676,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1434.388050000000021, 161.5, 111.0, 20.0 ], + "patching_rect" : [ 1654.0, 203.0, 111.0, 20.0 ], "text" : "list of unique labels" } @@ -7391,7 +13687,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1434.388050000000021, 115.5, 108.0, 20.0 ], + "patching_rect" : [ 1653.0, 157.0, 108.0, 20.0 ], "text" : "dictionary of labels" } @@ -7403,7 +13699,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1723.359433204062952, 120.82432432432438, 199.0, 22.0 ], + "patching_rect" : [ 1944.0, 191.0, 199.0, 22.0 ], "text" : "jit.matrix #0_zoomrect 2 float32 4" } @@ -7415,7 +13711,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1723.359433204062952, 94.716216216216253, 279.0, 22.0 ], + "patching_rect" : [ 1944.0, 165.0, 279.0, 22.0 ], "text" : "jit.matrix #0_highlighted_point_colors 4 float32 1" } @@ -7427,7 +13723,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1723.359433204062952, 68.608108108108127, 246.0, 22.0 ], + "patching_rect" : [ 1944.0, 105.0, 246.0, 22.0 ], "text" : "jit.matrix #0_highlighted_points 2 float32 1" } @@ -7438,7 +13734,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1686.388050000000476, 17.0, 120.0, 20.0 ], + "patching_rect" : [ 1907.0, 18.0, 120.0, 20.0 ], "text" : "matrices for meshes:" } @@ -7450,7 +13746,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.442766537395983, 421.700000000000045, 103.0, 22.0 ], + "patching_rect" : [ 1944.0, 565.0, 103.0, 22.0 ], "text" : "pv labelset_name" } @@ -7461,7 +13757,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 725.638049870729446, 472.700000000000045, 102.0, 20.0 ], + "patching_rect" : [ 938.0, 520.0, 102.0, 20.0 ], "text" : "highlighted points" } @@ -7472,7 +13768,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 725.75, 741.300000000000068, 56.0, 20.0 ], + "patching_rect" : [ 938.0, 786.0, 56.0, 20.0 ], "text" : "all points" } @@ -7483,7 +13779,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 736.638049870729446, 193.5, 139.0, 20.0 ], + "patching_rect" : [ 880.0, 223.5, 139.0, 20.0 ], "text" : "update highlighted mesh" } @@ -7494,7 +13790,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1153.888050000000021, 726.700000000000045, 298.0, 20.0 ], + "patching_rect" : [ 1372.0, 761.0, 298.0, 20.0 ], "text" : "only let mousing through if there is a dataset reference" } @@ -7506,7 +13802,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1139.888050000000021, 645.700000000000045, 326.0, 33.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])" } @@ -7522,14 +13818,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 686.0, 283.0 ], + "rect" : [ 850.0, -737.0, 645.0, 302.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -7559,93 +13855,170 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-3", - "maxclass" : "comment", + "id" : "obj-9", + "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 556.00001199999997, 235.0, 77.0, 20.0 ], - "text" : "colorscheme" + "patching_rect" : [ 434.00001199999997, 196.0, 81.0, 22.0 ], + "text" : "s #0_to_node" } } , { "box" : { - "comment" : "colorscheme", - "id" : "obj-241", - "index" : 1, - "maxclass" : "outlet", + "id" : "obj-6", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 524.00001199999997, 230.0, 30.0, 30.0 ] + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 268.00001199999997, 139.0, 61.999999999999972, 22.0 ], + "text" : "t b f" } } , { "box" : { - "id" : "obj-2", - "linecount" : 4, - "maxclass" : "comment", + "id" : "obj-8", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 25.0, 40.0, 114.0, 60.0 ], - "text" : "shape\npointsize\nhighlightedpointsize\nbgcolor" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 311.00001199999997, 196.0, 107.0, 22.0 ], + "text" : "pv highlight_scale" } } , { "box" : { - "id" : "obj-112", + "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" : [ 396.00001199999997, 187.0, 103.0, 22.0 ], - "text" : "s #0_to_pworld" + "patching_rect" : [ 140.0, 260.0, 148.0, 22.0 ], + "text" : "s #0_update_pointsizes" } } , { "box" : { - "id" : "obj-111", + "id" : "obj-167", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 12.00001199999997, 238.0, 162.0, 22.0 ], - "text" : "s #0_to_highlighted_mesh" + "patching_rect" : [ 160.0, 230.0, 153.0, 22.0 ], + "text" : "s #0_redraw_highlighted" } } , { "box" : { - "id" : "obj-99", + "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" : [ 140.00001199999997, 187.0, 130.0, 22.0 ], - "text" : "s #0_to_main_mesh" + "patching_rect" : [ 12.00001199999997, 210.0, 111.0, 22.0 ], + "text" : "s #0_to_shaders" } } , { "box" : { - "id" : "obj-160", + "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" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 396.00001199999997, 139.0, 183.0, 22.0 ], - "text" : "prepend sendrender erase_color" + "numoutlets" : 0, + "patching_rect" : [ 396.00001199999997, 163.0, 103.0, 22.0 ], + "text" : "s #0_to_render" } } , { "box" : { - "id" : "obj-157", + "id" : "obj-160", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 268.00001199999997, 139.0, 110.0, 22.0 ], - "text" : "prepend point_size" + "patching_rect" : [ 396.00001199999997, 139.0, 119.0, 22.0 ], + "text" : "prepend erase_color" } } @@ -7656,8 +14029,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 140.00001199999997, 139.0, 110.0, 22.0 ], - "text" : "prepend point_size" + "patching_rect" : [ 183.000011999999941, 168.0, 107.0, 22.0 ], + "text" : "pv pointsize_scale" } } @@ -7668,8 +14041,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 12.00001199999997, 139.0, 119.0, 22.0 ], - "text" : "prepend point_mode" + "patching_rect" : [ 12.00001199999997, 176.0, 126.0, 22.0 ], + "text" : "prepend param shape" } } @@ -7677,11 +14050,11 @@ "box" : { "id" : "obj-154", "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 6, - "outlettype" : [ "", "", "", "", "", "" ], - "patching_rect" : [ 12.00001199999997, 107.0, 659.0, 22.0 ], - "text" : "route shape pointsize highlightedpointsize bgcolor colorscheme" + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "", "", "", "" ], + "patching_rect" : [ 12.00001199999997, 107.0, 531.0, 22.0 ], + "text" : "route shape pointsizescale highlightscale bgcolor" } } @@ -7701,88 +14074,126 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-155", 0 ], - "source" : [ "obj-154", 0 ] + "destination" : [ "obj-160", 0 ], + "source" : [ "obj-154", 3 ] } } , { "patchline" : { - "destination" : [ "obj-156", 0 ], + "destination" : [ "obj-241", 0 ], + "source" : [ "obj-154", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], "source" : [ "obj-154", 1 ] } } , { "patchline" : { - "destination" : [ "obj-157", 0 ], + "destination" : [ "obj-6", 0 ], "source" : [ "obj-154", 2 ] } } , { "patchline" : { - "destination" : [ "obj-160", 0 ], - "source" : [ "obj-154", 3 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-154", 0 ] } } , { "patchline" : { - "destination" : [ "obj-241", 0 ], - "source" : [ "obj-154", 4 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-155", 0 ] } } , { "patchline" : { - "destination" : [ "obj-111", 0 ], + "destination" : [ "obj-112", 0 ], "order" : 1, - "source" : [ "obj-155", 0 ] + "source" : [ "obj-160", 0 ] } } , { "patchline" : { - "destination" : [ "obj-99", 0 ], + "destination" : [ "obj-9", 0 ], "order" : 0, - "source" : [ "obj-155", 0 ] + "source" : [ "obj-160", 0 ] } } , { "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-156", 0 ] + "destination" : [ "obj-154", 0 ], + "source" : [ "obj-243", 0 ] } } , { "patchline" : { - "destination" : [ "obj-111", 0 ], - "midpoints" : [ 277.50001199999997, 222.0, 21.50001199999997, 222.0 ], - "source" : [ "obj-157", 0 ] + "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-112", 0 ], - "source" : [ "obj-160", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-6", 1 ] } } , { "patchline" : { - "destination" : [ "obj-154", 0 ], - "source" : [ "obj-243", 0 ] + "destination" : [ "obj-155", 0 ], + "source" : [ "obj-7", 0 ] } } ] } , - "patching_rect" : [ 1062.888049870729446, 239.5, 109.0, 22.0 ], + "patching_rect" : [ 1258.0, 322.5, 109.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -7805,8 +14216,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -8147,7 +14558,7 @@ ] } , - "patching_rect" : [ 1062.888049870729446, 115.5, 98.0, 22.0 ], + "patching_rect" : [ 1258.0, 161.0, 98.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -8166,7 +14577,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.442766537395983, 365.899999999999864, 116.0, 22.0 ], + "patching_rect" : [ 1944.0, 425.5, 116.0, 22.0 ], "text" : "pv yrange_pre_drag" } @@ -8178,7 +14589,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.359433204062952, 314.5, 116.0, 22.0 ], + "patching_rect" : [ 1944.0, 374.5, 116.0, 22.0 ], "text" : "pv xrange_pre_drag" } @@ -8190,7 +14601,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.442766537395983, 340.199999999999932, 61.0, 22.0 ], + "patching_rect" : [ 1944.0, 399.5, 61.0, 22.0 ], "text" : "pv yrange" } @@ -8202,7 +14613,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.359433204062952, 288.799999999999955, 61.0, 22.0 ], + "patching_rect" : [ 1944.0, 348.5, 61.0, 22.0 ], "text" : "pv xrange" } @@ -8213,46 +14624,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 400.999999870729482, 245.5, 141.0, 20.0 ], + "patching_rect" : [ 235.95398337642348, 408.5, 141.0, 20.0 ], "text" : "start resize listener script" } - } -, { - "box" : { - "id" : "obj-229", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1250.388050000000021, 558.700000000000045, 106.0, 22.0 ], - "text" : "pv bpatcher_width" - } - - } -, { - "box" : { - "id" : "obj-219", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 388.638049870729503, 438.0, 29.5, 22.0 ], - "text" : "$3" - } - - } -, { - "box" : { - "id" : "obj-217", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 388.888049870729503, 467.0, 106.0, 22.0 ], - "text" : "pv bpatcher_width" - } - } , { "box" : { @@ -8261,8 +14636,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.359433204062952, 263.099999999999909, 106.0, 22.0 ], - "text" : "pv bpatcher_width" + "patching_rect" : [ 1944.0, 322.5, 93.0, 22.0 ], + "text" : "pv bpatcher_wh" } } @@ -8273,8 +14648,8 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 493.499999870729482, 297.0, 189.0, 47.0 ], - "text" : "listen to changes in the bpatcher box size and set the pworld's presentation_rect accordingly" + "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" } } @@ -8284,8 +14659,8 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 425.888049870729503, 438.0, 103.0, 22.0 ], - "text" : "s #0_to_pworld" + "patching_rect" : [ 501.95398337642348, 612.0, 115.0, 22.0 ], + "text" : "s #0_to_pwindow" } } @@ -8300,14 +14675,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ -307.0, -1171.0, 2056.0, 876.0 ], + "rect" : [ 34.0, 100.0, 1660.0, 983.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -8336,6 +14711,267 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 634.138049870729219, 820.0, 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.0, 850.0, 203.0, 22.0 ], + "text" : "jit.matrix #0_pointsizes 1 float32 1" + } + + } +, { + "box" : { + "id" : "obj-202", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 755.888049870729219, 789.0, 75.0, 22.0 ], + "text" : "prepend dim" + } + + } +, { + "box" : { + "id" : "obj-165", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 755.888049870729219, 820.0, 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", @@ -8490,11 +15126,12 @@ "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], + "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 } @@ -8589,7 +15226,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 523.388049870729219, 730.5, 88.0, 20.0 ], + "patching_rect" : [ 523.388049870729219, 791.0, 88.0, 20.0 ], "text" : "buffer to matrix" } @@ -8627,18 +15264,6 @@ "text" : "t b l b" } - } -, { - "box" : { - "id" : "obj-202", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 635.888049870729219, 729.5, 75.0, 22.0 ], - "text" : "prepend dim" - } - } , { "box" : { @@ -8647,7 +15272,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 523.388049870729219, 640.5, 168.0, 47.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" } @@ -8669,10 +15294,10 @@ "id" : "obj-198", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 512.388049870729219, 696.5, 266.0, 22.0 ], - "text" : "t i i i" + "numoutlets" : 4, + "outlettype" : [ "int", "int", "int", "int" ], + "patching_rect" : [ 512.388049870729219, 757.0, 384.25, 22.0 ], + "text" : "t i i i i" } } @@ -8722,18 +15347,6 @@ "text" : "it is necessary to dereference the buffer in jit.buffer first, so the dataset can resize it" } - } -, { - "box" : { - "id" : "obj-165", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 635.888049870729219, 760.5, 155.0, 22.0 ], - "text" : "jit.matrix #0_point_colors" - } - } , { "box" : { @@ -8741,7 +15354,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 512.388049870729219, 830.5, 114.0, 22.0 ], + "patching_rect" : [ 512.388049870729219, 907.0, 114.0, 22.0 ], "text" : "s #0_to_jit_buffer" } @@ -9000,7 +15613,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 759.388049870729219, 729.5, 87.0, 22.0 ], + "patching_rect" : [ 877.638049870729219, 789.0, 87.0, 22.0 ], "text" : "pv num_points" } @@ -9048,7 +15661,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 512.388049870729219, 796.5, 229.0, 22.0 ], + "patching_rect" : [ 512.388049870729219, 880.0, 229.0, 22.0 ], "text" : "set #0_points_2d, outputlast $1, output" } @@ -9228,6 +15841,13 @@ , { "patchline" : { "destination" : [ "obj-202", 0 ], + "source" : [ "obj-198", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], "source" : [ "obj-198", 1 ] } @@ -9242,13 +15862,13 @@ , { "patchline" : { "destination" : [ "obj-72", 0 ], - "source" : [ "obj-198", 2 ] + "source" : [ "obj-198", 3 ] } } , { "patchline" : { - "destination" : [ "obj-198", 0 ], + "destination" : [ "obj-33", 0 ], "source" : [ "obj-199", 0 ] } @@ -9287,6 +15907,49 @@ "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-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" : { @@ -9357,6 +16020,13 @@ "source" : [ "obj-43", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-45", 0 ] + } + } , { "patchline" : { @@ -9378,6 +16048,13 @@ "source" : [ "obj-529", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-54", 0 ] + } + } , { "patchline" : { @@ -9392,6 +16069,76 @@ "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" : { @@ -9457,7 +16204,7 @@ ] } , - "patching_rect" : [ 388.388049870729503, 181.0, 86.0, 22.0 ], + "patching_rect" : [ 177.95398337642348, 372.5, 86.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -9475,7 +16222,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1686.388050000000476, 608.0, 199.0, 20.0 ], + "patching_rect" : [ 1907.0, 750.0, 199.0, 20.0 ], "text" : "placeholders (for safe dereference):" } @@ -9487,7 +16234,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.359433204062952, 211.700000000000045, 175.0, 22.0 ], + "patching_rect" : [ 1944.0, 271.5, 175.0, 22.0 ], "text" : "pv dataset_reference_specified" } @@ -9499,8 +16246,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.359433204062952, 186.0, 101.0, 22.0 ], - "text" : "pv dataset_name" + "patching_rect" : [ 1944.0, 245.5, 199.0, 22.0 ], + "text" : "pv dataset_name #0_placeholder" } } @@ -9510,7 +16257,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1686.388050000000476, 160.5, 93.0, 20.0 ], + "patching_rect" : [ 1907.0, 218.0, 93.0, 20.0 ], "text" : "patch variables:" } @@ -9522,7 +16269,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1723.359433204062952, 237.399999999999977, 87.0, 22.0 ], + "patching_rect" : [ 1944.0, 296.5, 87.0, 22.0 ], "text" : "pv num_points" } @@ -9534,7 +16281,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 810.276099741458893, 305.5, 222.0, 22.0 ], + "patching_rect" : [ 1022.0, 343.0, 222.0, 22.0 ], "text" : "r #0_update_highlighted_point_colors" } @@ -9546,7 +16293,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 793.25, 587.300000000000068, 157.0, 22.0 ], + "patching_rect" : [ 1005.0, 607.0, 157.0, 22.0 ], "text" : "r #0_update_point_colors" } @@ -9557,7 +16304,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1442.888050000000021, 426.700000000000045, 153.0, 22.0 ], + "patching_rect" : [ 1687.0, 612.5, 153.0, 22.0 ], "text" : "s #0_redraw_highlighted" } @@ -9567,10 +16314,10 @@ "id" : "obj-166", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 725.75, 587.300000000000068, 29.5, 22.0 ], - "text" : "t l b" + "numoutlets" : 3, + "outlettype" : [ "bang", "", "bang" ], + "patching_rect" : [ 928.0, 607.0, 40.0, 22.0 ], + "text" : "t b l b" } } @@ -9581,7 +16328,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 725.75, 523.300000000000068, 112.0, 22.0 ], + "patching_rect" : [ 928.0, 546.0, 112.0, 22.0 ], "text" : "r #0_to_jit_buffer" } @@ -9593,7 +16340,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 815.526099741458893, 379.5, 160.0, 22.0 ], + "patching_rect" : [ 1028.0, 417.0, 160.0, 22.0 ], "text" : "r #0_to_highlighted_mesh" } @@ -9604,7 +16351,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 736.638049870729446, 115.5, 53.0, 20.0 ], + "patching_rect" : [ 1018.5, 118.0, 53.0, 20.0 ], "text" : "highlight" } @@ -9612,24 +16359,11 @@ , { "box" : { "id" : "obj-119", - "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1076.888049741458872, 187.5, 240.0, 47.0 ], - "text" : "shape, pointsize and highlightedpointsize will control gl attributes of the jit.gl.meshes, bgcolor controls the pworld's erase_color" - } - - } -, { - "box" : { - "id" : "obj-114", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1062.888050000000021, 341.5, 101.0, 22.0 ], - "text" : "r #0_to_pworld" + "patching_rect" : [ 1270.5, 299.0, 249.0, 20.0 ], + "text" : "shape, pointsizescale, highlightscale, bgcolor" } } @@ -9640,7 +16374,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 821.388049870729446, 661.300000000000068, 128.0, 22.0 ], + "patching_rect" : [ 1033.0, 681.0, 128.0, 22.0 ], "text" : "r #0_to_main_mesh" } @@ -9650,10 +16384,10 @@ "id" : "obj-98", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 388.388049870729503, 382.5, 56.499999999999993, 22.0 ], - "text" : "t l l" + "numoutlets" : 3, + "outlettype" : [ "bang", "", "" ], + "patching_rect" : [ 177.95398337642348, 546.0, 343.0, 22.0 ], + "text" : "t b l l" } } @@ -9664,7 +16398,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1092.888050000000021, 697.200000000000045, 125.0, 22.0 ], + "patching_rect" : [ 1312.0, 731.0, 125.0, 22.0 ], "text" : "r #0_mousing_gate" } @@ -9675,7 +16409,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 396.999999870729482, 115.5, 33.0, 20.0 ], + "patching_rect" : [ 454.0, 118.0, 33.0, 20.0 ], "text" : "refer" } @@ -9686,7 +16420,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1644.442766537395983, 876.957031000000143, 182.0, 20.0 ], + "patching_rect" : [ 1863.0, 911.0, 182.0, 20.0 ], "text" : "report zoomxrange, zoomyrange" } @@ -9699,7 +16433,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1613.888050000000021, 871.457031000000143, 31.0, 31.0 ] + "patching_rect" : [ 1833.0, 905.0, 31.0, 31.0 ] } } @@ -9709,7 +16443,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1126.888050000000021, 876.957031000000143, 126.0, 20.0 ], + "patching_rect" : [ 1345.0, 911.0, 126.0, 20.0 ], "text" : "normalized mouse XY" } @@ -9722,8 +16456,8 @@ "numinlets" : 9, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1353.388050000000021, 790.457031000000143, 199.0, 49.0 ], - "text" : "jit.gl.mesh @draw_mode quads @gl_color 0 0 0 0.2 @layer 1 @blend_enable 1" + "patching_rect" : [ 1573.0, 865.0, 238.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" } } @@ -9734,7 +16468,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1721.942766537395983, 661.5, 219.0, 22.0 ], + "patching_rect" : [ 1943.0, 804.0, 219.0, 22.0 ], "text" : "fluid.labelset~ #0_placeholder_labels" } @@ -9746,7 +16480,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1092.888050000000021, 726.700000000000045, 52.0, 22.0 ], + "patching_rect" : [ 1312.0, 761.0, 52.0, 22.0 ], "text" : "gate 1 0" } @@ -9758,7 +16492,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1721.942766537395983, 631.5, 179.0, 22.0 ], + "patching_rect" : [ 1943.0, 774.0, 179.0, 22.0 ], "text" : "fluid.dataset~ #0_placeholder" } @@ -9768,10 +16502,10 @@ "id" : "obj-146", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "bang" ], - "patching_rect" : [ 725.638049870729446, 215.5, 154.223900258541107, 22.0 ], - "text" : "b 3" + "numoutlets" : 4, + "outlettype" : [ "bang", "bang", "bang", "bang" ], + "patching_rect" : [ 869.0, 245.5, 222.999999999999886, 22.0 ], + "text" : "b 4" } } @@ -9782,7 +16516,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 793.25, 341.5, 219.0, 22.0 ], + "patching_rect" : [ 1005.0, 379.0, 219.0, 22.0 ], "text" : "jit.matrix #0_highlighted_point_colors" } @@ -9794,7 +16528,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1723.359433204062952, 42.5, 214.0, 22.0 ], + "patching_rect" : [ 1944.0, 79.0, 214.0, 22.0 ], "text" : "jit.matrix #0_point_colors 4 float32 1" } @@ -9810,14 +16544,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 354.0, 252.0 ], + "rect" : [ 84.0, 144.0, 360.0, 264.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -9860,11 +16594,11 @@ "box" : { "id" : "obj-5", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 206.0, 60.0, 124.0, 22.0 ], - "text" : "prepend colorscheme" + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 206.0, 67.0, 133.0, 22.0 ], + "text" : "routepass colorscheme" } } @@ -9888,7 +16622,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 184.0, 99.0, 151.0, 60.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" } @@ -9899,7 +16633,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 53.0, 209.0, 35.0, 20.0 ], + "patching_rect" : [ 53.0, 216.0, 35.0, 20.0 ], "text" : "bang" } @@ -9922,7 +16656,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 18.0, 130.0, 39.5, 22.0 ], + "patching_rect" : [ 18.0, 137.0, 39.5, 22.0 ], "text" : "t b l" } @@ -9932,11 +16666,12 @@ "id" : "obj-80", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 39.0, 166.0, 134.0, 22.0 ], + "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 } @@ -9952,7 +16687,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 60.0, 126.0, 22.0 ], + "patching_rect" : [ 18.0, 67.0, 126.0, 22.0 ], "text" : "prepend labels2colors" } @@ -9964,7 +16699,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 99.0, 164.0, 22.0 ], + "patching_rect" : [ 18.0, 106.0, 164.0, 22.0 ], "saved_object_attributes" : { "filename" : "fluid.jit.plotter.labels2colors", "parameter_enable" : 0 @@ -9995,7 +16730,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 18.0, 204.0, 30.0, 30.0 ] + "patching_rect" : [ 18.0, 211.0, 30.0, 30.0 ] } } @@ -10052,7 +16787,7 @@ ] } , - "patching_rect" : [ 1422.888050000000021, 322.0, 89.0, 22.0 ], + "patching_rect" : [ 1642.0, 453.5, 89.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -10075,8 +16810,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -10323,11 +17058,12 @@ "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], + "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 } @@ -10370,9 +17106,13 @@ "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], + "numoutlets" : 2, + "outlettype" : [ "", "" ], "patching_rect" : [ 25.0, 67.0, 99.0, 22.0 ], + "saved_object_attributes" : { + "legacy" : 1 + } +, "text" : "dict.unpack data:" } @@ -10560,7 +17300,7 @@ ] } , - "patching_rect" : [ 1422.888050000000021, 137.5, 135.0, 22.0 ], + "patching_rect" : [ 1642.0, 179.0, 135.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -10583,14 +17323,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 304.0, 799.0 ], + "rect" : [ -348.0, -1321.0, 304.0, 799.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -10837,11 +17577,12 @@ "id" : "obj-102", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], + "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 } @@ -11091,7 +17832,7 @@ ] } , - "patching_rect" : [ 1422.888050000000021, 391.0, 108.0, 22.0 ], + "patching_rect" : [ 1642.0, 522.5, 108.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -11110,7 +17851,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 793.25, 623.300000000000068, 155.0, 22.0 ], + "patching_rect" : [ 1005.0, 643.0, 155.0, 22.0 ], "text" : "jit.matrix #0_point_colors" } @@ -11122,7 +17863,7 @@ "numinlets" : 3, "numoutlets" : 3, "outlettype" : [ "", "", "" ], - "patching_rect" : [ 1360.388050000000021, 52.5, 144.0, 22.0 ], + "patching_rect" : [ 1579.0, 94.0, 144.0, 22.0 ], "text" : "routepass dictionary refer" } @@ -11136,7 +17877,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1360.388050000000021, 12.0, 30.0, 30.0 ] + "patching_rect" : [ 1495.0, 13.0, 30.0, 30.0 ] } } @@ -11147,7 +17888,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1076.888049870729446, 52.0, 200.0, 60.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." } @@ -11163,8 +17904,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -11510,7 +18251,7 @@ ] } , - "patching_rect" : [ 725.75, 623.300000000000068, 56.0, 22.0 ], + "patching_rect" : [ 938.0, 643.0, 56.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -11529,7 +18270,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 1250.388050000000021, 427.700000000000045, 58.0, 22.0 ], + "patching_rect" : [ 1427.0, 459.0, 58.0, 22.0 ], "text" : "loadbang" } @@ -11542,22 +18283,10 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "" ], - "patching_rect" : [ 1250.388050000000021, 454.700000000000045, 105.0, 49.0 ], + "patching_rect" : [ 1427.0, 486.0, 105.0, 49.0 ], "text" : "getattr presentation_rect @listen 0" } - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1250.388050000000021, 528.700000000000045, 29.5, 22.0 ], - "text" : "$3" - } - } , { "box" : { @@ -11566,7 +18295,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 425.888049870729503, 411.5, 149.0, 22.0 ], + "patching_rect" : [ 501.95398337642348, 578.0, 149.0, 22.0 ], "text" : "prepend presentation_rect" } @@ -11578,7 +18307,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 426.388049870729503, 283.5, 63.0, 22.0 ], + "patching_rect" : [ 215.95398337642348, 443.5, 63.0, 22.0 ], "text" : "closebang" } @@ -11590,7 +18319,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 426.388049870729503, 309.5, 31.0, 22.0 ], + "patching_rect" : [ 215.95398337642348, 469.5, 31.0, 22.0 ], "text" : "stop" } @@ -11602,7 +18331,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 388.388049870729503, 309.5, 32.0, 22.0 ], + "patching_rect" : [ 177.95398337642348, 469.5, 32.0, 22.0 ], "text" : "start" } @@ -11614,13 +18343,13 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 388.388049870729503, 347.5, 165.0, 22.0 ], + "patching_rect" : [ 177.95398337642348, 507.5, 176.0, 22.0 ], "saved_object_attributes" : { - "filename" : "fluid.jit.plotter.resize.pworld", + "filename" : "fluid.jit.plotter.resize.pwindow", "parameter_enable" : 0 } , - "text" : "js fluid.jit.plotter.resize.pworld" + "text" : "js fluid.jit.plotter.resize.pwindow" } } @@ -11631,22 +18360,10 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "jit_matrix", "jit_matrix", "" ], - "patching_rect" : [ 725.75, 555.300000000000068, 58.0, 22.0 ], + "patching_rect" : [ 928.0, 578.0, 58.0, 22.0 ], "text" : "jit.buffer~" } - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 1082.888050000000021, 421.700000000000045, 58.0, 22.0 ], - "text" : "loadbang" - } - } , { "box" : { @@ -11656,7 +18373,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1092.888050000000021, 871.457031000000143, 31.0, 31.0 ] + "patching_rect" : [ 1312.0, 905.0, 31.0, 31.0 ] } } @@ -11664,11 +18381,11 @@ "box" : { "id" : "obj-3", "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 6, - "outlettype" : [ "", "", "", "", "", "" ], - "patching_rect" : [ 51.13804987072956, 52.5, 862.124999999999886, 22.0 ], - "text" : "route clear reset refer dictionary highlight" + "numinlets" : 7, + "numoutlets" : 7, + "outlettype" : [ "", "", "", "", "", "", "" ], + "patching_rect" : [ 88.0, 94.0, 1189.0, 22.0 ], + "text" : "route clear reset refer dictionary setpoint highlight" } } @@ -11681,7 +18398,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 51.13804987072956, 7.0, 30.0, 30.0 ] + "patching_rect" : [ 8.0, 13.0, 30.0, 30.0 ] } } @@ -11692,7 +18409,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 725.638049870729446, 273.5, 187.0, 22.0 ], + "patching_rect" : [ 938.0, 311.0, 187.0, 22.0 ], "text" : "jit.matrix #0_highlighted_points" } @@ -11708,8 +18425,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, - "revision" : 5, + "minor" : 6, + "revision" : 4, "architecture" : "x64", "modernui" : 1 } @@ -12055,7 +18772,7 @@ ] } , - "patching_rect" : [ 725.638049870729446, 341.5, 56.0, 22.0 ], + "patching_rect" : [ 938.0, 379.0, 56.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -12070,42 +18787,13 @@ , { "box" : { "id" : "obj-586", - "linecount" : 3, + "linecount" : 4, "maxclass" : "newobj", "numinlets" : 9, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 725.638049870729446, 421.700000000000045, 199.29853367805481, 49.0 ], - "text" : "jit.gl.mesh @draw_mode points @point_size 40 @gl_color 0 0 0 1 @enable 0" - } - - } -, { - "box" : { - "id" : "obj-584", - "linecount" : 3, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1082.888050000000021, 454.700000000000045, 118.0, 49.0 ], - "text" : "sendrender erase_color 1 1 1 1, sendrender ortho 2" - } - - } -, { - "box" : { - "enable" : 1, - "fps" : 30.0, - "id" : "obj-580", - "maxclass" : "jit.pworld", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 1062.888050000000021, 528.700000000000045, 82.0, 85.0 ], - "presentation" : 1, - "presentation_rect" : [ 0.0, 0.0, 311.0, 311.0 ], - "sync" : 1 + "patching_rect" : [ 938.0, 459.0, 290.0, 62.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 @layer 0" } } @@ -12116,7 +18804,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1125.888050000000021, 621.700000000000045, 75.0, 22.0 ], + "patching_rect" : [ 1345.0, 656.0, 75.0, 22.0 ], "text" : "route mouse" } @@ -12124,20 +18812,20 @@ , { "box" : { "id" : "obj-554", - "linecount" : 2, + "linecount" : 4, "maxclass" : "newobj", "numinlets" : 9, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 725.75, 702.300000000000068, 199.0, 35.0 ], - "text" : "jit.gl.mesh @draw_mode points @point_size 20 @gl_color 0 0 0 1" + "patching_rect" : [ 938.0, 722.0, 290.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 @layer 1" } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-3", 0 ], + "destination" : [ "obj-66", 0 ], "source" : [ "obj-1", 0 ] } @@ -12151,51 +18839,46 @@ } , { "patchline" : { - "destination" : [ "obj-554", 0 ], - "source" : [ "obj-101", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-586", 0 ], - "source" : [ "obj-11", 0 ] + "destination" : [ "obj-50", 0 ], + "midpoints" : [ 680.5, 713.0, 699.5, 713.0 ], + "order" : 0, + "source" : [ "obj-100", 0 ] } } , { "patchline" : { - "destination" : [ "obj-580", 0 ], - "source" : [ "obj-114", 0 ] + "destination" : [ "obj-52", 0 ], + "midpoints" : [ 680.5, 448.5, 699.5, 448.5 ], + "order" : 1, + "source" : [ "obj-100", 0 ] } } , { "patchline" : { - "destination" : [ "obj-229", 0 ], - "source" : [ "obj-12", 0 ] + "destination" : [ "obj-554", 0 ], + "source" : [ "obj-101", 0 ] } } , { "patchline" : { "destination" : [ "obj-586", 0 ], - "source" : [ "obj-121", 0 ] + "source" : [ "obj-11", 0 ] } } , { "patchline" : { - "destination" : [ "obj-167", 0 ], - "order" : 0, - "source" : [ "obj-125", 0 ] + "destination" : [ "obj-586", 0 ], + "source" : [ "obj-121", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, + "destination" : [ "obj-59", 0 ], "source" : [ "obj-125", 0 ] } @@ -12223,7 +18906,7 @@ } , { "patchline" : { - "destination" : [ "obj-16", 0 ], + "destination" : [ "obj-70", 0 ], "source" : [ "obj-14", 0 ] } @@ -12238,20 +18921,27 @@ , { "patchline" : { "destination" : [ "obj-11", 0 ], - "source" : [ "obj-146", 2 ] + "source" : [ "obj-146", 3 ] } } , { "patchline" : { "destination" : [ "obj-142", 0 ], - "source" : [ "obj-146", 1 ] + "source" : [ "obj-146", 2 ] } } , { "patchline" : { "destination" : [ "obj-599", 0 ], + "source" : [ "obj-146", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-76", 0 ], "source" : [ "obj-146", 0 ] } @@ -12266,7 +18956,7 @@ , { "patchline" : { "destination" : [ "obj-133", 0 ], - "midpoints" : [ 1369.888050000000021, 123.75, 1432.388050000000021, 123.75 ], + "midpoints" : [ 1588.5, 164.75, 1651.5, 164.75 ], "source" : [ "obj-16", 0 ] } @@ -12281,7 +18971,7 @@ , { "patchline" : { "destination" : [ "obj-3", 0 ], - "midpoints" : [ 1494.888050000000021, 81.5, 1348.388049935364734, 81.5, 1348.388049935364734, 45.0, 60.63804987072956, 45.0 ], + "midpoints" : [ 1713.5, 122.5, 1488.388049935364734, 122.5, 1488.388049935364734, 86.0, 97.5, 86.0 ], "source" : [ "obj-16", 2 ] } @@ -12296,14 +18986,21 @@ , { "patchline" : { "destination" : [ "obj-20", 0 ], - "source" : [ "obj-166", 0 ] + "source" : [ "obj-166", 1 ] } } , { "patchline" : { "destination" : [ "obj-74", 0 ], - "source" : [ "obj-166", 1 ] + "source" : [ "obj-166", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-75", 0 ], + "source" : [ "obj-166", 0 ] } } @@ -12317,6 +19014,36 @@ , { "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 ] } @@ -12358,14 +19085,7 @@ } , { "patchline" : { - "destination" : [ "obj-217", 0 ], - "source" : [ "obj-219", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-244", 0 ], + "destination" : [ "obj-93", 0 ], "source" : [ "obj-24", 0 ] } @@ -12379,8 +19099,7 @@ } , { "patchline" : { - "destination" : [ "obj-136", 1 ], - "midpoints" : [ 1072.388049870729446, 315.5, 1502.388050000000021, 315.5 ], + "destination" : [ "obj-36", 0 ], "source" : [ "obj-244", 0 ] } @@ -12409,6 +19128,7 @@ , { "patchline" : { "destination" : [ "obj-13", 0 ], + "midpoints" : [ 682.5, 255.25, 214.5, 255.25 ], "source" : [ "obj-3", 3 ] } @@ -12416,7 +19136,7 @@ , { "patchline" : { "destination" : [ "obj-17", 0 ], - "midpoints" : [ 229.263049870729532, 88.5, 60.63804987072956, 88.5 ], + "midpoints" : [ 292.5, 129.5, 97.5, 129.5 ], "source" : [ "obj-3", 1 ] } @@ -12431,6 +19151,7 @@ , { "patchline" : { "destination" : [ "obj-211", 0 ], + "midpoints" : [ 487.5, 233.75, 187.45398337642348, 233.75 ], "source" : [ "obj-3", 2 ] } @@ -12438,30 +19159,31 @@ , { "patchline" : { "destination" : [ "obj-242", 0 ], - "midpoints" : [ 903.763049870729333, 82.5, 1072.388049870729446, 82.5 ], - "source" : [ "obj-3", 5 ] + "source" : [ "obj-3", 6 ] } } , { "patchline" : { "destination" : [ "obj-302", 0 ], - "source" : [ "obj-3", 4 ] + "midpoints" : [ 1072.5, 185.0, 878.5, 185.0 ], + "source" : [ "obj-3", 5 ] } } , { "patchline" : { - "color" : [ 0.986251711845398, 0.00723597407341, 0.02742300927639, 1.0 ], - "destination" : [ "obj-146", 0 ], - "source" : [ "obj-302", 0 ] + "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" : { - "destination" : [ "obj-148", 0 ], - "source" : [ "obj-307", 1 ] + "color" : [ 0.986251711845398, 0.00723597407341, 0.02742300927639, 1.0 ], + "destination" : [ "obj-146", 0 ], + "source" : [ "obj-302", 0 ] } } @@ -12478,6 +19200,13 @@ "source" : [ "obj-307", 2 ] } + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-307", 1 ] + } + } , { "patchline" : { @@ -12485,6 +19214,77 @@ "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" : { @@ -12495,22 +19295,29 @@ } , { "patchline" : { - "destination" : [ "obj-77", 1 ], - "source" : [ "obj-568", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-53", 0 ] } } , { "patchline" : { - "destination" : [ "obj-568", 0 ], - "source" : [ "obj-580", 1 ] + "destination" : [ "obj-49", 0 ], + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-77", 1 ], + "source" : [ "obj-568", 0 ] } } , { "patchline" : { - "destination" : [ "obj-580", 0 ], - "source" : [ "obj-584", 0 ] + "destination" : [ "obj-62", 0 ], + "source" : [ "obj-58", 0 ] } } @@ -12520,6 +19327,27 @@ "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" : { @@ -12530,8 +19358,43 @@ } , { "patchline" : { - "destination" : [ "obj-584", 0 ], - "source" : [ "obj-7", 0 ] + "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 ] } } @@ -12541,6 +19404,20 @@ "source" : [ "obj-74", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-554", 0 ], + "source" : [ "obj-75", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-586", 0 ], + "source" : [ "obj-76", 0 ] + } + } , { "patchline" : { @@ -12551,15 +19428,59 @@ } , { "patchline" : { - "destination" : [ "obj-12", 0 ], + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], "source" : [ "obj-8", 0 ] } } , { "patchline" : { - "destination" : [ "obj-580", 0 ], - "source" : [ "obj-8", 1 ] + "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 ] } } @@ -12572,23 +19493,55 @@ } , { "patchline" : { - "destination" : [ "obj-219", 0 ], - "source" : [ "obj-98", 0 ] + "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" @@ -12601,7 +19554,7 @@ "implicit" : 1 } , { - "name" : "fluid.jit.plotter.resize.pworld.js", + "name" : "fluid.jit.plotter.resize.pwindow.js", "bootpath" : "~/Documents/Max 8/Packages/FluidCorpusManipulation/javascript", "patcherrelativepath" : "../javascript", "type" : "TEXT", @@ -12611,6 +19564,10 @@ "name" : "fluid.labelset~.mxo", "type" : "iLaX" } +, { + "name" : "fluid.list2buf.mxo", + "type" : "iLaX" + } ], "autosave" : 0 }