From 1ec59ff83b86fecb829784eba3db0edf9856fd34 Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Thu, 10 Feb 2022 15:59:45 +0000 Subject: [PATCH] [Docs] Grid Help File (#110) * add datasets that can be reused for examples * update to fluid.grid helpfile * try and make learn load in the right order... * update aesthetics and separation of tabs * cosmetic upgrades * Revert "add datasets that can be reused for examples" This reverts commit 20f58a3e972867a7947ae6946d1862be67afd2f6. * update dataloader abstraction * fix layout with new dataset loader --- help/fluid.grid~.maxhelp | 4839 +++++++++++------------------- help/fluid.learn.maxpat | 19 +- patchers/fluid.dataloader.maxpat | 70 +- 3 files changed, 1805 insertions(+), 3123 deletions(-) diff --git a/help/fluid.grid~.maxhelp b/help/fluid.grid~.maxhelp index e86f457c9..c3297dea9 100644 --- a/help/fluid.grid~.maxhelp +++ b/help/fluid.grid~.maxhelp @@ -3,22 +3,22 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 50.0, 150.0, 773.0, 741.0 ], + "rect" : [ 34.0, 87.0, 994.0, 779.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -42,7 +42,7 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-3", + "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, @@ -50,22 +50,22 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 50.0, 176.0, 773.0, 715.0 ], + "rect" : [ 34.0, 113.0, 994.0, 753.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 5.0, 5.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -88,70 +88,208 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-44", - "linecount" : 2, + "args" : [ "grid" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-75", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.learn.maxpat", + "numinlets" : 0, + "numoutlets" : 0, + "offset" : [ -10.0, -8.0 ], + "patching_rect" : [ 390.0, 10.0, 240.0, 95.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-2", + "ignoreclick" : 1, + "jsarguments" : [ "fluid.grid~" ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.0, 10.0, 370.0, 100.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 572.422667999999931, 338.231079000000079, 177.0, 36.0 ], - "text" : "max value for the grid coordinates, zero counting" + "patching_rect" : [ 733.0, 241.0, 50.0, 21.0 ], + "text" : "extent", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-42", - "maxclass" : "message", + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 196.5, 275.0, 79.0, 23.0 ], + "text" : "s help.grid.3" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "dump", "", "clear" ], + "patching_rect" : [ 10.0, 200.0, 206.0, 23.0 ], + "text" : "t dump l clear" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 10.0, 315.0, 74.0, 23.0 ], + "text" : "route dump" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 508.0, 344.731079000000079, 61.0, 23.0 ] + "patching_rect" : [ 103.5, 235.0, 86.0, 23.0 ], + "text" : "prepend read" } } , { "box" : { - "id" : "obj-40", - "maxclass" : "message", - "numinlets" : 2, + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-5", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.dataloader.maxpat", + "numinlets" : 0, "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], "outlettype" : [ "" ], - "patching_rect" : [ 341.0, 658.896057000000042, 34.0, 23.0 ], - "text" : "print" + "patching_rect" : [ 10.0, 120.0, 170.0, 67.0 ], + "viewvisibility" : 1 } } , { "box" : { - "id" : "obj-26", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-122", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 420.0, 122.0, 123.0 ], + "text" : "The raw dataset is plotted here and each point is assigned a colour based on its position to create a smooth colour change spectrum", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-120", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 404.0, 122.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-117", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 182.0, 120.0, 220.0, 25.0 ], + "text" : "Select a premade dataset to load." + } + + } +, { + "box" : { + "id" : "obj-112", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 385.0, 79.0, 23.0 ], + "text" : "s help.grid.3" + } + + } +, { + "box" : { + "id" : "obj-110", + "maxclass" : "newobj", + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 430.0, 161.468215999999984, 278.0, 23.0 ], - "text" : "fittransform grid.help.reduced grid.help.gridded" + "patching_rect" : [ 256.0, 385.0, 77.0, 23.0 ], + "text" : "r help.grid.3" } } , { "box" : { - "id" : "obj-21", + "id" : "obj-108", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], + "numoutlets" : 1, + "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 986.0, 298.0, 640.0, 480.0 ], + "rect" : [ 84.0, 131.0, 220.0, 395.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -181,187 +319,194 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "comment" : "", "id" : "obj-5", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 385.531913999999972, 282.800844999999981, 30.0, 30.0 ] + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 43.0, 155.0, 55.0, 22.0 ], + "text" : "zl.slice 1" } } , { "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-94", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 385.531913999999972, 235.0, 129.0, 22.0 ], - "text" : "dict.unpack data_max:" + "patching_rect" : [ 12.0, 313.0, 155.0, 22.0 ], + "text" : "pointcolor $1 $2 $3 $4 $5" } } , { "box" : { - "id" : "obj-2", + "id" : "obj-104", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "dump" ], - "patching_rect" : [ 328.531913999999972, 235.0, 55.0, 22.0 ], - "text" : "t b dump" + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 272.0, 29.5, 22.0 ], + "text" : "join" } } , { "box" : { - "id" : "obj-1", + "id" : "obj-102", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 40.0, 266.0, 217.0, 22.0 ], - "text" : "fluid.dataset~ grid.help.gridded.normed" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 12.0, 119.0, 50.0, 22.0 ], + "text" : "t l l" } } , { "box" : { - "id" : "obj-21", + "id" : "obj-97", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 117.340423999999999, 134.574463000000009, 298.0, 22.0 ], - "text" : "fittransform grid.help.gridded grid.help.gridded.normed" + "patching_rect" : [ 79.0, 193.0, 74.0, 22.0 ], + "text" : "hsl $1 1. 0.5" } } , { "box" : { - "id" : "obj-20", - "maxclass" : "newobj", + "id" : "obj-95", + "maxclass" : "swatch", "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 328.531913999999972, 199.800835000000006, 133.0, 22.0 ], - "text" : "route fittransform dump" + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 79.0, 228.0, 128.0, 32.0 ], + "saturation" : 1.0 } } , { "box" : { - "id" : "obj-19", + "id" : "obj-90", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "list", "float", "" ], - "patching_rect" : [ 125.531914, 172.34042500000001, 219.0, 22.0 ], - "text" : "fluid.normalize~ @min 0.05 @max 0.95" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 84.0, 50.0, 22.0 ], + "text" : "dict.iter" } } , { "box" : { - "id" : "obj-16", + "id" : "obj-89", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 100.0, 107.0, 22.0 ], - "text" : "route fittransform" + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 49.0, 107.0, 22.0 ], + "text" : "dict.unpack data:" } } , { "box" : { "comment" : "", - "id" : "obj-22", + "id" : "obj-106", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.000002000000002, 40.000002000000002, 30.0, 30.0 ] + "patching_rect" : [ 12.0, 8.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-23", + "id" : "obj-107", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 328.531893000000025, 282.800844999999981, 30.0, 30.0 ] + "patching_rect" : [ 12.0, 355.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-16", 0 ] + "destination" : [ "obj-104", 0 ], + "source" : [ "obj-102", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-19", 2 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-102", 1 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], - "midpoints" : [ 374.031913999999972, 262.0, 533.0, 262.0, 533.0, 166.0, 135.031914, 166.0 ], - "source" : [ "obj-2", 1 ] + "destination" : [ "obj-94", 0 ], + "source" : [ "obj-104", 0 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-89", 0 ], + "source" : [ "obj-106", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-20", 0 ] + "destination" : [ "obj-97", 0 ], + "source" : [ "obj-5", 1 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-20", 1 ] + "destination" : [ "obj-90", 0 ], + "source" : [ "obj-89", 0 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-21", 0 ] + "destination" : [ "obj-102", 0 ], + "source" : [ "obj-90", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-22", 0 ] + "destination" : [ "obj-107", 0 ], + "source" : [ "obj-94", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-104", 1 ], + "source" : [ "obj-95", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-95", 0 ], + "source" : [ "obj-97", 0 ] } } @@ -369,9 +514,9 @@ "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -389,7 +534,6 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { "type" : "gradient", "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], @@ -399,7 +543,8 @@ "proportion" : 0.39, "autogradient" : 0 } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", @@ -417,7 +562,7 @@ ] } , - "patching_rect" : [ 430.0, 313.731079000000079, 139.0, 23.0 ], + "patching_rect" : [ 30.0, 355.0, 157.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -425,1233 +570,918 @@ "tags" : "" } , - "text" : "p normalize for display" + "text" : "p \"calculate point colours\"" + } + + } +, { + "box" : { + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 10.0, 275.0, 182.0, 23.0 ], + "text" : "fluid.dataset~ help.grid.3.input" + } + + } +, { + "box" : { + "filename" : "fluid.plotter", + "id" : "obj-3", + "maxclass" : "jsui", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 10.0, 420.0, 265.0, 265.0 ] } } , { "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 1, - "embed" : 1, - "enablehscroll" : 0, - "enablevscroll" : 0, "id" : "obj-23", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", + "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "offset" : [ 0.0, 0.0 ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 921.0, 260.0, 588.0, 955.0 ], - "bglocked" : 0, - "openinpresentation" : 1, - "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-30", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 540.0, 204.0, 57.0, 22.0 ], - "text" : "zl slice 1" - } + "patching_rect" : [ 690.0, 207.0, 50.0, 21.0 ], + "text" : "vertical", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 434.333344000000011, 302.0, 57.0, 22.0 ], - "text" : "zl slice 1" - } + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 666.0, 170.0, 65.0, 21.0 ], + "text" : "horizontal", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 679.5, 240.0, 50.0, 23.0 ] + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 679.5, 275.0, 62.0, 23.0 ], + "text" : "extent $1" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 645.0, 207.0, 42.0, 23.0 ], + "text" : "axis 1" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 618.5, 325.0, 29.5, 23.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "bubbleside" : 2, + "id" : "obj-12", + "linecount" : 11, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 690.0, 430.0, 233.0, 181.0 ], + "text" : "The extent attribute constrains the dimensions of the selected axis when the grid is created. When the value is 0, the constraints are disabled.\n\nThis allows you to control how points are compacted and arranged in the grid output, facilitating distinct arrangements of points in lines of varying density and uniformity. \n\n", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-6", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 390.0, 170.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 3, + "id" : "obj-7", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 420.0, 161.5, 197.0, 40.0 ], + "text" : "Experiment by changing both the axis and extent attributes." + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 618.5, 170.0, 42.0, 23.0 ], + "text" : "axis 0" + } + + } +, { + "box" : { + "id" : "obj-111", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 666.0, 375.0, 77.0, 23.0 ], + "text" : "r help.grid.3" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 2, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 84.0, 671.0, 541.0, 407.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-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 171.0, 108.0, 176.0, 22.0 ], + "text" : "fluid.dataset~ help.grid.3.output" + } } , { "box" : { - "id" : "obj-17", - "maxclass" : "newobj", + "id" : "obj-31", + "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 472.333344000000011, 378.0, 124.666656000000003, 22.0 ], - "text" : "join 2" + "patching_rect" : [ 247.0, 255.0, 39.0, 22.0 ], + "text" : "dump" } } , { "box" : { - "id" : "obj-13", + "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 395.0, 230.0, 164.0, 22.0 ], - "text" : "combine data:: s @triggers 1" + "patching_rect" : [ 247.0, 220.0, 99.0, 22.0 ], + "text" : "route fittransform" } } , { "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 395.0, 254.0, 75.0, 22.0 ], - "text" : "prepend get" + "patching_rect" : [ 60.0, 148.0, 288.0, 22.0 ], + "text" : "fittransform help.grid.3.output help.grid.3.normoutput" } } , { "box" : { - "id" : "obj-11", + "id" : "obj-24", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 395.0, 278.0, 132.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict grid.help.data2.dict" + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 60.0, 183.0, 206.0, 22.0 ], + "text" : "fluid.normalize~ @min 0.1 @max 0.9" } } , { "box" : { - "id" : "obj-10", + "id" : "obj-20", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 540.0, 180.0, 49.0, 22.0 ], - "text" : "dict.iter" + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 60.0, 108.0, 99.0, 22.0 ], + "text" : "route fittransform" } } , { "box" : { - "id" : "obj-8", + "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 540.0, 156.0, 101.0, 22.0 ], - "text" : "dict.unpack data:" + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 18.0, 73.0, 61.0, 22.0 ], + "text" : "fluid.grid~" } } , { "box" : { - "id" : "obj-7", + "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 540.0, 128.0, 71.0, 22.0 ], + "patching_rect" : [ 432.0, 321.0, 69.0, 22.0 ], "text" : "route dump" } } , { "box" : { - "id" : "obj-23", + "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 327.0, 101.896056999999999, 217.0, 22.0 ], - "text" : "fluid.dataset~ grid.help.gridded.normed" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 96.0, 17.0, 24.0, 24.0 ] + "patching_rect" : [ 247.0, 290.0, 204.0, 22.0 ], + "text" : "fluid.dataset~ help.grid.3.normoutput" } } , { "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, + "comment" : "", + "id" : "obj-33", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 276.875, 77.0, 22.0 ], - "text" : "vexpr $f1 - 3" + "patching_rect" : [ 18.0, 13.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-24", - "maxclass" : "newobj", + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "dump", "clear" ], - "patching_rect" : [ 76.0, 53.0, 85.0, 22.0 ], - "text" : "t b dump clear" + "numoutlets" : 0, + "patching_rect" : [ 432.0, 353.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-9", - "maxclass" : "newobj", + "attr" : "axis", + "id" : "obj-1", + "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 345.625, 79.0, 22.0 ], - "text" : "vexpr int($f1)" + "patching_rect" : [ 51.0, 43.0, 150.0, 22.0 ] } } -, { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 58.0, 17.0, 30.0, 30.0 ] + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-1", 0 ] } } , { - "box" : { - "id" : "obj-96", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 38.5, 461.0, 58.0, 22.0 ], - "text" : "loadbang" + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-13", 0 ] } } , { - "box" : { - "id" : "obj-63", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 230.0, 97.0, 22.0 ], - "text" : "scale 0. 1. 0 274" + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-15", 2 ] } } , { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 319.875, 33.0, 22.0 ], - "text" : "join" + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-17", 2 ] } } , { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 662.0, 276.875, 80.0, 22.0 ], - "text" : "vexpr $f1 + 3" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 472.333344000000011, 408.0, 173.0, 22.0 ], - "text" : "paintoval $4 $5 $6 $7 $1 $2 $3" - } - - } -, { - "box" : { - "border" : 0.1, - "id" : "obj-20", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 193.5, 559.0, 274.0, 274.0 ], - "presentation" : 1, - "presentation_rect" : [ 1.5, 3.0, 274.0, 274.0 ] - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 193.5, 521.0, 119.0, 22.0 ], - "text" : "jit.lcd 4 char 274 274" - } - - } -, { - "box" : { - "id" : "obj-85", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 38.5, 487.0, 103.0, 22.0 ], - "text" : "brgb 229 229 229" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-11", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-23", 2 ] + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-18", 0 ], + "destination" : [ "obj-29", 0 ], "source" : [ "obj-24", 2 ] } - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-24", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 1 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 1 ], - "source" : [ "obj-30", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-30", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-5", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-24", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "order" : 0, - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "order" : 1, - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-8", 0 ] + "source" : [ "obj-28", 0 ] } } , { "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-85", 0 ] + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-29", 0 ] } } , { "patchline" : { - "destination" : [ "obj-17", 1 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-31", 0 ] } } , { "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-96", 0 ] - } - - } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-33", 0 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 } ] } , - "patching_rect" : [ 430.0, 369.731079000000079, 276.0, 274.0 ], - "varname" : "bpatcher[1]", - "viewvisibility" : 1 + "patching_rect" : [ 420.0, 375.0, 123.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"transform to grid\"" } } , { "box" : { - "attr" : "axis", - "id" : "obj-20", - "maxclass" : "attrui", - "numinlets" : 1, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 462.0, 204.0, 179.0, 23.0 ], - "text_width" : 89.0 + "patching_rect" : [ 420.0, 295.0, 123.0, 52.0 ], + "text" : "fittransform help.grid.3.input help.grid.3.output" } } , { "box" : { - "attr" : "extent", - "id" : "obj-8", - "maxclass" : "attrui", - "numinlets" : 1, + "filename" : "fluid.plotter", + "id" : "obj-16", + "maxclass" : "jsui", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 462.0, 229.0, 179.0, 23.0 ], - "text_width" : 89.0 + "parameter_enable" : 0, + "patching_rect" : [ 420.0, 420.0, 265.0, 265.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "midpoints" : [ 113.0, 266.0, 19.5, 266.0 ], + "source" : [ "obj-1", 0 ] } } , { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 430.0, 282.225037000000043, 65.0, 23.0 ], - "text" : "fluid.grid~" + "patchline" : { + "destination" : [ "obj-112", 0 ], + "midpoints" : [ 39.5, 378.0, 39.5, 378.0 ], + "source" : [ "obj-108", 0 ] } } , { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 341.0, 683.896057000000042, 187.0, 23.0 ], - "text" : "fluid.dataset~ grid.help.gridded" + "patchline" : { + "destination" : [ "obj-24", 0 ], + "midpoints" : [ 689.0, 312.0, 628.0, 312.0 ], + "source" : [ "obj-11", 0 ] } } , { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 103.0, 248.225036999999986, 96.0, 23.0 ], - "text" : "sel fittransform" + "patchline" : { + "destination" : [ "obj-3", 1 ], + "source" : [ "obj-110", 0 ] } } , { - "box" : { - "id" : "obj-14", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 9.0, 196.040344000000005, 238.0, 23.0 ], - "text" : "fittransform grid.help.data2 grid.help.std" + "patchline" : { + "destination" : [ "obj-16", 1 ], + "source" : [ "obj-111", 0 ] } } , { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "list", "float", "" ], - "patching_rect" : [ 9.0, 223.225036999999986, 113.0, 23.0 ], - "text" : "fluid.standardize~" + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-17", 0 ] } } , { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 26.0, 658.896057000000042, 161.0, 23.0 ], - "text" : "fluid.dataset~ grid.help.std" + "patchline" : { + "destination" : [ "obj-108", 0 ], + "midpoints" : [ 19.5, 348.0, 39.5, 348.0 ], + "order" : 0, + "source" : [ "obj-18", 0 ] } } , { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 665.0, 326.0, 640.0, 549.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-26", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 214.0, 405.0, 81.0, 22.0 ], - "text" : "prepend load" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 429.0, 171.0, 90.0, 22.0 ], - "text" : "pack set cols 3" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 223.0, 92.0, 29.5, 22.0 ], - "text" : "* 3" - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 214.0, 341.0, 97.0, 22.0 ], - "text" : "prepend replace" - } + "patchline" : { + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 19.5, 339.0, 19.5, 339.0 ], + "order" : 1, + "source" : [ "obj-18", 0 ] + } - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 102.0, 260.0, 191.0, 22.0 ], - "text" : "combine data::entry 0 @triggers 1" - } + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "midpoints" : [ 429.5, 361.0, 429.5, 361.0 ], + "source" : [ "obj-19", 0 ] + } - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 214.0, 314.0, 61.0, 22.0 ], - "text" : "pack s i i i" - } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-20", 1 ] + } - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 223.0, 202.0, 75.0, 22.0 ], - "text" : "t b l" - } + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-20", 2 ] + } - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 214.0, 378.0, 132.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict grid.help.data2.dict" - } + } +, { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "midpoints" : [ 19.5, 225.0, 19.5, 225.0 ], + "source" : [ "obj-20", 0 ] + } - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 4, - "outlettype" : [ "int", "", "", "int" ], - "patching_rect" : [ 305.0, 236.0, 61.0, 22.0 ], - "text" : "counter" - } + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "midpoints" : [ 628.0, 362.0, 406.0, 362.0, 406.0, 282.0, 429.5, 282.0 ], + "source" : [ "obj-24", 0 ] + } - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "int", "bang", "bang", "clear" ], - "patching_rect" : [ 223.0, 68.0, 328.0, 22.0 ], - "text" : "t i b b clear" - } + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "midpoints" : [ 638.5, 362.0, 429.5, 362.0 ], + "source" : [ "obj-24", 1 ] + } - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 223.0, 178.0, 63.0, 22.0 ], - "text" : "zl group 3" - } + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-35", 0 ] + } - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 223.0, 154.0, 75.0, 22.0 ], - "text" : "random 256" - } + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "midpoints" : [ 628.0, 195.0, 628.0, 195.0 ], + "source" : [ "obj-4", 0 ] + } - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 223.0, 116.0, 59.0, 22.0 ], - "text" : "uzi 300 0" - } + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-5", 0 ] + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 223.0, 9.0, 30.0, 30.0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "midpoints" : [ 182.5, 309.0, 19.5, 309.0 ], + "source" : [ "obj-69", 2 ] + } - } -, { - "box" : { - "comment" : "", - "id" : "obj-21", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 214.0, 435.0, 30.0, 30.0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "midpoints" : [ 654.5, 312.0, 628.0, 312.0 ], + "source" : [ "obj-8", 0 ] + } - } + } ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 2 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-3", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 541.5, 371.0, 223.5, 371.0 ], - "source" : [ "obj-3", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 252.5, 147.0, 77.0, 147.0, 77.0, 370.0, 223.5, 370.0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 1 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 438.5, 366.0, 223.5, 366.0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 1 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.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 ] + } , - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6inlet", + "default" : { + "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + } , - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - - } + "parentstyle" : "", + "multi" : 0 + } +, { + "name" : "max6message", + "default" : { + "bgfillcolor" : { + "type" : "gradient", + "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "angle" : 270.0, + "proportion" : 0.39, + "autogradient" : 0 + } , - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + } , - "parentstyle" : "", - "multi" : 0 - } + "parentstyle" : "max6box", + "multi" : 0 + } +, { + "name" : "max6outlet", + "default" : { + "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] + } +, + "parentstyle" : "", + "multi" : 0 + } ] - } + } , - "patching_rect" : [ 26.0, 140.0, 199.0, 23.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } + "patching_rect" : [ 200.0, 10.0, 108.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 13.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"axis and extent\"", + "varname" : "basic_tab[3]" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 2, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } , - "text" : "p making_random_colour_points" + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 994.0, 753.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 13.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" : { + "args" : [ "grid" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-75", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.learn.maxpat", + "numinlets" : 0, + "numoutlets" : 0, + "offset" : [ -10.0, -8.0 ], + "patching_rect" : [ 390.0, 10.0, 240.0, 95.0 ], + "viewvisibility" : 1 } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-19", + "border" : 0, + "filename" : "helpdetails.js", + "id" : "obj-2", "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "jsarguments" : [ "fluid.grid~" ], + "maxclass" : "jsui", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], + "numoutlets" : 1, + "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 595.335571000000073, 282.225037000000043, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "4", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "patching_rect" : [ 10.0, 10.0, 370.0, 100.0 ] } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-18", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "id" : "obj-21", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 431.577332000000069, 109.468215999999984, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "2", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "numoutlets" : 0, + "patching_rect" : [ 196.5, 275.0, 79.0, 23.0 ], + "text" : "s help.grid.2" } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-17", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "id" : "obj-20", + "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 37.0, 81.195022999999992, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "1", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "outlettype" : [ "dump", "", "clear" ], + "patching_rect" : [ 10.0, 200.0, 206.0, 23.0 ], + "text" : "t dump l clear" } } , { "box" : { - "id" : "obj-12", - "linecount" : 3, - "maxclass" : "comment", + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 10.0, 315.0, 74.0, 23.0 ], + "text" : "route dump" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 462.0, 109.468215999999984, 264.0, 50.0 ], - "text" : "Force the UMAP-reduced dataset into a grid, normalise for viewing then print in another window" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.5, 235.0, 86.0, 23.0 ], + "text" : "prepend read" } } , { "box" : { - "id" : "obj-30", - "linecount" : 2, + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-5", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.dataloader.maxpat", + "numinlets" : 0, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patching_rect" : [ 10.0, 120.0, 170.0, 67.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "id" : "obj-122", + "linecount" : 8, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 618.422667999999931, 282.225037000000043, 137.0, 36.0 ], - "text" : "Explore oversampling greater than 1" + "patching_rect" : [ 280.0, 420.0, 122.0, 123.0 ], + "text" : "The raw dataset is plotted here and each point is assigned a colour based on its position to create a smooth colour change spectrum", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-120", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 404.0, 122.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } , { "box" : { - "id" : "obj-29", - "linecount" : 4, + "bubble" : 1, + "id" : "obj-117", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 251.0, 202.225036999999929, 108.0, 65.0 ], - "text" : "Use standardisation and umap to reduce this to 2D" + "patching_rect" : [ 182.0, 120.0, 220.0, 25.0 ], + "text" : "Select a premade dataset to load." } } , { "box" : { - "id" : "obj-28", - "maxclass" : "comment", + "id" : "obj-112", + "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 56.5, 81.195022999999992, 359.0, 21.0 ], - "text" : "Make 400 random RGB points" + "patching_rect" : [ 30.0, 385.0, 79.0, 23.0 ], + "text" : "s help.grid.2" } } , { "box" : { - "id" : "obj-24", + "id" : "obj-110", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 385.0, 77.0, 23.0 ], + "text" : "r help.grid.2" + } + + } +, { + "box" : { + "id" : "obj-108", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -1660,14 +1490,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 986.0, 298.0, 640.0, 480.0 ], + "rect" : [ 84.0, 131.0, 220.0, 395.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1697,122 +1527,194 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-1", + "id" : "obj-5", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 40.0, 266.0, 220.0, 22.0 ], - "text" : "fluid.dataset~ grid.help.reduced.normed" + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 43.0, 155.0, 55.0, 22.0 ], + "text" : "zl.slice 1" } } , { "box" : { - "id" : "obj-21", + "id" : "obj-94", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 117.340423999999999, 134.574463000000009, 305.0, 22.0 ], - "text" : "fittransform grid.help.reduced grid.help.reduced.normed" + "patching_rect" : [ 12.0, 313.0, 155.0, 22.0 ], + "text" : "pointcolor $1 $2 $3 $4 $5" } } , { "box" : { - "id" : "obj-20", + "id" : "obj-104", "maxclass" : "newobj", "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 272.0, 29.5, 22.0 ], + "text" : "join" + } + + } +, { + "box" : { + "id" : "obj-102", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 328.531913999999972, 199.800835000000006, 107.0, 22.0 ], - "text" : "route fittransform" + "patching_rect" : [ 12.0, 119.0, 50.0, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-97", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 79.0, 193.0, 74.0, 22.0 ], + "text" : "hsl $1 1. 0.5" + } + + } +, { + "box" : { + "id" : "obj-95", + "maxclass" : "swatch", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 79.0, 228.0, 128.0, 32.0 ], + "saturation" : 1.0 } } , { "box" : { - "id" : "obj-19", + "id" : "obj-90", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "list", "float", "" ], - "patching_rect" : [ 125.531914, 172.34042500000001, 219.0, 22.0 ], - "text" : "fluid.normalize~ @min 0.05 @max 0.95" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 84.0, 50.0, 22.0 ], + "text" : "dict.iter" } } , { "box" : { - "id" : "obj-16", + "id" : "obj-89", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 100.0, 107.0, 22.0 ], - "text" : "route fittransform" + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 49.0, 107.0, 22.0 ], + "text" : "dict.unpack data:" } } , { "box" : { "comment" : "", - "id" : "obj-22", + "id" : "obj-106", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.000002000000002, 40.000002000000002, 30.0, 30.0 ] + "patching_rect" : [ 12.0, 8.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-23", + "id" : "obj-107", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 328.531893000000025, 282.800844999999981, 30.0, 30.0 ] + "patching_rect" : [ 12.0, 355.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-16", 0 ] + "destination" : [ "obj-104", 0 ], + "source" : [ "obj-102", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-19", 2 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-102", 1 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-20", 0 ] + "destination" : [ "obj-94", 0 ], + "source" : [ "obj-104", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-89", 0 ], + "source" : [ "obj-106", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-97", 0 ], + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-90", 0 ], + "source" : [ "obj-89", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-102", 0 ], + "source" : [ "obj-90", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-107", 0 ], + "source" : [ "obj-94", 0 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-21", 0 ] + "destination" : [ "obj-104", 1 ], + "source" : [ "obj-95", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-22", 0 ] + "destination" : [ "obj-95", 0 ], + "source" : [ "obj-97", 0 ] } } @@ -1820,9 +1722,9 @@ "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -1840,7 +1742,6 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { "type" : "gradient", "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], @@ -1850,7 +1751,8 @@ "proportion" : 0.39, "autogradient" : 0 } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", @@ -1868,7 +1770,7 @@ ] } , - "patching_rect" : [ 26.0, 344.731079000000079, 139.0, 23.0 ], + "patching_rect" : [ 30.0, 355.0, 157.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -1876,98 +1778,154 @@ "tags" : "" } , - "text" : "p normalize for display" + "text" : "p \"calculate point colours\"" } } , { "box" : { - "id" : "obj-7", - "maxclass" : "message", + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 10.0, 275.0, 182.0, 23.0 ], + "text" : "fluid.dataset~ help.grid.2.input" + } + + } +, { + "box" : { + "filename" : "fluid.plotter", + "id" : "obj-3", + "maxclass" : "jsui", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 103.0, 273.225036999999929, 252.0, 23.0 ], - "text" : "fittransform grid.help.std grid.help.reduced" + "parameter_enable" : 0, + "patching_rect" : [ 10.0, 420.0, 265.0, 265.0 ] } } , { "box" : { - "id" : "obj-15", + "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 9.0, 108.968216000000012, 50.0, 23.0 ], - "text" : "t b 400" + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 690.0, 330.0, 29.5, 23.0 ], + "text" : "t b l" } } , { "box" : { - "id" : "obj-13", - "maxclass" : "button", + "id" : "obj-23", + "maxclass" : "number", + "maximum" : 25, + "minimum" : 1, "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 9.0, 81.195022999999992, 24.0, 24.0 ] + "patching_rect" : [ 690.0, 260.0, 50.0, 23.0 ] } } , { "box" : { - "id" : "obj-10", - "maxclass" : "newobj", + "bubbleside" : 2, + "id" : "obj-12", + "linecount" : 13, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 26.0, 683.896057000000042, 190.0, 23.0 ], - "text" : "fluid.dataset~ grid.help.reduced" + "numoutlets" : 0, + "patching_rect" : [ 680.0, 430.0, 233.0, 195.0 ], + "text" : "As the grid oversamples the original shape of the space is preseved. This gives you a flexible control over how \"gridded\" the result is.\n\nIt is important to remember that oversampling changes the dimensions of the grid too as it essentially is a control of resolution.\n\nIn this instance the changes in shape of the output are overcome by normalising the space.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-27", - "maxclass" : "newobj", + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-6", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 26.0, 166.968216000000012, 176.0, 23.0 ], - "text" : "fluid.dataset~ grid.help.data2" + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 410.0, 261.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } , { "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 1, - "embed" : 1, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-32", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", + "bubble" : 1, + "bubbleside" : 3, + "id" : "obj-7", + "linecount" : 2, + "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "offset" : [ 0.0, 0.0 ], + "patching_rect" : [ 434.0, 251.5, 250.0, 40.0 ], + "text" : "Experiment with transformations and modifying the oversampling factor." + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 690.0, 298.0, 94.0, 23.0 ], + "text" : "oversample $1" + } + + } +, { + "box" : { + "id" : "obj-111", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 656.0, 380.0, 77.0, 23.0 ], + "text" : "r help.grid.2" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 921.0, 260.0, 588.0, 955.0 ], + "rect" : [ 84.0, 131.0, 541.0, 407.0 ], "bglocked" : 0, - "openinpresentation" : 1, + "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", @@ -1995,699 +1953,369 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-30", + "id" : "obj-32", "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 171.0, 108.0, 176.0, 22.0 ], + "text" : "fluid.dataset~ help.grid.2.output" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "message", "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 540.0, 204.0, 57.0, 22.0 ], - "text" : "zl slice 1" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 247.0, 255.0, 39.0, 22.0 ], + "text" : "dump" } } , { "box" : { - "id" : "obj-22", + "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 434.333344000000011, 302.0, 57.0, 22.0 ], - "text" : "zl slice 1" + "patching_rect" : [ 247.0, 220.0, 99.0, 22.0 ], + "text" : "route fittransform" } } , { "box" : { - "id" : "obj-17", - "maxclass" : "newobj", + "id" : "obj-28", + "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 472.333344000000011, 378.0, 124.666656000000003, 22.0 ], - "text" : "join 2" + "patching_rect" : [ 60.0, 148.0, 288.0, 22.0 ], + "text" : "fittransform help.grid.2.output help.grid.2.normoutput" } } , { "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 395.0, 230.0, 164.0, 22.0 ], - "text" : "combine data:: s @triggers 1" - } - - } -, { - "box" : { - "id" : "obj-12", + "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 395.0, 254.0, 75.0, 22.0 ], - "text" : "prepend get" + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 60.0, 183.0, 206.0, 22.0 ], + "text" : "fluid.normalize~ @min 0.1 @max 0.9" } } , { "box" : { - "id" : "obj-11", + "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 395.0, 278.0, 132.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict grid.help.data2.dict" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 540.0, 180.0, 49.0, 22.0 ], - "text" : "dict.iter" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 60.0, 108.0, 99.0, 22.0 ], + "text" : "route fittransform" } } , { "box" : { - "id" : "obj-8", + "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 540.0, 156.0, 101.0, 22.0 ], - "text" : "dict.unpack data:" + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 18.0, 73.0, 61.0, 22.0 ], + "text" : "fluid.grid~" } } , { "box" : { - "id" : "obj-7", + "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 540.0, 128.0, 71.0, 22.0 ], + "patching_rect" : [ 432.0, 321.0, 69.0, 22.0 ], "text" : "route dump" } } , { "box" : { - "id" : "obj-23", + "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 327.0, 101.896056999999999, 220.0, 22.0 ], - "text" : "fluid.dataset~ grid.help.reduced.normed" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 96.0, 17.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 276.875, 77.0, 22.0 ], - "text" : "vexpr $f1 - 3" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "dump", "clear" ], - "patching_rect" : [ 76.0, 53.0, 85.0, 22.0 ], - "text" : "t b dump clear" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 345.625, 79.0, 22.0 ], - "text" : "vexpr int($f1)" + "patching_rect" : [ 247.0, 290.0, 204.0, 22.0 ], + "text" : "fluid.dataset~ help.grid.2.normoutput" } } , { "box" : { "comment" : "", - "id" : "obj-5", + "id" : "obj-33", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 58.0, 17.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-96", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 38.5, 461.0, 58.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-63", - "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 230.0, 97.0, 22.0 ], - "text" : "scale 0. 1. 0 274" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 319.875, 33.0, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 662.0, 276.875, 80.0, 22.0 ], - "text" : "vexpr $f1 + 3" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 472.333344000000011, 408.0, 173.0, 22.0 ], - "text" : "paintoval $4 $5 $6 $7 $1 $2 $3" - } - - } -, { - "box" : { - "border" : 0.1, - "id" : "obj-20", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 193.5, 559.0, 274.0, 274.0 ], - "presentation" : 1, - "presentation_rect" : [ 1.5, 3.0, 274.0, 274.0 ] + "patching_rect" : [ 18.0, 13.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-18", - "maxclass" : "newobj", + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 193.5, 521.0, 119.0, 22.0 ], - "text" : "jit.lcd 4 char 274 274" - } - - } -, { - "box" : { - "id" : "obj-85", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 38.5, 487.0, 103.0, 22.0 ], - "text" : "brgb 229 229 229" + "numoutlets" : 0, + "patching_rect" : [ 432.0, 353.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-11", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], + "destination" : [ "obj-34", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-17", 0 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-15", 2 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], - "source" : [ "obj-18", 0 ] + "source" : [ "obj-17", 2 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-23", 2 ] + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-18", 0 ], + "destination" : [ "obj-29", 0 ], "source" : [ "obj-24", 2 ] } } , { "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-24", 0 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-28", 0 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-24", 1 ] + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-29", 0 ] } } , { "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-25", 0 ] + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-31", 0 ] } } , { "patchline" : { - "destination" : [ "obj-27", 1 ], - "source" : [ "obj-26", 0 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-33", 0 ] } } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-27", 0 ] - } + ] + } +, + "patching_rect" : [ 410.0, 380.0, 123.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p \"transform to grid\"" + } - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-28", 0 ] - } + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 410.0, 330.0, 274.0, 23.0 ], + "text" : "fittransform help.grid.2.input help.grid.2.output" + } - } -, { - "patchline" : { - "destination" : [ "obj-13", 1 ], - "source" : [ "obj-30", 0 ] - } + } +, { + "box" : { + "filename" : "fluid.plotter", + "id" : "obj-16", + "maxclass" : "jsui", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 410.0, 420.0, 265.0, 265.0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-30", 1 ] - } + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "midpoints" : [ 113.0, 266.0, 19.5, 266.0 ], + "source" : [ "obj-1", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-5", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-112", 0 ], + "midpoints" : [ 39.5, 378.0, 39.5, 378.0 ], + "source" : [ "obj-108", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-6", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "source" : [ "obj-110", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "order" : 0, - "source" : [ "obj-63", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-16", 1 ], + "source" : [ "obj-111", 0 ] + } - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "order" : 1, - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 1 ], - "source" : [ "obj-9", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-96", 0 ] - } - - } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } - ] - } -, - "patching_rect" : [ 26.0, 369.731079000000079, 276.0, 274.0 ], - "varname" : "bpatcher", - "viewvisibility" : 1 - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "list", "float", "" ], - "patching_rect" : [ 103.0, 298.225037000000043, 292.0, 38.0 ], - "text" : "fluid.umap~ @numdimensions 2 @learnrate 0.2 @iterations 50 @mindist 0.2 @numneighbours 5" - } - - } -, { - "box" : { - "border" : 0, - "filename" : "helpdetails.js", - "id" : "obj-2", - "ignoreclick" : 1, - "jsarguments" : [ "fluid.grid~" ], - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 216.0, 50.968216000000012 ] - } - - } -, { - "box" : { - "attr" : "oversample", - "id" : "obj-6", - "maxclass" : "attrui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 462.0, 254.0, 179.0, 23.0 ], - "text_width" : 89.0 - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-11", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-13", 0 ] - } + } +, { + "patchline" : { + "destination" : [ "obj-108", 0 ], + "midpoints" : [ 19.5, 348.0, 39.5, 348.0 ], + "order" : 0, + "source" : [ "obj-18", 0 ] + } } , { "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-14", 0 ] + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 19.5, 339.0, 19.5, 339.0 ], + "order" : 1, + "source" : [ "obj-18", 0 ] } } , { "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-15", 0 ] + "destination" : [ "obj-35", 0 ], + "midpoints" : [ 419.5, 366.0, 419.5, 366.0 ], + "source" : [ "obj-19", 0 ] } } , { "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-15", 1 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-20", 1 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-16", 0 ] + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-20", 2 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], + "destination" : [ "obj-69", 0 ], + "midpoints" : [ 19.5, 225.0, 19.5, 225.0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 1 ], - "source" : [ "obj-21", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-22", 0 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-32", 0 ], + "destination" : [ "obj-19", 0 ], + "midpoints" : [ 699.5, 367.0, 397.0, 367.0, 397.0, 325.0, 419.5, 325.0 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "midpoints" : [ 385.5, 341.978058000000033, 35.5, 341.978058000000033 ], - "source" : [ "obj-3", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-40", 0 ] + "destination" : [ "obj-35", 0 ], + "midpoints" : [ 710.0, 366.0, 419.5, 366.0 ], + "source" : [ "obj-24", 1 ] } } , { "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-5", 2 ] + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-4", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-18", 0 ], + "midpoints" : [ 182.5, 309.0, 19.5, 309.0 ], + "source" : [ "obj-69", 2 ] } } @@ -2695,9 +2323,9 @@ "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -2715,7 +2343,6 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { "type" : "gradient", "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], @@ -2725,7 +2352,8 @@ "proportion" : 0.39, "autogradient" : 0 } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", @@ -2743,7 +2371,7 @@ ] } , - "patching_rect" : [ 90.0, 114.0, 288.0, 22.0 ], + "patching_rect" : [ 80.0, 10.0, 90.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -2752,31 +2380,14 @@ "tags" : "" } , - "text" : "p \"a more colourful example exploring oversampling\"", - "varname" : "basic_tab[1]" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 289.0, 77.0, 176.0, 22.0 ], - "saved_object_attributes" : { - "filename" : "helpstarter.js", - "parameter_enable" : 0 - } -, - "text" : "js helpstarter.js fluid.normalize~" + "text" : "p oversampling", + "varname" : "basic_tab[2]" } } , { "box" : { - "id" : "obj-2", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, @@ -2784,22 +2395,22 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 773.0, 715.0 ], + "rect" : [ 0.0, 26.0, 994.0, 753.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 5.0, 5.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -2822,676 +2433,218 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "attr" : "extent", - "id" : "obj-4", - "maxclass" : "attrui", + "id" : "obj-21", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 348.0, 381.0, 150.0, 23.0 ] + "numoutlets" : 0, + "patching_rect" : [ 196.5, 275.0, 79.0, 23.0 ], + "text" : "s help.grid.1" } } , { "box" : { - "id" : "obj-81", - "linecount" : 3, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 267.671142000000145, 650.180405000000064, 172.0, 52.0 ], - "text" : "axis 1, extent 3, fittransform grid.help.data grid.help.data.gridded" + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "dump", "", "clear" ], + "patching_rect" : [ 10.0, 200.0, 206.0, 23.0 ], + "text" : "t dump l clear" } } , { "box" : { - "id" : "obj-80", - "linecount" : 3, - "maxclass" : "message", + "id" : "obj-18", + "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 267.671142000000145, 524.411499000000049, 172.0, 52.0 ], - "text" : "axis 0, extent 4, fittransform grid.help.data grid.help.data.gridded" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 10.0, 315.0, 74.0, 23.0 ], + "text" : "route dump" } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-77", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", + "id" : "obj-7", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 262.835571000000073, 612.180405000000064, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "4", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.5, 235.0, 86.0, 23.0 ], + "text" : "prepend read" } } , { "box" : { - "id" : "obj-78", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 285.922667999999931, 612.180405000000064, 150.0, 36.0 ], - "text" : "And contraining in the other dimension" + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-5", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.dataloader.maxpat", + "numinlets" : 0, + "numoutlets" : 1, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "" ], + "patching_rect" : [ 10.0, 120.0, 170.0, 67.0 ], + "viewvisibility" : 1 } } , { "box" : { - "id" : "obj-74", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 271.5, 317.0, 285.0, 23.0 ], - "text" : "fittransform grid.help.data grid.help.data.gridded" + "id" : "obj-127", + "linecount" : 6, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 425.0, 215.0, 94.0 ], + "text" : "Each point retains the same colour between the input and griddified output, so you can see how the algorithm tries to preserve the original layout of points in space while conforming it to a grid.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } } , { "box" : { - "id" : "obj-71", - "maxclass" : "newobj", + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-125", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 271.5, 393.0, 65.0, 23.0 ], - "text" : "fluid.grid~" + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 645.0, 285.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } -, { - "box" : { - "id" : "obj-69", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "jit_matrix" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 861.0, 267.0, 983.0, 706.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" : [ "int" ], - "patching_rect" : [ 542.5, 290.0, 30.0, 22.0 ], - "text" : "* 25" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 576.5, 290.0, 30.0, 22.0 ], - "text" : "* 25" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 576.5, 314.0, 32.0, 22.0 ], - "text" : "+ 18" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 542.5, 314.0, 29.5, 22.0 ], - "text" : "+ 5" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 50.0, 46.0, 94.0, 22.0 ], - "text" : "sel fittransform" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "clear" ], - "patching_rect" : [ 50.0, 72.0, 55.0, 22.0 ], - "text" : "t b clear" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 545.0, 363.588501000000008, 81.0, 22.0 ], - "text" : "moveto $1 $2" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 545.0, 339.588500999999951, 46.0, 22.0 ], - "text" : "pack i i" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "float", "float" ], - "patching_rect" : [ 525.5, 264.588501000000008, 70.0, 22.0 ], - "text" : "unpack s f f" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 444.0, 273.588501000000008, 40.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-38", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 477.0, 362.588500999999951, 51.0, 22.0 ], - "text" : "write $1" - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 183.0, 322.588501000000008, 62.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 444.0, 200.588501000000008, 74.0, 22.0 ], - "text" : "route dump" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 253.0, 150.0, 41.0, 22.0 ], - "text" : "dump" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 444.166663999999969, 399.588501000000008, 128.0, 23.0 ], - "text" : "jit.lcd 4 char 305 225" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 444.0, 249.588501000000008, 50.0, 22.0 ], - "text" : "dict.iter" - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 444.0, 224.588501000000008, 107.0, 22.0 ], - "text" : "dict.unpack data:" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 253.0, 175.0, 200.0, 22.0 ], - "text" : "fluid.dataset~ grid.help.data.gridded" - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 183.0, 347.588501000000008, 230.0, 22.0 ], - "text" : "brgb 0 0 0, frgb 255 255 255, font Arial 12" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-64", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 6.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-66", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 444.166655999999989, 482.588501000000008, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-1", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 1 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-38", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-42", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-60", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-64", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-9", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 0 ], - "source" : [ "obj-98", 0 ] - } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 2, + "id" : "obj-126", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 410.0, 275.0, 230.0, 55.0 ], + "text" : "Transform the dataset into a grid. (Take a look inside the sub-patch too)" + } - } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } + } +, { + "box" : { + "id" : "obj-122", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 280.0, 425.0, 122.0, 123.0 ], + "text" : "The raw dataset is plotted here and each point is assigned a colour based on its position to create a smooth colour change spectrum", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } - ] - } -, - "patching_rect" : [ 317.5, 418.0, 57.0, 23.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p viewer" + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-120", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 404.0, 122.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] } } , { "box" : { - "border" : 1.0, - "id" : "obj-70", - "maxclass" : "jit.pwindow", - "name" : "u733001014", + "bubble" : 1, + "id" : "obj-117", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 451.0, 456.5, 305.0, 225.0 ] + "numoutlets" : 0, + "patching_rect" : [ 182.0, 120.0, 220.0, 25.0 ], + "text" : "Select a premade dataset to load." } } , { "box" : { - "id" : "obj-68", - "maxclass" : "button", + "id" : "obj-112", + "maxclass" : "newobj", "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 30.0, 385.0, 79.0, 23.0 ], + "text" : "s help.grid.1" + } + + } +, { + "box" : { + "id" : "obj-111", + "maxclass" : "newobj", + "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 271.5, 263.195022999999992, 24.0, 24.0 ] + "outlettype" : [ "" ], + "patching_rect" : [ 656.0, 380.0, 77.0, 23.0 ], + "text" : "r help.grid.1" } } , { "box" : { - "id" : "obj-67", + "id" : "obj-110", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 385.0, 77.0, 23.0 ], + "text" : "r help.grid.1" + } + + } +, { + "box" : { + "id" : "obj-108", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "jit_matrix" ], + "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 410.0, 425.0, 640.0, 480.0 ], + "rect" : [ 84.0, 131.0, 220.0, 395.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -3520,408 +2673,251 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 408.5, 192.0, 30.0, 22.0 ], - "text" : "* 25" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 442.5, 192.0, 30.0, 22.0 ], - "text" : "* 25" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 442.5, 216.0, 32.0, 22.0 ], - "text" : "+ 18" - } - - } -, { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 408.5, 216.0, 29.5, 22.0 ], - "text" : "+ 5" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 43.0, 155.0, 55.0, 22.0 ], + "text" : "zl.slice 1" } } , { "box" : { - "id" : "obj-4", + "id" : "obj-94", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 408.5, 264.000000000000057, 81.0, 22.0 ], - "text" : "moveto $1 $2" + "patching_rect" : [ 12.0, 313.0, 155.0, 22.0 ], + "text" : "pointcolor $1 $2 $3 $4 $5" } } , { "box" : { - "id" : "obj-2", + "id" : "obj-104", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 408.5, 240.0, 49.0, 22.0 ], - "text" : "pack i i" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "float", "float" ], - "patching_rect" : [ 391.5, 164.588501000000008, 70.0, 22.0 ], - "text" : "unpack s f f" + "patching_rect" : [ 12.0, 272.0, 29.5, 22.0 ], + "text" : "join" } } , { "box" : { - "id" : "obj-60", + "id" : "obj-102", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 65.0, 232.588501000000008, 62.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 308.0, 102.588501000000008, 74.0, 22.0 ], - "text" : "route dump" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 117.0, 52.0, 41.0, 22.0 ], - "text" : "dump" - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 324.75, 179.588501000000008, 40.5, 22.0 ], - "text" : "t b l" + "patching_rect" : [ 12.0, 119.0, 50.0, 22.0 ], + "text" : "t l l" } } , { "box" : { - "id" : "obj-38", + "id" : "obj-97", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 331.0, 241.588500999999951, 51.0, 22.0 ], - "text" : "write $1" + "patching_rect" : [ 79.0, 193.0, 74.0, 22.0 ], + "text" : "hsl $1 1. 0.5" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-95", + "maxclass" : "swatch", + "numinlets" : 3, "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 308.166663999999969, 301.588501000000008, 128.0, 23.0 ], - "text" : "jit.lcd 4 char 230 105" + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 79.0, 228.0, 128.0, 32.0 ], + "saturation" : 1.0 } } , { "box" : { - "id" : "obj-36", + "id" : "obj-90", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 308.0, 151.588501000000008, 50.0, 22.0 ], + "patching_rect" : [ 12.0, 84.0, 50.0, 22.0 ], "text" : "dict.iter" } } , { "box" : { - "id" : "obj-32", + "id" : "obj-89", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 308.0, 126.588501000000008, 107.0, 22.0 ], + "patching_rect" : [ 12.0, 49.0, 107.0, 22.0 ], "text" : "dict.unpack data:" } - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 117.0, 77.0, 156.0, 22.0 ], - "text" : "fluid.dataset~ grid.help.data" - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 65.0, 257.588501000000008, 230.0, 22.0 ], - "text" : "brgb 0 0 0, frgb 255 255 255, font Arial 12" - } - } , { "box" : { "comment" : "", - "id" : "obj-64", + "id" : "obj-106", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 117.0, 20.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-65", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "clear" ], - "patching_rect" : [ 265.0, 147.588501000000008, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-66", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 308.166655999999989, 384.588501000000008, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-1", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-36", 0 ] + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 8.0, 30.0, 30.0 ] } } , { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-38", 0 ] + "box" : { + "comment" : "", + "id" : "obj-107", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 12.0, 355.0, 30.0, 30.0 ] } } -, { + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-39", 1 ] + "destination" : [ "obj-104", 0 ], + "source" : [ "obj-102", 0 ] } } , { "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-39", 0 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-102", 1 ] } } , { "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-94", 0 ], + "source" : [ "obj-104", 0 ] } } , { "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-42", 0 ] + "destination" : [ "obj-89", 0 ], + "source" : [ "obj-106", 0 ] } } , { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-48", 0 ] + "destination" : [ "obj-97", 0 ], + "source" : [ "obj-5", 1 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-90", 0 ], + "source" : [ "obj-89", 0 ] } } , { "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-55", 0 ] + "destination" : [ "obj-102", 0 ], + "source" : [ "obj-90", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 1 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-107", 0 ], + "source" : [ "obj-94", 0 ] } } , { "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-60", 0 ] + "destination" : [ "obj-104", 1 ], + "source" : [ "obj-95", 0 ] } } , { "patchline" : { - "destination" : [ "obj-48", 0 ], - "source" : [ "obj-64", 0 ] + "destination" : [ "obj-95", 0 ], + "source" : [ "obj-97", 0 ] } } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-65", 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 ] } - +, + "parentstyle" : "", + "multi" : 0 } , { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-8", 0 ] + "name" : "max6inlet", + "default" : { + "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] } - +, + "parentstyle" : "", + "multi" : 0 } , { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-9", 2 ] + "name" : "max6message", + "default" : { + "bgfillcolor" : { + "type" : "gradient", + "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], + "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "angle" : 270.0, + "proportion" : 0.39, + "autogradient" : 0 + } +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } - +, + "parentstyle" : "max6box", + "multi" : 0 } , { - "patchline" : { - "destination" : [ "obj-66", 0 ], - "source" : [ "obj-98", 0 ] + "name" : "max6outlet", + "default" : { + "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] } - +, + "parentstyle" : "", + "multi" : 0 } ] } , - "patching_rect" : [ 10.0, 321.411498999999992, 206.0, 23.0 ], + "patching_rect" : [ 30.0, 355.0, 157.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -3929,89 +2925,25 @@ "tags" : "" } , - "text" : "p viewer" - } - - } -, { - "box" : { - "border" : 1.0, - "dstrect" : [ 0, 0, 230, 105 ], - "id" : "obj-3", - "ignoreclick" : 1, - "interp" : 1, - "maxclass" : "jit.pwindow", - "name" : "u221001025", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 10.0, 346.411498999999992, 230.0, 105.0 ], - "srcrect" : [ 0, 0, 230, 105 ] - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 40.0, 657.180405000000064, 104.0, 23.0 ], - "text" : "help fluid.umap~" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 32.0, 630.180405000000064, 96.0, 23.0 ], - "text" : "help fluid.mds~" + "text" : "p \"calculate point colours\"" } } , { "box" : { - "id" : "obj-113", + "id" : "obj-69", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 685.411499000000049, 55.0, 23.0 ], - "text" : "pcontrol" - } - - } -, { - "box" : { - "id" : "obj-112", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 605.180405000000064, 93.0, 23.0 ], - "text" : "help fluid.pca~" - } - - } -, { - "box" : { - "id" : "obj-110", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 17.0, 579.432983000000036, 150.0, 21.0 ], - "text" : "See also " + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 10.0, 275.0, 182.0, 23.0 ], + "text" : "fluid.dataset~ help.grid.1.input" } } , { "box" : { - "id" : "obj-22", + "id" : "obj-35", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -4020,14 +2952,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 665.0, 326.0, 640.0, 549.0 ], + "rect" : [ 163.0, 878.0, 534.0, 401.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4057,390 +2989,205 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 290.0, 146.0, 29.5, 22.0 ], - "text" : "/ 9" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 255.0, 146.0, 29.5, 22.0 ], - "text" : "% 9" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 223.0, 178.0, 47.0, 22.0 ], - "text" : "pack f f" - } - - } -, { - "box" : { - "id" : "obj-26", + "id" : "obj-32", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 214.0, 405.0, 81.0, 22.0 ], - "text" : "prepend load" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 429.0, 171.0, 88.0, 22.0 ], - "text" : "pack set cols 2" + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 170.0, 108.0, 176.0, 22.0 ], + "text" : "fluid.dataset~ help.grid.1.output" } } , { "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 214.0, 341.0, 97.0, 22.0 ], - "text" : "prepend replace" + "patching_rect" : [ 247.0, 255.0, 39.0, 22.0 ], + "text" : "dump" } } , { "box" : { - "id" : "obj-9", + "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 101.5, 274.0, 163.0, 22.0 ], - "text" : "combine data:: 0 @triggers 1" + "patching_rect" : [ 247.0, 220.0, 99.0, 22.0 ], + "text" : "route fittransform" } } , { "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 3, + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 214.0, 314.0, 55.0, 22.0 ], - "text" : "pack s i i" + "patching_rect" : [ 60.0, 148.0, 288.0, 22.0 ], + "text" : "fittransform help.grid.1.output help.grid.1.normoutput" } } , { "box" : { - "id" : "obj-7", + "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 223.0, 202.0, 75.0, 22.0 ], - "text" : "t b l" + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 60.0, 183.0, 206.0, 22.0 ], + "text" : "fluid.normalize~ @min 0.1 @max 0.9" } } , { "box" : { - "id" : "obj-6", + "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 214.0, 378.0, 125.0, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict grid.help.data.dict" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 4, - "outlettype" : [ "int", "", "", "int" ], - "patching_rect" : [ 305.0, 236.0, 61.0, 22.0 ], - "text" : "counter" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 60.0, 108.0, 99.0, 22.0 ], + "text" : "route fittransform" } } , { "box" : { - "id" : "obj-3", + "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "int", "bang", "bang", "clear" ], - "patching_rect" : [ 223.0, 68.0, 328.0, 22.0 ], - "text" : "t i b b clear" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 223.0, 116.0, 51.0, 22.0 ], - "text" : "uzi 36 0" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-16", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 223.0, 9.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-21", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 214.0, 435.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 1 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 2 ], - "source" : [ "obj-3", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-3", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 541.5, 371.0, 223.5, 371.0 ], - "source" : [ "obj-3", 3 ] + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 18.0, 73.0, 61.0, 22.0 ], + "text" : "fluid.grid~" } } , { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-32", 0 ] + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 432.0, 322.0, 69.0, 22.0 ], + "text" : "route dump" } } , { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "order" : 1, - "source" : [ "obj-4", 2 ] + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "float", "" ], + "patching_rect" : [ 247.0, 290.0, 204.0, 22.0 ], + "text" : "fluid.dataset~ help.grid.1.normoutput" } } , { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "order" : 0, - "source" : [ "obj-4", 2 ] + "box" : { + "comment" : "", + "id" : "obj-33", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 18.0, 13.0, 30.0, 30.0 ] } } , { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 248.5, 147.0, 77.0, 147.0, 77.0, 370.0, 223.5, 370.0 ], - "source" : [ "obj-4", 1 ] + "box" : { + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 432.0, 354.0, 30.0, 30.0 ] } } -, { + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-9", 1 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-13", 0 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 438.5, 366.0, 223.5, 366.0 ], - "source" : [ "obj-54", 0 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-15", 2 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-17", 2 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 1 ], - "source" : [ "obj-7", 1 ] + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-24", 2 ] } } , { "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-28", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-29", 0 ] } } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } , { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-31", 0 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - } -, - "parentstyle" : "max6box", - "multi" : 0 } , { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-33", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } ] } , - "patching_rect" : [ 32.0, 270.0, 149.0, 23.0 ], + "patching_rect" : [ 410.0, 380.0, 123.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -4448,137 +3195,66 @@ "tags" : "" } , - "text" : "p making_a_simple_grid" + "text" : "p \"transform to grid\"" } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", "id" : "obj-19", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 259.41961600000036, 484.451842999999997, 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", - "hint" : "", - "id" : "obj-18", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 298.0, 264.195022999999992, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "2", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 410.0, 335.0, 274.0, 23.0 ], + "text" : "fittransform help.grid.1.input help.grid.1.output" } } , { "box" : { - "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], - "fontname" : "Arial Bold", - "hint" : "", - "id" : "obj-17", - "ignoreclick" : 1, - "legacytextcolor" : 1, - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], + "filename" : "fluid.plotter", + "id" : "obj-16", + "maxclass" : "jsui", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 38.0, 208.195022999999992, 20.0, 20.0 ], - "rounded" : 60.0, - "text" : "1", - "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 323.0, 264.195022999999992, 264.0, 21.0 ], - "text" : "Make a grid out of it and look at it" - } - - } -, { - "box" : { - "id" : "obj-30", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 282.506713000000218, 484.451842999999997, 150.0, 36.0 ], - "text" : "Change the contraints and draw again" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 60.0, 208.195022999999992, 326.0, 21.0 ], - "text" : "Make a simple 2D grid of numbers and have a look at it" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "int", "clear" ], - "patching_rect" : [ 10.0, 235.968216000000012, 206.0, 23.0 ], - "text" : "t b 36 clear" + "patching_rect" : [ 410.0, 425.0, 265.0, 265.0 ] } } , { "box" : { - "id" : "obj-13", - "maxclass" : "button", - "numinlets" : 1, + "filename" : "fluid.plotter", + "id" : "obj-1", + "maxclass" : "jsui", + "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "bang" ], + "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 10.0, 208.195022999999992, 24.0, 24.0 ] + "patching_rect" : [ 10.0, 425.0, 265.0, 265.0 ] } } , { "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 32.0, 295.0, 169.0, 23.0 ], - "text" : "fluid.dataset~ grid.help.data" + "args" : [ "grid" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-75", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.learn.maxpat", + "numinlets" : 0, + "numoutlets" : 0, + "offset" : [ -10.0, -8.0 ], + "patching_rect" : [ 390.0, 10.0, 240.0, 95.0 ], + "viewvisibility" : 1 } } @@ -4594,144 +3270,107 @@ "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 582.335571000000073, 185.968216000000012 ] - } - - } -, { - "box" : { - "attr" : "axis", - "id" : "obj-1", - "maxclass" : "attrui", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 348.0, 353.0, 195.0, 23.0 ] + "patching_rect" : [ 10.0, 10.0, 370.0, 100.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-71", 0 ], - "midpoints" : [ 357.5, 380.0, 281.0, 380.0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-113", 0 ], - "source" : [ "obj-112", 0 ] + "destination" : [ "obj-112", 0 ], + "midpoints" : [ 39.5, 378.0, 39.5, 378.0 ], + "source" : [ "obj-108", 0 ] } } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-1", 1 ], + "source" : [ "obj-110", 0 ] } } , { "patchline" : { - "destination" : [ "obj-22", 0 ], - "midpoints" : [ 113.0, 263.984107999999992, 41.5, 263.984107999999992 ], - "source" : [ "obj-15", 1 ] + "destination" : [ "obj-16", 1 ], + "source" : [ "obj-111", 0 ] } } , { "patchline" : { - "destination" : [ "obj-67", 1 ], - "source" : [ "obj-15", 2 ] + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 19.5, 339.0, 19.5, 339.0 ], + "order" : 1, + "source" : [ "obj-18", 0 ] } } , { "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-15", 0 ] + "destination" : [ "obj-108", 0 ], + "midpoints" : [ 19.5, 348.0, 39.5, 348.0 ], + "order" : 0, + "source" : [ "obj-18", 0 ] } } , { "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-22", 0 ] + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-19", 0 ] } } , { "patchline" : { - "destination" : [ "obj-113", 0 ], - "source" : [ "obj-23", 0 ] + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-20", 2 ] } } , { "patchline" : { - "destination" : [ "obj-113", 0 ], - "source" : [ "obj-31", 0 ] + "destination" : [ "obj-69", 0 ], + "midpoints" : [ 19.5, 225.0, 19.5, 225.0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-71", 0 ], - "midpoints" : [ 357.5, 410.0, 341.25, 410.0, 341.25, 380.0, 281.0, 380.0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-20", 1 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-67", 0 ] + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-74", 0 ], - "source" : [ "obj-68", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-70", 0 ], - "source" : [ "obj-69", 0 ] + "destination" : [ "obj-18", 0 ], + "midpoints" : [ 182.5, 309.0, 19.5, 309.0 ], + "source" : [ "obj-69", 2 ] } } , { "patchline" : { "destination" : [ "obj-69", 0 ], - "source" : [ "obj-71", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-74", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "midpoints" : [ 277.171142000000145, 585.0, 256.0, 585.0, 256.0, 381.0, 281.0, 381.0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "midpoints" : [ 277.171142000000145, 710.0, 244.0, 710.0, 244.0, 381.0, 281.0, 381.0 ], - "source" : [ "obj-81", 0 ] + "midpoints" : [ 113.0, 266.0, 19.5, 266.0 ], + "source" : [ "obj-7", 0 ] } } @@ -4739,9 +3378,9 @@ "styles" : [ { "name" : "max6box", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -4759,7 +3398,6 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { "type" : "gradient", "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], @@ -4769,7 +3407,8 @@ "proportion" : 0.39, "autogradient" : 0 } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", @@ -4787,7 +3426,7 @@ ] } , - "patching_rect" : [ 10.0, 85.0, 50.0, 22.0 ], + "patching_rect" : [ 10.0, 10.0, 55.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -4797,7 +3436,7 @@ } , "text" : "p basic", - "varname" : "basic_tab" + "varname" : "basic_tab[1]" } } @@ -4811,22 +3450,22 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 2, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 773.0, 715.0 ], + "rect" : [ 0.0, 26.0, 994.0, 753.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -4867,36 +3506,42 @@ ], "lines" : [ ], "dependency_cache" : [ { - "name" : "helpdetails.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", + "name" : "fluid.dataloader.maxpat", + "bootpath" : "~/dev/flucoma/max/patchers", + "patcherrelativepath" : "../patchers", + "type" : "JSON", "implicit" : 1 } , { - "name" : "helpstarter.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", + "name" : "fluid.flucomaorg.maxpat", + "bootpath" : "~/dev/flucoma/max/help", + "patcherrelativepath" : ".", + "type" : "JSON", "implicit" : 1 } , { - "name" : "fluid.libmanipulation.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.libmanipulation.mxo", - "type" : "iLaX" + "name" : "fluid.learn.maxpat", + "bootpath" : "~/dev/flucoma/max/help", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 } , { "name" : "fluid.libmanipulation.mxo", "type" : "iLaX" } , { - "name" : "fluid.libmanipulation.mxo", - "type" : "iLaX" + "name" : "fluid.plotter.js", + "bootpath" : "~/dev/flucoma/max/jsui", + "patcherrelativepath" : "../jsui", + "type" : "TEXT", + "implicit" : 1 } , { - "name" : "fluid.libmanipulation.mxo", - "type" : "iLaX" + "name" : "helpdetails.js", + "bootpath" : "C74:/help/resources", + "type" : "TEXT", + "implicit" : 1 } ], "autosave" : 0 diff --git a/help/fluid.learn.maxpat b/help/fluid.learn.maxpat index de0413b15..768df9de3 100644 --- a/help/fluid.learn.maxpat +++ b/help/fluid.learn.maxpat @@ -4,7 +4,7 @@ "appversion" : { "major" : 8, "minor" : 2, - "revision" : 0, + "revision" : 2, "architecture" : "x64", "modernui" : 1 } @@ -45,7 +45,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 185.0, 72.0, 22.0 ], + "patching_rect" : [ 230.0, 127.0, 72.0, 22.0 ], "text" : "prepend set" } @@ -57,7 +57,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 150.0, 54.0, 22.0 ], + "patching_rect" : [ 230.0, 92.0, 54.0, 22.0 ], "text" : "deferlow" } @@ -168,7 +168,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 18.0, 113.0, 286.0, 22.0 ], + "patching_rect" : [ 230.0, 55.0, 286.0, 22.0 ], "text" : "combine learn.flucoma.org/reference/ s @triggers -1" } @@ -218,9 +218,10 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 18.0, 220.0, 221.0, 24.0 ], + "patching_rect" : [ 230.0, 162.0, 221.0, 24.0 ], "presentation" : 1, "presentation_rect" : [ 10.0, 25.0, 410.0, 24.0 ], + "text" : "learn.flucoma.org/reference/grid", "textcolor" : [ 0.32156862745098, 0.549019607843137, 0.792156862745098, 1.0 ] } @@ -301,8 +302,8 @@ "name" : "max6box", "default" : { "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ] + "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "", @@ -320,7 +321,6 @@ , { "name" : "max6message", "default" : { - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], "bgfillcolor" : { "type" : "gradient", "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], @@ -330,7 +330,8 @@ "proportion" : 0.39, "autogradient" : 0 } - +, + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , "parentstyle" : "max6box", diff --git a/patchers/fluid.dataloader.maxpat b/patchers/fluid.dataloader.maxpat index 96617ee3c..8a0e681ed 100644 --- a/patchers/fluid.dataloader.maxpat +++ b/patchers/fluid.dataloader.maxpat @@ -12,7 +12,7 @@ "classnamespace" : "box", "rect" : [ 204.0, 323.0, 640.0, 480.0 ], "bglocked" : 0, - "openinpresentation" : 0, + "openinpresentation" : 1, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", @@ -39,13 +39,37 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 37.0, 54.0, 22.0 ], + "text" : "deferlow" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 9.0, 70.0, 22.0 ], + "text" : "loadmess 0" + } + + } +, { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 253.0, 168.0, 92.0, 22.0 ], + "patching_rect" : [ 255.0, 234.0, 92.0, 22.0 ], "text" : "combine s .json" } @@ -54,11 +78,11 @@ "box" : { "comment" : "", "id" : "obj-17", - "index" : 0, + "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 253.0, 221.0, 30.0, 30.0 ] + "patching_rect" : [ 255.0, 287.0, 30.0, 30.0 ] } } @@ -69,7 +93,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 69.333333333333314, 168.0, 72.0, 22.0 ], + "patching_rect" : [ 71.333333333333314, 234.0, 72.0, 22.0 ], "text" : "prepend set" } @@ -77,15 +101,15 @@ , { "box" : { "id" : "obj-15", - "linecount" : 3, + "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 69.333333333333314, 211.0, 150.0, 47.0 ], + "patching_rect" : [ 71.333333333333314, 277.0, 150.0, 33.0 ], "presentation" : 1, "presentation_linecount" : 2, "presentation_rect" : [ 2.0, 28.0, 166.0, 33.0 ], - "text" : "Four gaussian evenly distributed gaussian masses", + "text" : "Two overlapping crescent shapes", "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] } @@ -97,7 +121,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 33.333333333333329, 131.0, 55.0, 22.0 ], + "patching_rect" : [ 35.333333333333329, 197.0, 55.0, 22.0 ], "text" : "zl.slice 1" } @@ -109,7 +133,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 10.0, 59.0, 42.0, 22.0 ], + "patching_rect" : [ 12.0, 125.0, 42.0, 22.0 ], "text" : "get $1" } @@ -129,7 +153,7 @@ "numinlets" : 2, "numoutlets" : 4, "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 10.0, 93.0, 89.0, 22.0 ], + "patching_rect" : [ 12.0, 159.0, 89.0, 22.0 ], "saved_object_attributes" : { "embed" : 1, "parameter_enable" : 0, @@ -149,7 +173,7 @@ "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 10.0, 12.0, 100.0, 22.0 ], + "patching_rect" : [ 12.0, 78.0, 100.0, 22.0 ], "presentation" : 1, "presentation_rect" : [ 2.0, 2.0, 166.0, 22.0 ] } @@ -157,6 +181,13 @@ } ], "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { "patchline" : { "destination" : [ "obj-16", 0 ], "source" : [ "obj-12", 1 ] @@ -180,7 +211,7 @@ , { "patchline" : { "destination" : [ "obj-18", 0 ], - "midpoints" : [ 60.0, 45.0, 262.5, 45.0 ], + "midpoints" : [ 62.0, 111.0, 264.5, 111.0 ], "source" : [ "obj-2", 1 ] } @@ -188,10 +219,17 @@ , { "patchline" : { "destination" : [ "obj-9", 0 ], - "midpoints" : [ 19.5, 36.0, 19.5, 36.0 ], + "midpoints" : [ 21.5, 102.0, 21.5, 102.0 ], "source" : [ "obj-2", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-3", 0 ] + } + } , { "patchline" : { @@ -207,9 +245,7 @@ } } - ], - "dependency_cache" : [ ], - "autosave" : 0 + ] } }