From 7061a3ed9c2d8268302180c21e99a8224db6c77e Mon Sep 17 00:00:00 2001 From: tfl Date: Thu, 21 Sep 2023 15:20:51 +0200 Subject: [PATCH] Fully working jit.cubehelix, jit.cubehelix.ui, and jit.cubehelix helpfile --- cubehelixui-default.json | 104 + jit.cubehelix.helper.maxpat | 3702 ----------------- jit.cubehelix.maxhelp | 2041 +++++++++ jit.cubehelix.maxpat | 1827 ++++---- jit.cubehelix.ui.maxpat | 3532 ++++++++++++++++ Cubehelix.js => old/Cubehelix.js | 0 Cubehelix.maxpat => old/Cubehelix.maxpat | 0 .../Cubehelix_example.maxpat | 0 .../jit.cubehelix_old.maxpat | 0 9 files changed, 6807 insertions(+), 4399 deletions(-) create mode 100644 cubehelixui-default.json delete mode 100644 jit.cubehelix.helper.maxpat create mode 100644 jit.cubehelix.maxhelp create mode 100644 jit.cubehelix.ui.maxpat rename Cubehelix.js => old/Cubehelix.js (100%) rename Cubehelix.maxpat => old/Cubehelix.maxpat (100%) rename Cubehelix_example.maxpat => old/Cubehelix_example.maxpat (100%) rename jit.cubehelix - Copie.maxpat => old/jit.cubehelix_old.maxpat (100%) diff --git a/cubehelixui-default.json b/cubehelixui-default.json new file mode 100644 index 0000000..fa77cf5 --- /dev/null +++ b/cubehelixui-default.json @@ -0,0 +1,104 @@ +{ + "pattrstorage" : { + "name" : "#0-cubehelixui", + "slots" : { + "1" : { + "id" : 1, + "data" : { + "alpha_last" : [ 0.0 ], + "colormodeoutput" : [ 0.0 ], + "dim" : [ 128 ], + "e_h" : [ -0.666666, 0, 1, 0 ], + "e_l" : [ 1, 0, 1, 0 ], + "e_s" : [ 0.5, 0, 1, 0 ], + "flip" : [ 0.0 ], + "gamma" : [ 1, 0.166666666666667, 0.5, 0 ], + "listoutput" : [ 0.0 ], + "s_h" : [ 0.888888, 0, 1, 0 ], + "s_l" : [ 0, 0, 1, 0 ], + "s_s" : [ 0.619999999999999, 0, 1, 0 ] + } + + } +, + "2" : { + "id" : 2, + "data" : { + "alpha_last" : [ 0.0 ], + "colormodeoutput" : [ 0.0 ], + "dim" : [ 128 ], + "e_h" : [ 0.165999999999999, 0, 1, 0 ], + "e_l" : [ 1, 0, 1, 0 ], + "e_s" : [ 0.5, 0, 1, 0 ], + "flip" : [ 0.0 ], + "gamma" : [ 1, 0.166666666666667, 0.5, 0 ], + "listoutput" : [ 0.0 ], + "s_h" : [ -0.611112000000001, 0, 1, 0 ], + "s_l" : [ 0, 0, 1, 0 ], + "s_s" : [ 0.619999999999999, 0, 1, 0 ] + } + + } +, + "3" : { + "id" : 3, + "data" : { + "alpha_last" : [ 0.0 ], + "colormodeoutput" : [ 0.0 ], + "dim" : [ 128 ], + "e_h" : [ 0.193999999999999, 0.465, 0.715, 0 ], + "e_l" : [ 0.8, 0, 1, 1 ], + "e_s" : [ 1.500000000000001, 0, 1, 1 ], + "flip" : [ 0.0 ], + "gamma" : [ 1, 0.166666666666667, 0.5, 1 ], + "listoutput" : [ 0.0 ], + "s_h" : [ 0.75, 0.765, 1, 0 ], + "s_l" : [ 0.35, 0, 1, 1 ], + "s_s" : [ 0.748, 0, 1, 1 ] + } + + } +, + "4" : { + "id" : 4, + "data" : { + "alpha_last" : [ 0.0 ], + "colormodeoutput" : [ 0.0 ], + "dim" : [ 128 ], + "e_h" : [ 0.265999999999999, 0.52, 0.74, 0 ], + "e_l" : [ 1, 0, 1, 1 ], + "e_s" : [ 0.6, 0, 1, 1 ], + "flip" : [ 0.0 ], + "gamma" : [ 1, 0.166666666666667, 0.5, 1 ], + "listoutput" : [ 0.0 ], + "s_h" : [ 0.766, 0.76, 1, 0 ], + "s_l" : [ 0, 0, 1, 1 ], + "s_s" : [ 0.6, 0, 1, 1 ] + } + + } +, + "5" : { + "id" : 5, + "data" : { + "alpha_last" : [ 0.0 ], + "colormodeoutput" : [ 0.0 ], + "dim" : [ 128 ], + "e_h" : [ 0.163999999999999, 0.465, 0.715, 0 ], + "e_l" : [ 1, 0, 1, 1 ], + "e_s" : [ 0.6, 0, 1, 1 ], + "flip" : [ 0.0 ], + "gamma" : [ 1, 0.166666666666667, 0.5, 1 ], + "listoutput" : [ 0.0 ], + "s_h" : [ -0.332000000000001, 0.225, 0.46, 0 ], + "s_l" : [ 0, 0, 1, 1 ], + "s_s" : [ 0.6, 0, 1, 1 ] + } + + } + + } + + } + +} diff --git a/jit.cubehelix.helper.maxpat b/jit.cubehelix.helper.maxpat deleted file mode 100644 index 4cd01d4..0000000 --- a/jit.cubehelix.helper.maxpat +++ /dev/null @@ -1,3702 +0,0 @@ -{ - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 42.0, 91.0, 1059.0, 917.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" : { - "format" : 6, - "id" : "obj-68", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 1008.0, 940.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 157.0, 1165.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-43", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 905.0, 861.5, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-76", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 809.0, 986.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-45", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 980.392822000000024, 986.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-47", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 757.0, 986.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-69", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 924.0, 986.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-48", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 701.977272727272748, 986.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-66", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 670.727272727272748, 1019.0, 147.0, 22.0 ], - "text" : "pak color_start 0. 0.5 0. 1." - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-64", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 866.977272727272748, 986.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-49", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 835.727272727272748, 1019.0, 144.0, 22.0 ], - "text" : "pak color_end 0. 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 762.0, 936.0, 121.0, 22.0 ], - "text" : "color_end 0. 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 757.0, 910.0, 131.0, 22.0 ], - "text" : "color_start 0.5 0.5 0. 1." - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 590.0, 936.0, 165.0, 22.0 ], - "text" : "color_end -1.333333 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-51", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 590.0, 968.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 590.0, 910.0, 165.0, 22.0 ], - "text" : "color_start 0.166666 0.5 0. 1." - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 361.0, 699.0, 66.0, 22.0 ], - "text" : "- 3.141593" - } - - } -, { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 914.5, 901.0, 69.0, 22.0 ], - "text" : "+ 0.523599" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 361.0, 736.0, 66.0, 22.0 ], - "text" : "- 1.570796" - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 543.392822000000024, 861.5, 71.0, 22.0 ], - "text" : "prepend flip" - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 621.392822000000024, 861.5, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 304.642822000000024, 635.0, 29.5, 22.0 ], - "text" : "/ 3." - } - - } -, { - "box" : { - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 517.75, 835.0, 145.0, 22.0 ], - "text" : "prepend colormodeoutput" - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 502.226196000000073, 807.0, 104.0, 22.0 ], - "text" : "prepend listoutput" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 425.892822000000024, 615.0, 50.0, 22.0 ], - "text" : "pack i 1" - } - - } -, { - "box" : { - "id" : "obj-30", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 60.25, 901.0, 443.0, 73.0 ], - "sync" : 1 - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 482.392822000000024, 773.0, 96.0, 22.0 ], - "text" : "prepend gamma" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 456.392822000000024, 715.0, 96.0, 22.0 ], - "text" : "prepend rotation" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 445.392822000000024, 687.0, 79.0, 22.0 ], - "text" : "prepend start" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 464.392822000000024, 742.0, 109.0, 22.0 ], - "text" : "prepend saturation" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 425.892822000000024, 655.0, 75.0, 22.0 ], - "text" : "prepend dim" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 395.392822000000024, 853.0, 71.0, 22.0 ], - "text" : "jit.cubehelix" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 6, - "outlettype" : [ "float", "float", "float", "float", "int", "float" ], - "patching_rect" : [ 685.25, 578.0, 89.0, 22.0 ], - "text" : "unpack f f f f i f" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 673.75, 544.0, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 833.726195999999959, 336.5, 43.0, 22.0 ], - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 833.726195999999959, 305.5, 55.0, 22.0 ], - "text" : "clip 0. 3." - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 793.726195999999959, 258.5, 59.0, 22.0 ], - "text" : "split 0. 3." - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 575.0, 4.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1257.726439999999911, 139.0, 49.0, 22.0 ], - "text" : "clip 0 1" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1180.39306600000009, 139.0, 49.0, 22.0 ], - "text" : "clip 0 1" - } - - } -, { - "box" : { - "comment" : "If \"listenable 1\", outputs all colors as lists (in RGB or HSL depending on hslmode)", - "id" : "obj-5", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 336.0, 1379.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 242.75, 825.0, 78.0, 22.0 ], - "text" : "listenable $1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 340.392822000000024, 57.0, 56.0, 22.0 ], - "text" : "deferlow" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 340.392822000000024, 35.5, 72.0, 22.0 ], - "text" : "loadmess 1" - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-198", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 340.392822000000024, 14.0, 54.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 241.0, -0.25, 54.0, 20.0 ], - "text" : "Presets", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "active1" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "bubblesize" : 10, - "emptycolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "id" : "obj-197", - "maxclass" : "preset", - "numinlets" : 1, - "numoutlets" : 5, - "outlettype" : [ "preset", "int", "preset", "int", "" ], - "patching_rect" : [ 296.392822000000024, 14.0, 39.0, 65.0 ], - "presentation" : 1, - "presentation_rect" : [ 247.5, 17.25, 38.0, 68.5 ], - "preset_data" : [ { - "number" : 1, - "data" : [ 5, "obj-176", "slider", "float", 4.0, 5, "obj-8", "slider", "float", 1.0, 5, "obj-104", "live.tab", "float", 2.0, 5, "obj-107", "slider", "float", 1.0, 5, "obj-109", "flonum", "float", 1.0, 5, "obj-111", "flonum", "float", 1.0, 5, "obj-116", "toggle", "int", 0, 5, "obj-133", "live.tab", "float", 1.0, 5, "obj-132", "slider", "float", 1.0, 5, "obj-137", "flonum", "float", 1.0, 5, "obj-141", "live.tab", "float", 1.0, 5, "obj-140", "slider", "float", 1.0, 5, "obj-138", "flonum", "float", 1.0, 5, "obj-142", "tab", "int", -1, 5, "obj-15", "toggle", "int", 0, 5, "obj-23", "number", "int", 128 ] - } -, { - "number" : 2, - "data" : [ 5, "obj-176", "slider", "float", 4.0, 5, "obj-8", "slider", "float", 0.0, 5, "obj-104", "live.tab", "float", 2.0, 5, "obj-107", "slider", "float", 0.0, 5, "obj-109", "flonum", "float", 0.0, 5, "obj-111", "flonum", "float", 0.0, 5, "obj-116", "toggle", "int", 0, 5, "obj-133", "live.tab", "float", 1.0, 5, "obj-132", "slider", "float", 1.0, 5, "obj-137", "flonum", "float", 1.0, 5, "obj-141", "live.tab", "float", 1.0, 5, "obj-140", "slider", "float", 1.0, 5, "obj-138", "flonum", "float", 1.0, 5, "obj-142", "tab", "int", -1, 5, "obj-15", "toggle", "int", 0, 5, "obj-23", "number", "int", 128 ] - } -, { - "number" : 8, - "data" : [ 5, "obj-176", "slider", "float", 0.0, 5, "obj-8", "slider", "float", 1.55, 5, "obj-104", "live.tab", "float", 3.0, 5, "obj-107", "slider", "float", 1.5, 5, "obj-109", "flonum", "float", 1.55, 5, "obj-111", "flonum", "float", 1.5, 5, "obj-116", "toggle", "int", 0, 5, "obj-133", "live.tab", "float", 2.0, 5, "obj-132", "slider", "float", 1.5, 5, "obj-137", "flonum", "float", 1.5, 5, "obj-141", "live.tab", "float", 0.0, 5, "obj-140", "slider", "float", 0.6, 5, "obj-138", "flonum", "float", 0.6, 5, "obj-142", "tab", "int", -1, 5, "obj-15", "toggle", "int", 0, 5, "obj-23", "number", "int", 5 ] - } - ], - "stored1" : [ 0.792308, 0.64636, 0.886275, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-196", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 741.25, 649.0, 20.0, 22.0 ], - "text" : "t i" - } - - } -, { - "box" : { - "id" : "obj-195", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 91.392821999999995, 169.0, 40.0, 22.0 ], - "text" : "t i i i" - } - - } -, { - "box" : { - "id" : "obj-178", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 911.059447999999975, 336.5, 43.0, 22.0 ], - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-179", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 911.059447999999975, 305.5, 55.0, 22.0 ], - "text" : "clip 0. 4." - } - - } -, { - "box" : { - "id" : "obj-175", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 988.392822000000024, 336.5, 43.0, 22.0 ], - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-177", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 988.392822000000024, 305.5, 55.0, 22.0 ], - "text" : "clip 0. 2." - } - - } -, { - "box" : { - "id" : "obj-174", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1065.726317999999992, 336.5, 43.0, 22.0 ], - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-165", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1065.726317999999992, 305.5, 55.0, 22.0 ], - "text" : "clip 0. 2." - } - - } -, { - "box" : { - "id" : "obj-164", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 1025.726317999999992, 258.5, 59.0, 22.0 ], - "text" : "split 0. 2." - } - - } -, { - "box" : { - "id" : "obj-161", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 948.392822000000024, 258.5, 59.0, 22.0 ], - "text" : "split 0. 2." - } - - } -, { - "box" : { - "id" : "obj-157", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 871.059447999999975, 258.5, 59.0, 22.0 ], - "text" : "split 0. 4." - } - - } -, { - "box" : { - "id" : "obj-155", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 793.726195999999959, 227.0, 35.0, 22.0 ], - "text" : "% 3." - } - - } -, { - "box" : { - "id" : "obj-149", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 716.392822000000024, 143.0, 29.5, 22.0 ], - "text" : "i" - } - - } -, { - "box" : { - "id" : "obj-146", - "maxclass" : "newobj", - "numinlets" : 9, - "numoutlets" : 9, - "outlettype" : [ "", "", "", "", "", "", "", "", "" ], - "patching_rect" : [ 716.392822000000024, 103.0, 637.66699200000005, 22.0 ], - "text" : "route steps startcolor rotations hue gamma flip hslmode listmode" - } - - } -, { - "box" : { - "id" : "obj-119", - "maxclass" : "newobj", - "numinlets" : 7, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 63.25, 761.0, 209.0, 22.0 ], - "text" : "pak makeCubehelix 1. 1.5 1. 1. 128 0" - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1180.39306600000009, 258.5, 93.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 32.0, 266.25, 93.0, 20.0 ], - "text" : "Output modes", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "activebgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "activetextoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], - "focusbordercolor" : [ 0.0, 0.019608, 0.078431, 0.0 ], - "id" : "obj-1", - "maxclass" : "live.text", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 1, - "patching_rect" : [ 1257.726439999999911, 305.5, 67.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 194.0, 263.75, 67.0, 25.0 ], - "saved_attribute_attributes" : { - "activebgcolor" : { - "expression" : "" - } -, - "activebgoncolor" : { - "expression" : "" - } -, - "activetextoncolor" : { - "expression" : "" - } -, - "bordercolor" : { - "expression" : "" - } -, - "focusbordercolor" : { - "expression" : "" - } -, - "valueof" : { - "parameter_enum" : [ "val1", "val2" ], - "parameter_longname" : "live.text[2]", - "parameter_mmax" : 1, - "parameter_shortname" : "live.text[1]", - "parameter_type" : 2 - } - - } -, - "text" : "Matrix", - "texton" : "Matrix+List", - "varname" : "live.text[2]" - } - - } -, { - "box" : { - "fontface" : 1, - "fontsize" : 30.0, - "id" : "obj-150", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 91.392821999999995, 8.0, 158.0, 41.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, -0.25, 152.0, 41.0 ], - "text" : "Cubehelix", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-147", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 716.392822000000024, 222.0, 76.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, -0.25, 76.0, 20.0 ], - "text" : "Randomize", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-144", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 716.392822000000024, 247.5, 29.0, 29.0 ], - "presentation" : 1, - "presentation_rect" : [ 168.5, 17.25, 51.0, 51.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-136", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 604.392822000000024, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 180.5, 15.0, 15.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-127", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 456.392822000000024, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 180.5, 15.0, 15.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-126", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 308.392822000000024, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 94.5, 15.0, 15.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-110", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 152.892821999999995, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 94.5, 15.0, 15.0 ] - } - - } -, { - "box" : { - "id" : "obj-103", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 604.392822000000024, 364.0, 41.0, 22.0 ], - "text" : "/ 100." - } - - } -, { - "box" : { - "id" : "obj-105", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 604.392822000000024, 333.0, 75.0, 22.0 ], - "text" : "random 201" - } - - } -, { - "box" : { - "id" : "obj-99", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 456.392822000000024, 364.0, 41.0, 22.0 ], - "text" : "/ 100." - } - - } -, { - "box" : { - "id" : "obj-102", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 456.392822000000024, 333.0, 75.0, 22.0 ], - "text" : "random 201" - } - - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 308.392822000000024, 364.0, 41.0, 22.0 ], - "text" : "/ 100." - } - - } -, { - "box" : { - "id" : "obj-97", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 308.392822000000024, 333.0, 75.0, 22.0 ], - "text" : "random 401" - } - - } -, { - "box" : { - "id" : "obj-59", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 152.392821999999995, 364.0, 41.0, 22.0 ], - "text" : "/ 100." - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 152.392821999999995, 333.0, 75.0, 22.0 ], - "text" : "random 301" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392821999999995, 135.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 9.392822000000001, 203.0, 65.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 95.0, 92.0, 30.0, 20.0 ], - "text" : "Flip", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "checkedcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-15", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 9.392822000000001, 227.0, 26.0, 26.0 ], - "presentation" : 1, - "presentation_rect" : [ 116.0, 89.0, 26.0, 26.0 ], - "uncheckedcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } - - } -, { - "box" : { - "button" : 1, - "contrastactivetab" : 0, - "htabcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-142", - "margin" : 0, - "maxclass" : "tab", - "mode" : 1, - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392821999999995, 90.0, 156.0, 27.5 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 53.0, 137.0, 27.5 ], - "rounded" : 0.0, - "segmented" : 1, - "spacing_x" : 2.0, - "tabcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "tabs" : [ "5", "12", "64", "128", "360" ], - "textcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-143", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 91.392821999999995, 68.0, 44.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 37.0, 44.0, 20.0 ], - "text" : "Steps", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-138", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 543.392822000000024, 549.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-139", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 547.392822000000024, 203.0, 53.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 175.5, 178.0, 55.0, 20.0 ], - "text" : "Gamma", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "floatoutput" : 1, - "id" : "obj-140", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 543.392822000000024, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 228.0, 136.0, 18.0 ], - "size" : 2.0 - } - - } -, { - "box" : { - "activebgcolor" : [ 0.855331, 0.80356, 0.887513, 1.0 ], - "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "bgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], - "button" : 1, - "id" : "obj-141", - "maxclass" : "live.tab", - "multiline" : 0, - "num_lines_patching" : 1, - "num_lines_presentation" : 1, - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "float" ], - "parameter_enable" : 1, - "patching_rect" : [ 543.392822000000024, 227.0, 137.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 202.0, 137.0, 22.0 ], - "saved_attribute_attributes" : { - "activebgcolor" : { - "expression" : "" - } -, - "activebgoncolor" : { - "expression" : "" - } -, - "bgcolor" : { - "expression" : "" - } -, - "bordercolor" : { - "expression" : "" - } -, - "textoncolor" : { - "expression" : "" - } -, - "valueof" : { - "parameter_enum" : [ "0.6", "1.", "1.4" ], - "parameter_longname" : "live.tab[2]", - "parameter_mmax" : 2, - "parameter_shortname" : "live.tab", - "parameter_type" : 2, - "parameter_unitstyle" : 9 - } - - } -, - "spacing_x" : 3.0, - "spacing_y" : 3.0, - "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "varname" : "live.tab[2]" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-137", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 395.392822000000024, 549.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-131", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 399.392822000000024, 203.0, 75.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 21.0, 178.0, 68.0, 20.0 ], - "text" : "Saturation", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "floatoutput" : 1, - "id" : "obj-132", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 395.392822000000024, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 228.0, 136.0, 18.0 ], - "size" : 2.0 - } - - } -, { - "box" : { - "activebgcolor" : [ 0.855331, 0.80356, 0.887513, 1.0 ], - "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "bgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], - "button" : 1, - "id" : "obj-133", - "maxclass" : "live.tab", - "multiline" : 0, - "num_lines_patching" : 1, - "num_lines_presentation" : 1, - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "float" ], - "parameter_enable" : 1, - "patching_rect" : [ 395.392822000000024, 227.0, 137.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 202.0, 137.0, 22.0 ], - "saved_attribute_attributes" : { - "activebgcolor" : { - "expression" : "" - } -, - "activebgoncolor" : { - "expression" : "" - } -, - "bgcolor" : { - "expression" : "" - } -, - "bordercolor" : { - "expression" : "" - } -, - "textoncolor" : { - "expression" : "" - } -, - "valueof" : { - "parameter_enum" : [ "0.5", "1.", "1.5" ], - "parameter_longname" : "live.tab[1]", - "parameter_mmax" : 2, - "parameter_shortname" : "live.tab", - "parameter_type" : 2, - "parameter_unitstyle" : 9 - } - - } -, - "spacing_x" : 3.0, - "spacing_y" : 3.0, - "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "varname" : "live.tab[1]" - } - - } -, { - "box" : { - "id" : "obj-129", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 247.392821999999995, 479.0, 30.0, 22.0 ], - "text" : "t b i" - } - - } -, { - "box" : { - "id" : "obj-128", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 247.892821999999995, 511.5, 29.5, 22.0 ], - "text" : "* 1." - } - - } -, { - "box" : { - "id" : "obj-121", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 286.392822000000024, 449.0, 97.0, 22.0 ], - "text" : "expr 1 - ($i1 * 2)" - } - - } -, { - "box" : { - "id" : "obj-120", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 325.392822000000024, 201.0, 30.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 251.5, 92.0, 30.0, 20.0 ], - "text" : "Flip", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "checkedcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-116", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 360.392822000000024, 199.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 271.5, 90.0, 24.0, 24.0 ], - "uncheckedcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-114", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 251.392821999999995, 203.0, 71.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 175.5, 92.0, 71.0, 20.0 ], - "text" : "Rotations", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-113", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 91.392821999999995, 203.0, 72.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 15.5, 92.0, 72.0, 20.0 ], - "text" : "Start color", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-111", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 247.892821999999995, 549.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-109", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392821999999995, 544.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "floatoutput" : 1, - "id" : "obj-107", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 247.392821999999995, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 141.0, 136.0, 18.0 ], - "size" : 4.0 - } - - } -, { - "box" : { - "activebgcolor" : [ 0.855331, 0.80356, 0.887513, 1.0 ], - "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "bgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], - "button" : 1, - "id" : "obj-104", - "maxclass" : "live.tab", - "multiline" : 0, - "num_lines_patching" : 1, - "num_lines_presentation" : 1, - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "float" ], - "parameter_enable" : 1, - "patching_rect" : [ 247.392821999999995, 227.0, 137.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 115.0, 137.0, 22.0 ], - "saved_attribute_attributes" : { - "activebgcolor" : { - "expression" : "" - } -, - "activebgoncolor" : { - "expression" : "" - } -, - "bgcolor" : { - "expression" : "" - } -, - "bordercolor" : { - "expression" : "" - } -, - "textoncolor" : { - "expression" : "" - } -, - "valueof" : { - "parameter_enum" : [ "0.", "0.5", "1.", "1.5", "2." ], - "parameter_longname" : "live.tab", - "parameter_mmax" : 4, - "parameter_shortname" : "live.tab", - "parameter_type" : 2, - "parameter_unitstyle" : 9 - } - - } -, - "spacing_x" : 3.0, - "spacing_y" : 3.0, - "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "varname" : "live.tab" - } - - } -, { - "box" : { - "id" : "obj-101", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 203.392821999999995, 258.5, 29.5, 22.0 ], - "text" : "3" - } - - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 147.392821999999995, 258.5, 29.5, 22.0 ], - "text" : "2" - } - - } -, { - "box" : { - "id" : "obj-94", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 91.392821999999995, 258.5, 29.5, 22.0 ], - "text" : "1" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ], - "id" : "obj-65", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 203.392821999999995, 227.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 116.0, 120.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ], - "id" : "obj-44", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 147.392821999999995, 227.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 60.0, 120.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], - "id" : "obj-41", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392821999999995, 227.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 120.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "floatoutput" : 1, - "id" : "obj-8", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392821999999995, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 146.0, 137.0, 18.0 ], - "size" : 3.0 - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "int" ], - "patching_rect" : [ 622.75, 1282.0, 65.0, 22.0 ], - "text" : "unpack s i" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 622.75, 1248.0, 57.0, 22.0 ], - "text" : "zl slice 2" - } - - } -, { - "box" : { - "id" : "obj-89", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 554.75, 1216.0, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-90", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 592.75, 1305.0, 30.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-95", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 592.75, 1346.0, 107.0, 22.0 ], - "text" : "pack hslcolor i f f f" - } - - } -, { - "box" : { - "id" : "obj-96", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 554.75, 1248.0, 57.0, 22.0 ], - "text" : "zl.slice 5" - } - - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 212.75, 909.0, 37.0, 20.0 ], - "text" : "HSL" - } - - } -, { - "box" : { - "id" : "obj-81", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 63.25, 909.0, 37.0, 20.0 ], - "text" : "RGB" - } - - } -, { - "box" : { - "comment" : "if \"hslenable 1\", outputs AHSL colors as a matrix", - "id" : "obj-73", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 212.75, 1379.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-63", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 212.75, 937.0, 138.0, 22.0 ], - "text" : "jit.matrix 4 float32 360 1" - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 315.0, 682.0, 29.5, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 160.5, 825.0, 79.0, 22.0 ], - "text" : "hslenable $1" - } - - } -, { - "box" : { - "id" : "obj-92", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 182.25, 1066.5, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-93", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 192.75, 1100.5, 57.0, 22.0 ], - "text" : "zl.slice 5" - } - - } -, { - "box" : { - "id" : "obj-91", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 315.0, 715.0, 40.0, 22.0 ], - "text" : "t b b i" - } - - } -, { - "box" : { - "activebgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "activetextoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], - "focusbordercolor" : [ 0.0, 0.019608, 0.078431, 0.0 ], - "id" : "obj-85", - "maxclass" : "live.text", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 1, - "patching_rect" : [ 1180.39306600000009, 305.5, 59.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 120.0, 263.75, 67.0, 25.0 ], - "saved_attribute_attributes" : { - "activebgcolor" : { - "expression" : "" - } -, - "activebgoncolor" : { - "expression" : "" - } -, - "activetextoncolor" : { - "expression" : "" - } -, - "bordercolor" : { - "expression" : "" - } -, - "focusbordercolor" : { - "expression" : "" - } -, - "valueof" : { - "parameter_enum" : [ "val1", "val2" ], - "parameter_longname" : "live.text[1]", - "parameter_mmax" : 1, - "parameter_shortname" : "live.text[1]", - "parameter_type" : 2 - } - - } -, - "text" : "RGB", - "texton" : "HSL", - "varname" : "live.text[1]" - } - - } -, { - "box" : { - "id" : "obj-71", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 336.0, 901.0, 34.0, 22.0 ], - "text" : "gate" - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "int" ], - "patching_rect" : [ 484.75, 1282.0, 65.0, 22.0 ], - "text" : "unpack s i" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 484.75, 1248.0, 57.0, 22.0 ], - "text" : "zl slice 2" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 416.75, 1216.0, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-82", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 633.25, 682.0, 59.0, 22.0 ], - "text" : "split 0. 1." - } - - } -, { - "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 695.25, 682.0, 65.0, 22.0 ], - "text" : "split 0 360" - } - - } -, { - "box" : { - "id" : "obj-78", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 633.25, 745.5, 29.5, 22.0 ], - "text" : "i" - } - - } -, { - "box" : { - "id" : "obj-77", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 633.25, 651.0, 80.0, 22.0 ], - "text" : "route float int" - } - - } -, { - "box" : { - "id" : "obj-38", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 633.25, 713.0, 29.5, 22.0 ], - "text" : "* 1." - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "newobj", - "numinlets" : 7, - "numoutlets" : 7, - "outlettype" : [ "", "", "", "", "", "", "" ], - "patching_rect" : [ 529.75, 57.0, 307.0, 22.0 ], - "text" : "route bang float getcolor makeCubehelix preset random" - } - - } -, { - "box" : { - "comment" : "Start color [0.-3.]. Bang to output the matrix. getcolor [0.-1. or int]", - "id" : "obj-14", - "index" : 0, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 529.75, 4.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-148", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 107.25, 825.0, 50.0, 22.0 ], - "text" : "compile" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "id" : "obj-176", - "knobcolor" : [ 0.701961, 0.415686, 0.886275, 0.701961 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "orientation" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 633.75, 807.0, 76.0, 11.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 298.75, 295.5, 71.75 ] - } - - } -, { - "box" : { - "id" : "obj-134", - "linecount" : 11, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 826.726317999999992, 1047.0, 291.0, 158.0 ], - "text" : "Cubehelix for Max\nBy Théophile Clet - 2021-05-13\nhttps://tflcl.xyz\n\nOriginal work and js code by Dave Green\nhttp://www.mrao.cam.ac.uk/~dag/CUBEHELIX\n\nGreen, D. A., 2011, `A colour scheme for the display of astronomical intensity images', Bulletin of the Astronomical Society of India, 39, 289.\nhttp://astron-soc.in/bulletin/11June/289392011.pdf" - } - - } -, { - "box" : { - "id" : "obj-130", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 454.75, 1305.0, 30.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-125", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 454.75, 1346.0, 109.0, 22.0 ], - "text" : "pack rgbcolor i f f f" - } - - } -, { - "box" : { - "comment" : "Bangs when generation is done. Also outputs selected color", - "id" : "obj-124", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 454.75, 1379.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "Outputs ARGB colors as a matrix", - "id" : "obj-123", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 60.25, 1379.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-122", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 202.416655999999989, 1126.933716000000004, 104.0, 22.0 ], - "text" : "pak bgfillcolor f f f" - } - - } -, { - "box" : { - "id" : "obj-117", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 718.75, 802.5, 83.0, 20.0 ], - "text" : "Get cell value" - } - - } -, { - "box" : { - "id" : "obj-106", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 633.75, 776.0, 168.0, 22.0 ], - "text" : "setminmax 0 $1, floatoutput 0" - } - - } -, { - "box" : { - "bordercolor" : [ 0.0, 0.0, 0.0, 0.0 ], - "id" : "obj-100", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 63.25, 975.0, 443.0, 74.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 296.5, 294.5, 74.0 ], - "sync" : 1 - } - - } -, { - "box" : { - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 63.25, 937.0, 138.0, 22.0 ], - "text" : "jit.matrix 4 float32 360 1" - } - - } -, { - "box" : { - "bgcolor" : [ 0.665086, 0.106606, 0.136815, 1.0 ], - "color" : [ 0.665086, 0.106606, 0.136815, 1.0 ], - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-223", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 63.25, 853.0, 94.0, 23.0 ], - "saved_object_attributes" : { - "filename" : "Cubehelix.js", - "parameter_enable" : 0 - } -, - "text" : "js Cubehelix.js" - } - - } -, { - "box" : { - "id" : "obj-170", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 416.75, 1248.0, 57.0, 22.0 ], - "text" : "zl.slice 5" - } - - } -, { - "box" : { - "id" : "obj-159", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 633.75, 831.0, 72.0, 22.0 ], - "text" : "getcell $1 0" - } - - } -, { - "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.0, 0.0, 0.0, 0.47 ], - "bordercolor" : [ 0.803922, 0.898039, 0.909804, 0.0 ], - "id" : "obj-151", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 998.726317999999992, 755.5, 128.0, 128.0 ], - "presentation" : 1, - "presentation_rect" : [ 155.5, 86.0, 144.0, 78.0 ], - "proportion" : 0.39, - "rounded" : 10 - } - - } -, { - "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.0, 0.0, 0.0, 0.47 ], - "bordercolor" : [ 0.803922, 0.898039, 0.909804, 0.0 ], - "id" : "obj-152", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1050.726317999999992, 720.0, 128.0, 128.0 ], - "presentation" : 1, - "presentation_rect" : [ 155.5, 173.0, 144.0, 78.0 ], - "proportion" : 0.39, - "rounded" : 10 - } - - } -, { - "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.0, 0.0, 0.0, 0.47 ], - "bordercolor" : [ 0.803922, 0.898039, 0.909804, 0.0 ], - "id" : "obj-153", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 980.392822000000024, 649.0, 128.0, 128.0 ], - "presentation" : 1, - "presentation_rect" : [ 1.0, 173.0, 144.0, 78.0 ], - "proportion" : 0.39, - "rounded" : 10 - } - - } -, { - "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.0, 0.0, 0.0, 0.47 ], - "bordercolor" : [ 0.803922, 0.898039, 0.909804, 0.0 ], - "id" : "obj-154", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 944.392822000000024, 695.0, 128.0, 128.0 ], - "presentation" : 1, - "presentation_rect" : [ 1.0, 89.5, 144.0, 78.0 ], - "proportion" : 0.39, - "rounded" : 10 - } - - } -, { - "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.485280960798264, 0.347368240356445, 0.392448484897614 ], - "id" : "obj-118", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 202.416655999999989, 1153.5, 104.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 365.5, 295.5, 35.0 ], - "proportion" : 0.39 - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "order" : 1, - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-52", 0 ], - "order" : 0, - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-101", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-102", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "source" : [ "obj-103", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-104", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-103", 0 ], - "source" : [ "obj-105", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-106", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 0 ], - "source" : [ "obj-107", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 1 ], - "midpoints" : [ 100.892821999999995, 567.0, 104.416666666666671, 567.0 ], - "order" : 1, - "source" : [ "obj-109", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "order" : 0, - "source" : [ "obj-109", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-110", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 2 ], - "midpoints" : [ 257.392822000000024, 590.0, 136.083333333333343, 590.0 ], - "order" : 1, - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "order" : 0, - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-121", 0 ], - "source" : [ "obj-116", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-119", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-129", 0 ], - "source" : [ "obj-121", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-118", 0 ], - "source" : [ "obj-122", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-125", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-97", 0 ], - "source" : [ "obj-126", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-102", 0 ], - "source" : [ "obj-127", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 0 ], - "source" : [ "obj-128", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 1 ], - "source" : [ "obj-129", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 0 ], - "source" : [ "obj-129", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 2 ], - "source" : [ "obj-130", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 0 ], - "source" : [ "obj-130", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-137", 0 ], - "source" : [ "obj-132", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-133", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-105", 0 ], - "source" : [ "obj-136", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 3 ], - "midpoints" : [ 404.892822000000024, 590.0, 167.75, 590.0 ], - "order" : 1, - "source" : [ "obj-137", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "order" : 0, - "source" : [ "obj-137", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 4 ], - "midpoints" : [ 552.892822000000024, 590.0, 199.416666666666686, 590.0 ], - "order" : 1, - "source" : [ "obj-138", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "order" : 0, - "source" : [ "obj-138", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 0 ], - "source" : [ "obj-140", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "source" : [ "obj-141", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-142", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-110", 0 ], - "midpoints" : [ 725.892822000000024, 290.0, 161.892821999999995, 290.0 ], - "order" : 3, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-126", 0 ], - "midpoints" : [ 725.892822000000024, 290.0, 317.392822000000024, 290.0 ], - "order" : 2, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-127", 0 ], - "midpoints" : [ 725.892822000000024, 290.0, 465.392822000000024, 290.0 ], - "order" : 1, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 0 ], - "midpoints" : [ 725.892822000000024, 290.0, 613.392822000000024, 290.0 ], - "order" : 0, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-149", 0 ], - "source" : [ "obj-146", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 1112.559692000000041, 188.0, 168.392883000000012, 188.0, 168.392883000000012, 224.0, 18.892822000000002, 224.0 ], - "source" : [ "obj-146", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-155", 0 ], - "source" : [ "obj-146", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-157", 0 ], - "source" : [ "obj-146", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-161", 0 ], - "source" : [ "obj-146", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-164", 0 ], - "source" : [ "obj-146", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-146", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-146", 7 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-148", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "midpoints" : [ 725.892822000000024, 168.0, 153.0, 168.0, 153.0, 129.0, 100.892821999999995, 129.0 ], - "source" : [ "obj-149", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 6 ], - "midpoints" : [ 18.892822000000002, 590.0, 262.75, 590.0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-155", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "midpoints" : [ 880.559447999999975, 404.0, 256.892822000000024, 404.0 ], - "source" : [ "obj-157", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 0 ], - "midpoints" : [ 920.559447999999975, 290.0, 768.392882999999983, 290.0, 768.392882999999983, 524.0, 288.392882999999983, 524.0, 288.392882999999983, 545.0, 257.392822000000024, 545.0 ], - "order" : 1, - "source" : [ "obj-157", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-179", 0 ], - "order" : 0, - "source" : [ "obj-157", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 1 ], - "order" : 0, - "source" : [ "obj-159", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "order" : 1, - "source" : [ "obj-159", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "midpoints" : [ 957.892822000000024, 290.0, 768.392882999999983, 290.0, 768.392882999999983, 404.0, 404.892822000000024, 404.0 ], - "source" : [ "obj-161", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-137", 0 ], - "midpoints" : [ 997.892822000000024, 290.0, 768.392882999999983, 290.0, 768.392882999999983, 524.0, 404.892822000000024, 524.0 ], - "order" : 1, - "source" : [ "obj-161", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-177", 0 ], - "order" : 0, - "source" : [ "obj-161", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 0 ], - "midpoints" : [ 1075.226317999999992, 290.0, 768.392882999999983, 290.0, 768.392882999999983, 524.0, 552.892822000000024, 524.0 ], - "order" : 1, - "source" : [ "obj-164", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "midpoints" : [ 1035.226317999999992, 290.0, 768.392882999999983, 290.0, 768.392882999999983, 404.0, 552.892822000000024, 404.0 ], - "source" : [ "obj-164", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-165", 0 ], - "order" : 0, - "source" : [ "obj-164", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-174", 0 ], - "source" : [ "obj-165", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "order" : 1, - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "order" : 0, - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-130", 0 ], - "source" : [ "obj-170", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "midpoints" : [ 1075.226317999999992, 404.0, 552.892822000000024, 404.0 ], - "source" : [ "obj-174", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "midpoints" : [ 997.892822000000024, 404.0, 404.892822000000024, 404.0 ], - "source" : [ "obj-175", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-176", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-175", 0 ], - "source" : [ "obj-177", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "midpoints" : [ 920.559447999999975, 404.0, 256.892822000000024, 404.0 ], - "source" : [ "obj-178", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-178", 0 ], - "source" : [ "obj-179", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 5 ], - "midpoints" : [ 111.392821999999995, 200.0, 78.392882999999998, 200.0, 78.392882999999998, 590.0, 231.083333333333343, 590.0 ], - "order" : 1, - "source" : [ "obj-195", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-196", 0 ], - "source" : [ "obj-195", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-46", 0 ], - "order" : 0, - "source" : [ "obj-195", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-106", 0 ], - "order" : 2, - "source" : [ "obj-196", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 1 ], - "order" : 1, - "source" : [ "obj-196", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 2 ], - "order" : 0, - "source" : [ "obj-196", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 0, - "source" : [ "obj-197", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "order" : 1, - "source" : [ "obj-197", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 1 ], - "midpoints" : [ 683.25, 608.0, 104.416666666666671, 608.0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-223", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-223", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-223", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-223", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-195", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-196", 0 ], - "source" : [ "obj-25", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "midpoints" : [ 539.25, 89.0, 279.0, 89.0, 279.0, 57.0, 72.75, 57.0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "source" : [ "obj-36", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-146", 0 ], - "source" : [ "obj-36", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-157", 0 ], - "midpoints" : [ 587.25, 178.0, 880.559447999999975, 178.0 ], - "source" : [ "obj-36", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-197", 0 ], - "midpoints" : [ 731.25, 90.0, 423.0, 90.0, 423.0, 0.0, 305.892822000000024, 0.0 ], - "source" : [ "obj-36", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-36", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-77", 0 ], - "source" : [ "obj-36", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-38", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 1 ], - "source" : [ "obj-39", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-197", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "source" : [ "obj-41", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "order" : 0, - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "order" : 2, - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-64", 0 ], - "order" : 1, - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 3 ], - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-46", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 2 ], - "source" : [ "obj-47", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 1 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-49", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-51", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-52", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-53", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-56", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-59", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-61", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 0 ], - "source" : [ "obj-62", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-91", 0 ], - "source" : [ "obj-62", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-73", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-89", 0 ], - "source" : [ "obj-63", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 1 ], - "source" : [ "obj-64", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-101", 0 ], - "source" : [ "obj-65", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-66", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "order" : 0, - "source" : [ "obj-68", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-76", 0 ], - "order" : 1, - "source" : [ "obj-68", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-49", 2 ], - "source" : [ "obj-69", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-71", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-75", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 3 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-77", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-77", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-100", 0 ], - "order" : 1, - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-123", 0 ], - "order" : 0, - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-79", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-82", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "order" : 0, - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "order" : 1, - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 1 ], - "source" : [ "obj-86", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-89", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-96", 0 ], - "source" : [ "obj-89", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-170", 0 ], - "source" : [ "obj-9", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-9", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 2 ], - "source" : [ "obj-90", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 0 ], - "source" : [ "obj-90", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "source" : [ "obj-91", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-91", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-93", 0 ], - "source" : [ "obj-92", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-122", 1 ], - "source" : [ "obj-93", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-94", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-95", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-90", 0 ], - "source" : [ "obj-96", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-97", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-98", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-99", 0 ] - } - - } - ], - "parameters" : { - "obj-1" : [ "live.text[2]", "live.text[1]", 0 ], - "obj-104" : [ "live.tab", "live.tab", 0 ], - "obj-133" : [ "live.tab[1]", "live.tab", 0 ], - "obj-141" : [ "live.tab[2]", "live.tab", 0 ], - "obj-85" : [ "live.text[1]", "live.text[1]", 0 ], - "parameterbanks" : { - "0" : { - "index" : 0, - "name" : "", - "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] - } - - } -, - "inherited_shortname" : 1 - } -, - "dependency_cache" : [ { - "name" : "Cubehelix.js", - "bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP", - "patcherrelativepath" : ".", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "jit.cubehelix.maxpat", - "bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP", - "patcherrelativepath" : ".", - "type" : "JSON", - "implicit" : 1 - } - ], - "autosave" : 0, - "bgcolor" : [ 0.610374, 0.77695, 0.906999, 1.0 ], - "editing_bgcolor" : [ 0.547664, 0.726767, 0.884197, 1.0 ] - } - -} diff --git a/jit.cubehelix.maxhelp b/jit.cubehelix.maxhelp new file mode 100644 index 0000000..e899db5 --- /dev/null +++ b/jit.cubehelix.maxhelp @@ -0,0 +1,2041 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 1127.0, 227.0, 751.0, 558.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-41", + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 509.5, 165.0, 124.0, 25.0 ], + "text" : "Read the publication", + "texton" : "", + "truncate" : 0 + } + + } +, { + "box" : { + "id" : "obj-40", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 404.0, 106.0, 335.0, 62.0 ], + "text" : "Cubehelix is originally described in this publication:\nGreen, D. A., 2011, ‘A colour scheme for the display of astronomical intensity images’, Bulletin of the Astronomical Society of India, 39, 289. (2011BASI...39..289G at ADS.) ", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-37", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 455.0, 218.0, 280.0, 62.0 ], + "text" : "When set to 1 (default), the change of any color attribute (color_start, color_end, start, rotation, saturation, gamma, flip) automatically triggers an output. Otherwise, a bang is need.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 404.0, 253.0, 49.0, 22.0 ], + "text" : "auto $1" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 404.0, 218.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-29", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 404.0, 292.0, 331.0, 34.0 ], + "text" : "The two attributes below only affect leftmost (outputs matrices) and rightmost (outputs lists) outlets.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-20", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 182.0, 439.0, 147.0, 34.0 ], + "text" : "2nd outlet always outputs the raw ARGB matrix ", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 70.0, 445.0, 110.0, 22.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 69.0, 245.0, 149.0, 22.0 ], + "text" : "color_end rgb $1 $2 $3 $4" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "jit_matrix" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 107.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 86.0, 126.0, 181.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 166.0, 354.0, 181.0, 22.0 ], + "text" : "setcell 0 0 val $1 $2 $3 $4, bang" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 100.0, 55.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 130.0, 328.0, 55.0, 22.0 ], + "text" : "zl.slice 2" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 86.0, 154.0, 113.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 166.0, 382.0, 113.0, 22.0 ], + "text" : "jit.matrix 4 float32 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 86.0, 236.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-43", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 125.0, 381.0, 61.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p getcolor" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 41.0, 101.0, 161.0, 24.0 ], + "text" : "Bang to output the matrix" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 15.0, 101.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 751.0, 532.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "title" : "History", + "boxes" : [ { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 12.0, 330.0, 54.0, 22.0 ], + "text" : "deferlow" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 12.0, 300.0, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-8", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 169.300000000000011, 136.0, 67.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 169.300000000000011, 109.0, 113.0, 22.0 ], + "text" : "loadmess 0.888889" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-7", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 166.0, 244.0, 67.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 166.0, 217.0, 117.0, 22.0 ], + "text" : "loadmess -0.666666" + } + + } +, { + "box" : { + "id" : "obj-12", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 290.0, 324.0, 427.0, 62.0 ], + "text" : "The 'reset' message resets jit.cubehelix with the attributes typed by the user in the object box. If no custom value is provided for an attribute, it resets to its default value. jit.cubehelix overall default values are meant to outputs the classic cubehelix color scheme.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 217.400000000000034, 324.0, 69.0, 22.0 ], + "text" : "reset, bang" + } + + } +, { + "box" : { + "id" : "obj-37", + "linecount" : 14, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 328.0, 118.0, 391.0, 200.0 ], + "text" : "In the original cubehelix paper, hue starts from blue and is modulo 3, so blue = 0 = 3, red = 1 and green = 2.\n\nIn Max, hue values usually start from red and cover the whole wheel between 0. and 1, and I've made jit.cubehelix to work this way.\n\nThis Implies: to work with start values taken from legacy Cubehelix examples, you need to apply the following formula:\nnew_hue = (old_hue-1)/3\n\nThis way, the original cubehelix example (start of 0.5 and -1.5 rotations) translates here with a start hue of -1/6 ≈ -0.166667 and a end hue of -1/6 - 1.5 ≈ -1.666667, or, when shifted by 1: 5/6 ≈ 0.888888 and -2/3 ≈ -0.666666.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-93", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 12.0, 474.0, 720.0, 50.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "jit_matrix", "jit_matrix", "" ], + "patching_rect" : [ 12.0, 359.0, 244.0, 22.0 ], + "text" : "jit.cubehelix @dim 100 @coloroutputmode 1" + } + + } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 3, + "id" : "obj-32", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 17.0, 243.0, 147.0, 24.0 ], + "text" : "Change end color hue" + } + + } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 3, + "id" : "obj-31", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 17.0, 135.0, 147.0, 24.0 ], + "text" : "Change start color hue" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 108.399999999999977, 280.0, 163.0, 22.0 ], + "text" : "pak color_end hsl 0. 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 110.5, 172.0, 166.0, 22.0 ], + "text" : "pak color_start hsl 0. 0.5 0. 1." + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 40.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 0.0, 367.0, 52.0 ], + "text" : "jit.cubehelix", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "jit_matrix", "jit_matrix", "jit_matrix", "jit_matrix", "" ], + "patching_rect" : [ 12.0, 400.0, 69.0, 22.0 ], + "text" : "jit.unpack 4" + } + + } +, { + "box" : { + "bubble" : 1, + "bubbleside" : 2, + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 300.0, 390.0, 168.0, 39.0 ], + "text" : "Shows only lightness channel" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 12.0, 433.0, 720.0, 30.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-88", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 53.0, 702.0, 48.0 ], + "text" : "Historically, cubehelix was created to improve readability of images in astronomy. Color palettes created with cubehlix monotonally increases in brightness, so the perceived intensy of colors linearly grows, even if the created image is printed in black and white. Readability is also increased to colorblind eyes.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-93", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-15", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 2 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 2 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 547.0, 4.0, 54.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p history" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-5", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 237.0, 269.5, 163.0, 24.0 ], + "text" : "Get a single color as a list" + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 751.0, 532.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "title" : "Classic use", + "boxes" : [ { + "box" : { + "format" : 6, + "id" : "obj-24", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 464.499999999999943, 265.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-23", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 314.899999999999977, 265.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-22", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 165.300000000000011, 265.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-14", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 15.0, 265.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-16", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 53.0, 644.0, 48.0 ], + "text" : "jit.cubehlix is based on the D3 implementation made by @mbostock allowing to set custom ranges for hue, saturation and brighness, while the original cubehlix only allows custom hue start and end points, with uniform saturation an brightness from 0 to 1.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 15.0, 480.0, 720.0, 50.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 40.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 0.0, 367.0, 52.0 ], + "text" : "jit.cubehelix", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 464.499999999999943, 296.0, 65.0, 22.0 ], + "text" : "gamma $1" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 314.899999999999977, 296.0, 78.0, 22.0 ], + "text" : "saturation $1" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 165.300000000000011, 296.0, 65.0, 22.0 ], + "text" : "rotation $1" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 15.0, 296.0, 49.0, 22.0 ], + "text" : "start $1" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 626.0, 296.0, 41.0, 22.0 ], + "text" : "flip $1" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 626.0, 256.5, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 549.699999999999818, 224.0, 22.0, 20.0 ], + "text" : "+2", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 464.499999999999943, 224.0, 19.0, 20.0 ], + "text" : "0", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "floatoutput" : 1, + "id" : "obj-11", + "knobshape" : 5, + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 464.499999999999943, 240.5, 107.199999999999989, 17.0 ], + "size" : 2.0 + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 400.099999999999909, 224.0, 22.0, 20.0 ], + "text" : "+2", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 314.899999999999977, 224.0, 19.0, 20.0 ], + "text" : "0", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "floatoutput" : 1, + "id" : "obj-8", + "knobshape" : 5, + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 314.899999999999977, 240.5, 107.199999999999989, 17.0 ], + "size" : 2.0 + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 250.499999999999943, 224.0, 22.0, 20.0 ], + "text" : "+2", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 165.300000000000011, 224.0, 19.0, 20.0 ], + "text" : "0", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "floatoutput" : 1, + "id" : "obj-5", + "knobshape" : 5, + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 165.300000000000011, 240.5, 107.199999999999989, 17.0 ], + "size" : 2.0 + } + + } +, { + "box" : { + "id" : "obj-84", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 100.199999999999932, 224.0, 22.0, 20.0 ], + "text" : "+1", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 224.0, 19.0, 20.0 ], + "text" : "-1", + "textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ] + } + + } +, { + "box" : { + "floatoutput" : 1, + "id" : "obj-72", + "knobshape" : 5, + "maxclass" : "slider", + "min" : -1.0, + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 15.0, 240.5, 107.199999999999989, 17.0 ], + "size" : 2.0 + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "jit_matrix", "jit_matrix", "" ], + "patching_rect" : [ 15.0, 390.0, 129.0, 22.0 ], + "text" : "jit.cubehelix @dim 100" + } + + } +, { + "box" : { + "id" : "obj-88", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 105.0, 712.0, 62.0 ], + "text" : "While color_start and color_end are prefered to input custom ranges, parameters from the original cubehelix algorithm are still available. 'start' sets the starting hue, 'rotation' controls the number of hue rotations and 'saturation' sets the overall saturation. The gamma factor changes how intensity grows. A gamma < 1 emphasises low intensities while gamma > 1 emphasises high intensities. Flip simply reverses the color map.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-72", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 473.0, 4.0, 55.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p classic" + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 26.0, 751.0, 532.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showontab" : 1, + "assistshowspatchername" : 0, + "title" : "jit.cubehelix.ui", + "boxes" : [ { + "box" : { + "bubble" : 1, + "id" : "obj-11", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 318.0, 443.5, 244.0, 24.0 ], + "text" : "Move the slider to select individual colors" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 339.0, 253.5, 112.0, 24.0 ], + "text" : "Change settings" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-19", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 391.0, 121.0, 161.0, 38.0 ], + "text" : "Enable the metro for automatic randomization" + } + + } +, { + "box" : { + "id" : "obj-4", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 339.0, 285.5, 402.0, 103.0 ], + "text" : "Custom knobs work as follow:\n- click'n'drag up/down to change value\n- shift + click'n'drag up/down to enlarge or narrow the randomization range\n- ctrl + click'n'drag up/don to offset that range\n- shift + any of the above commands for fine-tunning\n- click the padlock to prevent the knob from being randomized\n- double-click to reset to default value", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-37", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 54.0, 588.0, 48.0 ], + "text" : "jit.cubehelix.ui offers a fancy way to explore cubehelix palettes and quickly create satisfying color gradients.\nIt is built around jit.cubehelix but provides additionnal features such as a randomization system with custom knobs and a built-in pattr to save and recall configurations.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 339.0, 166.0, 69.0, 22.0 ], + "text" : "metro 1000" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 339.0, 128.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 40.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 0.0, 260.0, 52.0 ], + "text" : "jit.cubehelix.ui", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.612, 0.776, 0.906, 1.0 ], + "bgmode" : 1, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-1", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "jit.cubehelix.ui.maxpat", + "numinlets" : 1, + "numoutlets" : 3, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "jit_matrix", "jit_matrix", "" ], + "patching_rect" : [ 15.0, 128.0, 301.0, 393.0 ], + "varname" : "jit.cubehelix.ui", + "viewvisibility" : 1 + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontface" : 1, + "hint" : "", + "id" : "obj-10", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 318.0, 255.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontface" : 1, + "hint" : "", + "id" : "obj-12", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 318.0, 421.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "3", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontface" : 1, + "hint" : "", + "id" : "obj-16", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 110.0, 261.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontface" : 1, + "hint" : "", + "id" : "obj-15", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 95.0, 246.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "background" : 1, + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontface" : 1, + "hint" : "", + "id" : "obj-93", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 369.0, 130.0, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "midpoints" : [ 348.5, 189.0, 325.0, 189.0, 325.0, 114.0, 24.5, 114.0 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 405.0, 4.0, 28.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p ui", + "varname" : "ui" + } + + } +, { + "box" : { + "id" : "obj-51", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 429.5, 329.0, 303.0, 34.0 ], + "text" : "If colormodeoutput is set to 1, matrices/values from 1st and 3rd outlet are in HSL. If 0 they're in RGB (default).", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-50", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 429.5, 397.0, 299.0, 48.0 ], + "text" : "If alpha_last is set to 1, the alpha channel is set in last position (RGBA/HSLA). By default, it's in first position (ARGB/AHSL).", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-49", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 199.0, 210.0, 175.0, 24.0 ], + "text" : "Works with RGB too!" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-48", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 219.0, 170.0, 99.0, 24.0 ], + "text" : "Set end color" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-47", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 200.0, 138.0, 100.0, 24.0 ], + "text" : "Set start color" + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 12.0, + "id" : "obj-76", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 53.0, 199.0, 20.0 ], + "text" : "Cubehelix color palette generator" + } + + } +, { + "box" : { + "id" : "obj-88", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 75.0, 710.0, 20.0 ], + "text" : "Generates a 1-dimension color matrix using the cubehelix algorithm, which creates gradients with smooth brightness fadings.", + "textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 40.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 15.0, 0.0, 367.0, 52.0 ], + "text" : "jit.cubehelix", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 125.0, 410.0, 110.0, 22.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-33", + "knobshape" : 5, + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 94.0, 273.0, 141.0, 17.0 ], + "size" : 100.0 + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 94.0, 298.0, 68.0, 22.0 ], + "text" : "getcolor $1" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 404.0, 409.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 404.0, 445.0, 80.0, 22.0 ], + "text" : "alpha_last $1" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 404.0, 334.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 404.0, 370.0, 115.0, 22.0 ], + "text" : "colormodeoutput $1" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "swatch", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 69.0, 206.0, 128.0, 32.0 ], + "saturation" : 1.0 + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 70.0, 170.0, 153.0, 22.0 ], + "text" : "color_end hsl 0.25 0.3 1. 1." + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 41.0, 138.0, 150.0, 22.0 ], + "text" : "color_start hsl 0.7 0.8 0. 1." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 15.0, 480.0, 720.0, 50.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "jit_matrix", "jit_matrix", "" ], + "patching_rect" : [ 15.0, 341.0, 129.0, 22.0 ], + "text" : "jit.cubehelix @dim 100" + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 404.0, 186.0, 89.0, 22.0 ], + "text" : "loadmess set 1" + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-46", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 757.0, 170.0, 388.0, 36.0 ], + "text" : ";\r\nmax launchbrowser https://astron-soc.in/bulletin/11June/289392011.pdf" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "hidden" : 1, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "hidden" : 1, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ], + "parameters" : { + "obj-52::obj-1::obj-15" : [ "live.text[2]", "live.text[1]", 0 ], + "obj-52::obj-1::obj-18" : [ "live.text[4]", "live.text[1]", 0 ], + "obj-52::obj-1::obj-50" : [ "live.text[3]", "live.text[1]", 0 ], + "obj-52::obj-1::obj-85" : [ "live.text[1]", "live.text[1]", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 + } +, + "dependency_cache" : [ { + "name" : "cubehelixui-default.json", + "bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "jit.cubehelix.maxpat", + "bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "jit.cubehelix.ui.maxpat", + "bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "jit.pass.mxe64", + "type" : "mx64" + } +, { + "name" : "knob-range.js", + "bootpath" : "D:/_MAX/_RESSOURCE/tc.utils/jsui_knob", + "patcherrelativepath" : "../tc.utils/jsui_knob", + "type" : "TEXT", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/jit.cubehelix.maxpat b/jit.cubehelix.maxpat index 301cf9a..fd9a5ba 100644 --- a/jit.cubehelix.maxpat +++ b/jit.cubehelix.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 1244.0, 161.0, 646.0, 760.0 ], + "rect" : [ 126.0, 85.0, 1028.0, 923.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -32,142 +32,942 @@ "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, - "description" : "", - "digest" : "", + "description" : "Generates a 1-dimension color matrix using the cubehelix algorithm, which creates gradients with smooth brightness fadings.", + "digest" : "Cubehelix color palette generator", "tags" : "", "style" : "", "subpatcher_template" : "", "assistshowspatchername" : 0, + "title" : "jit.cubehlix", "boxes" : [ { "box" : { - "id" : "obj-60", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 417.0, 902.0, 57.0, 22.0 ], - "text" : "plane $1" + "bgcolor" : [ 0.0, 0.0, 0.0, 0.73 ], + "fontsize" : 12.0, + "id" : "obj-59", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 486.325549450549033, 846.5662841796875, 425.0, 103.0 ], + "text" : "jit.cubehelix by Théophile Clet - 2023 - contact@tflcl.xyz - https://tflcl.xyz\n\nOriginal cubehelix by D.-A. Green (2011) in A colour scheme for the display of astronomical intensity images, Bulletin of the Astronomical Society of India\n\nCubehelix intervals implementation by @mbostocks in D3: https://github.com/d3/d3-plugins/tree/master/cubehelix", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "disabled" : [ 0, 0, 0, 0 ], - "id" : "obj-187", - "itemtype" : 0, - "maxclass" : "radiogroup", + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 417.0, 827.0, 18.0, 66.0 ], - "size" : 4, - "value" : 1 + "numoutlets" : 0, + "patching_rect" : [ 385.0, 745.0, 150.0, 34.0 ], + "text" : "Outputs the whole range as a succession of lists" } } , { "box" : { - "cols" : 128, - "colwidth" : 29, - "fontface" : 0, - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-208", - "maxclass" : "jit.cellblock", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "list", "", "", "" ], - "patching_rect" : [ 249.0, 971.0, 219.0, 148.0 ], - "rows" : 1 + "id" : "obj-6", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 242.777472527472355, 264.0, 32.0, 20.0 ], + "text" : "auto" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-214", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 402.0, 937.0, 66.0, 23.0 ], - "text" : "128 1" + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 747.353021978021388, 108.0, 32.0, 22.0 ], + "text" : "t b 0" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-217", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 333.0, 937.0, 66.0, 23.0 ], - "text" : "float32" + "id" : "obj-4", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 983.0, 136.0, 272.0, 48.0 ], + "text" : "Default values produces the \"default\" cubehelix color scheme. See the red jit.gen for more explanation about these values." + } + + } +, { + "box" : { + "id" : "obj-54", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 17.952380952380935, 829.5662841796875, 184.0, 34.0 ], + "text" : "jit.op only to get matrix-style patchcords outside of the object" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-218", - "maxclass" : "message", + "id" : "obj-52", + "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 249.0, 937.0, 74.0, 23.0 ], - "text" : "4" + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 41.5, 867.0, 34.0, 22.0 ], + "text" : "jit.op" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-219", + "id" : "obj-51", "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 249.0, 902.0, 159.0, 23.0 ], - "text" : "route planecount type dim" + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 167.952380952380935, 867.0, 34.0, 22.0 ], + "text" : "jit.op" } } , { "box" : { - "id" : "obj-220", + "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 249.0, 869.0, 75.0, 22.0 ], - "text" : "jit.matrixinfo" + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 31.0, 610.0, 29.5, 22.0 ], + "text" : "t b l" } } , { "box" : { - "id" : "obj-221", + "id" : "obj-48", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 249.0, 830.0, 55.0, 22.0 ], + "patching_rect" : [ 31.0, 579.5662841796875, 53.0, 22.0 ], "text" : "jit.matrix" } + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 229.437271062270952, 929.5662841796875, 51.0, 20.0 ], + "text" : "getcolor" + } + + } +, { + "box" : { + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 167.952380952380935, 932.0, 43.0, 20.0 ], + "text" : "ARGB" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 41.5, 932.0, 99.0, 20.0 ], + "text" : "Formatted matrix" + } + + } +, { + "box" : { + "comment" : "ARGB matrix output (unprocessed)", + "id" : "obj-40", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 167.952380952380935, 897.5662841796875, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 107.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 134.999991714285727, 157.0, 29.5, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 254.499991714285727, 380.081054999999992, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-16", + "linecount" : 13, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 318.0, 15.0, 226.0, 186.0 ], + "text" : "This subpatcher allows to update the hsl output matrix withtout outputing that matrix.\n\nThis is to make the whole patcher more coherent (outputs a matrix only when banged or when @auto 1 and a message changing the color is sent (color_start, color_end, start, rotation, saturation, flip, gamma) and allows to use getcolor with converted values without having to retriggger the whole calculation." + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 167.999991714285727, 157.0, 53.0, 22.0 ], + "text" : "jit.matrix" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 55.499997428571433, 157.0, 46.0, 22.0 ], + "text" : "thru $1" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "int", "bang", "int", "int" ], + "patching_rect" : [ 55.499997428571433, 75.0, 50.5, 22.0 ], + "text" : "t 1 b i 0" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 134.999991714285727, 199.0, 52.0, 22.0 ], + "text" : "gate 2 1" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 167.999991714285727, 75.0, 105.5, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 167.999991714285727, 243.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-32", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 55.499997428571433, 15.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-33", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "jit_matrix" ], + "patching_rect" : [ 167.999984714285745, 15.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-37", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 55.499997428571419, 380.081054999999992, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-20", 1 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-9", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-9", 2 ] + } + + } + ] + } +, + "patching_rect" : [ 78.952380952380935, 522.0, 108.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p colormodeoutput" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 84.0, 132.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 213.5662841796875, 109.0, 22.0 ], + "text" : "prepend planemap" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 62.5, 165.5662841796875, 45.0, 22.0 ], + "text" : "1 2 3 0" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 137.0, 45.0, 22.0 ], + "text" : "0 1 2 3" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 50.0, 100.0, 44.0, 22.0 ], + "text" : "sel 0 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-31", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-32", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 298.566283999999996, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-18", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-31", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 31.0, 136.0, 73.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p alpha_last" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "int" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 329.0, 507.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 10.5, 223.0, 29.5, 22.0 ], + "text" : "- 1" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 266.0, 298.0, 29.5, 22.0 ], + "text" : "i" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 10.5, 190.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-14", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 234.5, 402.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 266.0, 190.0, 57.0, 22.0 ], + "text" : "split 0. 1." + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 266.0, 264.0, 33.0, 22.0 ], + "text" : "* 10." + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 10.5, 138.0, 79.5, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 71.0, 402.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 6, + "outlettype" : [ "signal", "bang", "int", "float", "", "list" ], + "patching_rect" : [ 234.5, 64.0, 71.5, 22.0 ], + "text" : "typeroute~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 234.5, 20.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 10.5, 20.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "midpoints" : [ 20.0, 255.0, 289.5, 255.0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 604.082417582417065, 216.0, 91.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p dim get_color" + } + } , { "box" : { "id" : "obj-83", "maxclass" : "newobj", - "numinlets" : 7, + "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { @@ -227,7 +1027,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 387.5, 35.0, 61.0, 20.0 ], - "presentation_linecount" : 2, "text" : "saturation" } @@ -249,7 +1048,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 189.0, 89.0, 63.0, 20.0 ], + "patching_rect" : [ 252.0, 35.0, 63.0, 20.0 ], "text" : "start (hue)" } @@ -260,7 +1059,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 148.0, 35.0, 65.0, 20.0 ], + "patching_rect" : [ 118.0, 35.0, 65.0, 20.0 ], "text" : "color_end" } @@ -271,27 +1070,16 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 86.0, 89.0, 65.0, 20.0 ], + "patching_rect" : [ 43.0, 35.0, 65.0, 20.0 ], "text" : "color_start" } - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 24.0, 35.0, 91.0, 20.0 ], - "text" : "colormodeinput" - } - } , { "box" : { "id" : "obj-67", "maxclass" : "newobj", - "numinlets" : 3, + "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patcher" : { @@ -334,15 +1122,39 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 276.0, 79.0, 75.0, 22.0 ], + "text" : "route rgb hsl" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 123.0, 79.0, 75.0, 22.0 ], + "text" : "route rgb hsl" + } + + } +, { "box" : { "comment" : "", "id" : "obj-3", - "index" : 3, + "index" : 2, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 309.0, 22.0, 30.0, 30.0 ] + "patching_rect" : [ 276.0, 22.0, 30.0, 30.0 ] } } @@ -601,7 +1413,7 @@ ] } , - "patching_rect" : [ 276.0, 229.0, 58.0, 22.0 ], + "patching_rect" : [ 276.0, 129.0, 58.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -868,7 +1680,7 @@ ] } , - "patching_rect" : [ 89.0, 229.0, 58.0, 22.0 ], + "patching_rect" : [ 123.0, 129.0, 58.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -888,7 +1700,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 275.916666666666686, 410.0, 30.0, 30.0 ] + "patching_rect" : [ 276.0, 216.0, 30.0, 30.0 ] } } @@ -900,55 +1712,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 89.0, 410.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 276.0, 184.0, 52.0, 22.0 ], - "text" : "gate 2 2" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 15.0, 79.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 15.0, 109.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 89.0, 184.0, 52.0, 22.0 ], - "text" : "gate 2 2" + "patching_rect" : [ 123.0, 216.0, 30.0, 30.0 ] } } @@ -956,46 +1720,26 @@ "box" : { "comment" : "", "id" : "obj-2", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 122.0, 22.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 15.0, 22.0, 30.0, 30.0 ] + "patching_rect" : [ 123.0, 22.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 1 ], + "destination" : [ "obj-6", 0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 1 ], + "destination" : [ "obj-7", 0 ], "source" : [ "obj-3", 0 ] } @@ -1006,20 +1750,6 @@ "source" : [ "obj-39", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-4", 0 ] - } - } , { "patchline" : { @@ -1030,45 +1760,36 @@ } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "order" : 0, - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-6", 1 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], - "source" : [ "obj-8", 1 ] + "source" : [ "obj-7", 1 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], - "source" : [ "obj-8", 0 ] + "source" : [ "obj-7", 0 ] } } ] } , - "patching_rect" : [ 24.0, 113.0, 143.0, 22.0 ], + "patching_rect" : [ 43.0, 141.0, 51.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -1079,30 +1800,17 @@ "text" : "p to_hsl" } - } -, { - "box" : { - "comment" : "", - "id" : "obj-26", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 24.0, 57.0, 30.0, 30.0 ] - } - } , { "box" : { "comment" : "", "id" : "obj-25", - "index" : 3, + "index" : 2, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 148.0, 57.0, 30.0, 30.0 ] + "patching_rect" : [ 118.0, 57.0, 30.0, 30.0 ] } } @@ -1110,12 +1818,12 @@ "box" : { "comment" : "", "id" : "obj-24", - "index" : 2, + "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 86.0, 57.0, 30.0, 30.0 ] + "patching_rect" : [ 43.0, 57.0, 30.0, 30.0 ] } } @@ -1210,7 +1918,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "float" ], - "patching_rect" : [ 189.0, 141.0, 29.5, 22.0 ], + "patching_rect" : [ 252.0, 141.0, 29.5, 22.0 ], "text" : "t f f" } @@ -1279,7 +1987,7 @@ "box" : { "comment" : "", "id" : "obj-4", - "index" : 7, + "index" : 6, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, @@ -1292,7 +2000,7 @@ "box" : { "comment" : "", "id" : "obj-3", - "index" : 6, + "index" : 5, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, @@ -1305,7 +2013,7 @@ "box" : { "comment" : "", "id" : "obj-2", - "index" : 5, + "index" : 4, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, @@ -1318,12 +2026,12 @@ "box" : { "comment" : "", "id" : "obj-1", - "index" : 4, + "index" : 3, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 189.0, 57.0, 30.0, 30.0 ] + "patching_rect" : [ 252.0, 57.0, 30.0, 30.0 ] } } @@ -1457,24 +2165,17 @@ } , { "patchline" : { - "destination" : [ "obj-67", 1 ], + "destination" : [ "obj-67", 0 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { - "destination" : [ "obj-67", 2 ], + "destination" : [ "obj-67", 1 ], "source" : [ "obj-25", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-26", 0 ] - } - } , { "patchline" : { @@ -1528,7 +2229,7 @@ ] } , - "patching_rect" : [ 175.741758241758077, 140.0, 308.186813186813367, 22.0 ], + "patching_rect" : [ 222.027472527472355, 136.0, 257.784340659340501, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -1547,22 +2248,10 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 64.0, 426.0, 129.0, 22.0 ], + "patching_rect" : [ 126.513736263736178, 433.0, 129.0, 22.0 ], "text" : "jit.matrix 4 float32 10 1" } - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 31.0, 939.0, 602.227272727272748, 56.53314208984375 ], - "sync" : 1 - } - } , { "box" : { @@ -1584,7 +2273,7 @@ } , "classnamespace" : "jit.gen", - "rect" : [ 1206.0, 214.0, 672.0, 730.0 ], + "rect" : [ 110.0, 335.0, 672.0, 730.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1613,14 +2302,62 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-11", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 123.0, 570.0, 48.0 ], + "text" : "Original cubehelix implementation from: Green, D. A., 2011, ‘A colour scheme for the display of astronomical intensity images’, Bulletin of the Astronomical Society of India, 39, 289.\n(2011BASI...39..289G at ADS.): https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/" + } + + } +, { + "box" : { + "id" : "obj-8", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 176.0, 570.0, 34.0 ], + "text" : "Below implementation based on D3 implementation by @mbostock https://github.com/d3/d3-plugins/tree/master/cubehelix" + } + + } +, { + "box" : { + "id" : "obj-7", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 282.0, 54.0, 338.0, 48.0 ], + "text" : "hue_offset is here to shift common Max hue values (with 0 as red) by 120° and make them work with the cubehelix algorithm (made to work with 0 as blue)" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 105.0, 52.0, 155.0, 22.0 ], + "text" : "param hue_offset 0.333333" + } + + } +, { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 317.0, 14.0, 169.0, 22.0 ], - "text" : "param color_end -1.5 0.5 1. 1." + "patching_rect" : [ 317.0, 14.0, 203.0, 22.0 ], + "text" : "param color_end -0.666666 0.5 1. 1." } } @@ -1631,14 +2368,14 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 105.0, 14.0, 162.0, 22.0 ], - "text" : "param color_start 0. 0.5 0. 1." + "patching_rect" : [ 105.0, 14.0, 202.0, 22.0 ], + "text" : "param color_start 0.888888 0.5 0. 1." } } , { "box" : { - "code" : "h_s = color_start.x * TWOPI;\r\nh_e = color_end.x * TWOPI - h_s;\r\ns_s = color_start.y;\r\ns_e = color_end.y - s_s;\r\nl_s = color_start.z;\r\nl_e = color_end.z - l_s;\r\n\r\n\r\nh = h_s + h_e * norm;\r\nl = pow(l_s + l_e * norm, gamma);\r\na = (s_s + s_e * norm) * l * (1 - l);\r\n\r\ncosh = cos(h);\r\nsinh = sin(h);\r\n\r\nr = l + a * (-0.14861 * cosh + 1.78277 * sinh);\r\n\r\ng = l + a * (-0.29227 * cosh - 0.90649 * sinh);\r\n\r\nb = l + a * (1.97294 * cosh);\r\n\r\nout1 = vec(1, r, g, b);", + "code" : "h_s = (color_start.x + hue_offset) * TWOPI;\r\nh_e = (color_end.x + hue_offset) * TWOPI - h_s;\r\ns_s = color_start.y;\r\ns_e = color_end.y - s_s;\r\nl_s = color_start.z;\r\nl_e = color_end.z - l_s;\r\n\r\n\r\nh = h_s + h_e * norm;\r\nl = pow(l_s + l_e * norm, gamma);\r\na = (s_s + s_e * norm) * l * (1 - l);\r\n\r\ncosh = cos(h);\r\nsinh = sin(h);\r\n\r\nr = l + a * (-0.14861 * cosh + 1.78277 * sinh);\r\n\r\ng = l + a * (-0.29227 * cosh - 0.90649 * sinh);\r\n\r\nb = l + a * (1.97294 * cosh);\r\n\r\nout1 = vec(1, r, g, b);", "fontface" : 0, "fontname" : "", "fontsize" : 12.0, @@ -1647,7 +2384,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 84.0, 531.0, 382.0 ] + "patching_rect" : [ 50.0, 224.0, 531.0, 382.0 ] } } @@ -1681,7 +2418,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 50.0, 483.0, 35.0, 22.0 ], + "patching_rect" : [ 50.0, 623.0, 35.0, 22.0 ], "text" : "out 1" } @@ -1697,176 +2434,80 @@ ] } , - "patching_rect" : [ 64.0, 479.0, 189.0, 22.0 ], - "text" : "jit.gen @title cubehelix-interpolate" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "int", "int", "" ], - "patching_rect" : [ 65.0, 780.0, 78.0, 22.0 ], - "text" : "unpack s i i s" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 561.35714285714289, 264.0, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 214.0, 679.0, 55.0, 22.0 ], - "text" : "zl.slice 1" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 214.0, 738.0, 29.5, 22.0 ], - "text" : "- 1" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 190.0, 710.0, 43.0, 22.0 ], - "text" : "Uzi 10" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 190.0, 679.0, 22.0, 22.0 ], - "text" : "t b" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 190.0, 648.0, 52.0, 22.0 ], - "text" : "gate 1 0" - } - - } -, { - "box" : { - "id" : "obj-122", - "linecount" : 8, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 355.384615384615358, 748.5662841796875, 622.558441558441586, 117.0 ], - "text" : "Bang: triggers outputs\nauto: If 0, a bang is needed to trigger output. If 1 (default), any paramater change triggers output.\nstart: hue from which to start\nrotation: number of rotations (1. being a full revolution)\ngamma: \nsaturation: \ncolormodeinput: RGB if 0, HSL if 1 (stands for color_start and color_end messages). Default is 1 (HSL)\ncolormodeoutput: RGB if 0, HSL if 1" + "patching_rect" : [ 126.513736263736178, 482.0, 129.0, 22.0 ], + "text" : "jit.gen @title cubehelix" } } , { "box" : { - "id" : "obj-120", - "linecount" : 10, - "maxclass" : "comment", + "id" : "obj-34", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 818.727272727272862, 586.0, 153.0, 144.0 ], - "text" : "TO-DO\n- Start-end range for hue and lightness: https://github.com/d3/d3-plugins/tree/master/cubehelix\n- RGB/HSL start/end inputs\n- proper range for hue (0-1 with 0 being red instead of 0-3 with 1 being red" + "numoutlets" : 4, + "outlettype" : [ "", "int", "int", "" ], + "patching_rect" : [ 209.770604395604295, 790.0, 78.0, 22.0 ], + "text" : "unpack s i i s" } } , { "box" : { - "id" : "obj-115", - "maxclass" : "toggle", + "id" : "obj-29", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 31.0, 440.0, 24.0, 24.0 ] + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 604.082417582417065, 251.0, 29.5, 22.0 ], + "text" : "t l l" } } , { "box" : { - "id" : "obj-113", + "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 31.0, 479.0, 29.5, 22.0 ], - "text" : "+ 1" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 342.907280219780318, 698.0, 55.0, 22.0 ], + "text" : "zl.slice 1" } } , { "box" : { - "id" : "obj-112", + "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 31.0, 510.0, 52.0, 22.0 ], - "text" : "gate 2 1" + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 342.907280219780318, 757.0, 29.5, 22.0 ], + "text" : "- 1" } } , { "box" : { - "id" : "obj-109", + "id" : "obj-7", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 64.0, 547.0, 60.0, 22.0 ], - "text" : "jit.rgb2hsl" + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 318.907280219780262, 729.0, 43.0, 22.0 ], + "text" : "Uzi 10" } } , { "box" : { - "id" : "obj-107", + "id" : "obj-3", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 788.727272727272748, 304.0, 75.0, 22.0 ], - "text" : "prepend dim" + "patching_rect" : [ 318.907280219780262, 664.0, 52.0, 22.0 ], + "text" : "gate 1 0" } } @@ -1877,56 +2518,33 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 752.727272727272748, 272.0, 79.0, 22.0 ], + "patching_rect" : [ 556.325549450549033, 153.0, 79.0, 22.0 ], "text" : "prepend type" } - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 752.727272727272748, 239.0, 55.0, 22.0 ], - "text" : "zl.slice 1" - } - } , { "box" : { "id" : "obj-95", + "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 752.727272727272748, 80.0, 72.0, 22.0 ], - "text" : "patcherargs" + "patching_rect" : [ 836.0, 80.0, 459.0, 50.0 ], + "text" : "patcherargs @dim 10 @coloroutputmode 0 @alpha_last 0 @listoutput 0 @color_start hsl 0.888888 0.5 0. 1. @color_end hsl -0.666666 0.5 1. 1. @gamma 1. @flip 0 @auto 1" } } , { "box" : { - "id" : "obj-92", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 609.571428571428555, 406.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", + "comment" : " Outputs lists of colors, formatted accordingly to coloroutputmode and alpha_last", "id" : "obj-88", - "index" : 2, + "index" : 0, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 84.666666666666657, 887.5662841796875, 30.0, 30.0 ] + "patching_rect" : [ 229.437271062270952, 897.5662841796875, 30.0, 30.0 ] } } @@ -1937,7 +2555,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 84.666666666666657, 811.0662841796875, 29.5, 22.0 ], + "patching_rect" : [ 229.437271062270952, 821.0662841796875, 29.5, 22.0 ], "text" : "t b i" } @@ -1946,23 +2564,11 @@ "box" : { "id" : "obj-86", "maxclass" : "newobj", - "numinlets" : 5, + "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 84.666666666666657, 843.5662841796875, 106.0, 22.0 ], - "text" : "pack getcolor i f f f" - } - - } -, { - "box" : { - "id" : "obj-85", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 609.571428571428555, 435.0, 29.5, 22.0 ], - "text" : "t i i" + "patching_rect" : [ 229.437271062270952, 853.5662841796875, 113.0, 22.0 ], + "text" : "pack getcolor i f f f f" } } @@ -1973,7 +2579,7 @@ "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 537.35714285714289, 296.0, 67.0, 22.0 ], + "patching_rect" : [ 580.082417582417065, 283.0, 67.0, 22.0 ], "text" : "pak dim i 1" } @@ -1985,34 +2591,10 @@ "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 149.0, 547.0, 93.0, 22.0 ], + "patching_rect" : [ 209.770604395604295, 564.0, 93.0, 22.0 ], "text" : "pak getcell 10 0" } - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 537.35714285714289, 329.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 142.741758241758077, 216.0, 24.0, 24.0 ] - } - } , { "box" : { @@ -2021,56 +2603,20 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 65.0, 742.5662841796875, 55.0, 22.0 ], + "patching_rect" : [ 209.770604395604295, 752.5662841796875, 55.0, 22.0 ], "text" : "zl.slice 4" } } , { "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 31.0, 599.5662841796875, 53.0, 22.0 ], - "text" : "jit.matrix" - } - - } -, { - "box" : { - "comment" : "", + "comment" : "ARGB/RGBA/AHSL/HSLA matrix output", "id" : "obj-44", - "index" : 1, + "index" : 0, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 31.0, 887.5662841796875, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 561.35714285714289, 205.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 561.35714285714289, 234.0, 50.0, 22.0 ] + "patching_rect" : [ 41.5, 897.5662841796875, 30.0, 30.0 ] } } @@ -2081,8 +2627,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 142.741758241758077, 246.0, 52.0, 22.0 ], - "text" : "gate 1 1" + "patching_rect" : [ 174.270604395604266, 264.0, 66.756868131868089, 22.0 ], + "text" : "gate 1 0" } } @@ -2090,7 +2636,7 @@ "box" : { "comment" : "", "id" : "obj-22", - "index" : 1, + "index" : 0, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, @@ -2103,24 +2649,11 @@ "box" : { "id" : "obj-21", "maxclass" : "newobj", - "numinlets" : 15, - "numoutlets" : 15, - "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], - "patching_rect" : [ 31.0, 80.0, 694.0, 22.0 ], - "text" : "route colormodeoutput bang auto colormodeinput color_start color_end start rotation saturation flip gamma dim getcolor listoutput" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-19", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 513.208791208791126, 140.0, 50.0, 22.0 ] + "numinlets" : 17, + "numoutlets" : 17, + "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], + "patching_rect" : [ 31.0, 80.0, 783.10989010988942, 22.0 ], + "text" : "route alpha_last colormodeoutput bang auto color_start color_end start rotation saturation flip gamma type dim getcolor listoutput reset" } } @@ -2131,7 +2664,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 175.741758241758077, 216.0, 73.5, 22.0 ], + "patching_rect" : [ 222.027472527472355, 226.0, 73.5, 22.0 ], "text" : "t b l" } @@ -2143,7 +2676,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 513.208791208791126, 172.0, 96.0, 22.0 ], + "patching_rect" : [ 508.568681318680888, 116.0, 96.0, 22.0 ], "text" : "prepend gamma" } @@ -2151,44 +2684,33 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-109", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "source" : [ "obj-112", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-112", 0 ] + "destination" : [ "obj-27", 0 ], + "midpoints" : [ 565.825549450549033, 423.0, 136.013736263736178, 423.0 ], + "source" : [ "obj-106", 0 ] } } , { "patchline" : { - "destination" : [ "obj-112", 0 ], - "source" : [ "obj-113", 0 ] + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 518.068681318680888, 217.0, 231.527472527472355, 217.0 ], + "source" : [ "obj-12", 0 ] } } , { "patchline" : { - "destination" : [ "obj-113", 0 ], - "source" : [ "obj-115", 0 ] + "destination" : [ "obj-23", 0 ], + "midpoints" : [ 769.853021978021388, 191.0, 183.770604395604266, 191.0 ], + "source" : [ "obj-13", 1 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 522.708791208791126, 207.0, 185.241758241758077, 207.0 ], - "source" : [ "obj-12", 0 ] + "destination" : [ "obj-95", 0 ], + "midpoints" : [ 756.853021978021388, 132.0, 822.0, 132.0, 822.0, 75.0, 845.5, 75.0 ], + "source" : [ "obj-13", 0 ] } } @@ -2202,145 +2724,136 @@ , { "patchline" : { "destination" : [ "obj-8", 0 ], + "midpoints" : [ 286.027472527472355, 468.0, 136.013736263736178, 468.0 ], "source" : [ "obj-17", 1 ] } } , { "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-187", 0 ] + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-19", 0 ] + "destination" : [ "obj-61", 1 ], + "midpoints" : [ 685.582417582417065, 544.0, 256.270604395604323, 544.0 ], + "source" : [ "obj-2", 1 ] } } , { "patchline" : { - "destination" : [ "obj-115", 0 ], - "midpoints" : [ 40.5, 115.0, 40.5, 115.0 ], - "source" : [ "obj-21", 0 ] + "destination" : [ "obj-106", 0 ], + "source" : [ "obj-21", 11 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], + "destination" : [ "obj-12", 0 ], "source" : [ "obj-21", 10 ] } } , { "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-21", 1 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-21", 15 ] } } , { "patchline" : { - "destination" : [ "obj-3", 0 ], - "midpoints" : [ 667.285714285714334, 627.5, 199.5, 627.5 ], + "destination" : [ "obj-2", 1 ], "source" : [ "obj-21", 13 ] } } , { "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-21", 11 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-21", 2 ] + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-21", 12 ] } } , { "patchline" : { - "destination" : [ "obj-83", 6 ], - "source" : [ "obj-21", 9 ] + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-21", 3 ] } } , { "patchline" : { - "destination" : [ "obj-83", 5 ], - "source" : [ "obj-21", 8 ] + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-21", 2 ] } } , { "patchline" : { - "destination" : [ "obj-83", 4 ], - "source" : [ "obj-21", 7 ] + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 709.096153846153243, 646.5, 328.407280219780262, 646.5 ], + "source" : [ "obj-21", 14 ] } } , { "patchline" : { - "destination" : [ "obj-83", 3 ], - "source" : [ "obj-21", 6 ] + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-21", 0 ] } } , { "patchline" : { - "destination" : [ "obj-83", 2 ], - "source" : [ "obj-21", 5 ] + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-21", 1 ] } } , { "patchline" : { - "destination" : [ "obj-83", 1 ], - "source" : [ "obj-21", 4 ] + "destination" : [ "obj-83", 5 ], + "source" : [ "obj-21", 9 ] } } , { "patchline" : { - "destination" : [ "obj-83", 0 ], - "source" : [ "obj-21", 3 ] + "destination" : [ "obj-83", 4 ], + "source" : [ "obj-21", 8 ] } } , { "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-21", 12 ] + "destination" : [ "obj-83", 3 ], + "source" : [ "obj-21", 7 ] } } , { "patchline" : { - "destination" : [ "obj-214", 1 ], - "midpoints" : [ 351.833333333333314, 930.0, 458.5, 930.0 ], - "source" : [ "obj-219", 2 ] + "destination" : [ "obj-83", 2 ], + "source" : [ "obj-21", 6 ] } } , { "patchline" : { - "destination" : [ "obj-217", 1 ], - "midpoints" : [ 305.166666666666686, 927.0, 389.5, 927.0 ], - "source" : [ "obj-219", 1 ] + "destination" : [ "obj-83", 1 ], + "source" : [ "obj-21", 5 ] } } , { "patchline" : { - "destination" : [ "obj-218", 1 ], - "midpoints" : [ 258.5, 927.0, 313.5, 927.0 ], - "source" : [ "obj-219", 0 ] + "destination" : [ "obj-83", 0 ], + "source" : [ "obj-21", 4 ] } } @@ -2350,29 +2863,6 @@ "source" : [ "obj-22", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-219", 0 ], - "source" : [ "obj-220", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-208", 0 ], - "order" : 0, - "source" : [ "obj-221", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-220", 0 ], - "order" : 1, - "source" : [ "obj-221", 0 ] - } - } , { "patchline" : { @@ -2384,7 +2874,7 @@ , { "patchline" : { "destination" : [ "obj-61", 1 ], - "midpoints" : [ 223.5, 766.0, 253.0, 766.0, 253.0, 534.0, 195.5, 534.0 ], + "midpoints" : [ 352.407280219780318, 782.0, 301.907280219780318, 782.0, 301.907280219780318, 544.0, 256.270604395604323, 544.0 ], "source" : [ "obj-25", 0 ] } @@ -2406,7 +2896,7 @@ , { "patchline" : { "destination" : [ "obj-28", 0 ], - "midpoints" : [ 581.35714285714289, 675.0, 223.5, 675.0 ], + "midpoints" : [ 624.082417582417065, 692.0, 352.407280219780318, 692.0 ], "source" : [ "obj-29", 1 ] } @@ -2420,17 +2910,10 @@ } , { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-7", 0 ], "source" : [ "obj-3", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-33", 0 ] - } - } , { "patchline" : { @@ -2441,54 +2924,50 @@ } , { "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-36", 0 ] + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-4", 0 ] + "destination" : [ "obj-48", 0 ], + "source" : [ "obj-39", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 3, - "source" : [ "obj-45", 0 ] + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-39", 1 ] } } , { "patchline" : { - "destination" : [ "obj-221", 0 ], - "order" : 0, - "source" : [ "obj-45", 0 ] + "destination" : [ "obj-49", 0 ], + "source" : [ "obj-48", 0 ] } } , { "patchline" : { - "destination" : [ "obj-3", 1 ], - "order" : 1, - "source" : [ "obj-45", 0 ] + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-48", 1 ] } } , { "patchline" : { - "destination" : [ "obj-44", 0 ], - "order" : 2, - "source" : [ "obj-45", 0 ] + "destination" : [ "obj-3", 1 ], + "source" : [ "obj-49", 0 ] } } , { "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-45", 1 ] + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-49", 1 ] } } @@ -2508,38 +2987,21 @@ } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "midpoints" : [ 557.35714285714289, 372.0, 73.5, 372.0 ], - "source" : [ "obj-55", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "midpoints" : [ 546.85714285714289, 372.0, 73.5, 372.0 ], - "source" : [ "obj-55", 0 ] + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-51", 0 ] } } , { "patchline" : { - "destination" : [ "obj-208", 0 ], - "source" : [ "obj-60", 0 ] + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-52", 0 ] } } , { "patchline" : { - "destination" : [ "obj-45", 0 ], - "midpoints" : [ 158.5, 581.0, 40.5, 581.0 ], + "destination" : [ "obj-48", 0 ], "source" : [ "obj-61", 0 ] } @@ -2553,14 +3015,15 @@ } , { "patchline" : { - "destination" : [ "obj-55", 0 ], + "destination" : [ "obj-27", 0 ], + "midpoints" : [ 589.582417582417065, 423.0, 136.013736263736178, 423.0 ], "source" : [ "obj-74", 0 ] } } , { "patchline" : { - "destination" : [ "obj-112", 1 ], + "destination" : [ "obj-39", 1 ], "source" : [ "obj-8", 0 ] } @@ -2571,14 +3034,6 @@ "source" : [ "obj-83", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-61", 1 ], - "midpoints" : [ 619.071428571428555, 534.0, 195.5, 534.0 ], - "source" : [ "obj-85", 0 ] - } - } , { "patchline" : { @@ -2600,44 +3055,22 @@ "source" : [ "obj-87", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-92", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-21", 0 ], - "midpoints" : [ 815.227272727272748, 109.0, 837.0, 109.0, 837.0, 63.0, 40.5, 63.0 ], + "midpoints" : [ 1285.5, 132.0, 1305.0, 132.0, 1305.0, 66.0, 40.5, 66.0 ], "source" : [ "obj-95", 1 ] } } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-95", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-106", 0 ], - "source" : [ "obj-98", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-98", 1 ] - } - + ], + "dependency_cache" : [ { + "name" : "jit.pass.mxe64", + "type" : "mx64" } - ] + ], + "autosave" : 0 } } diff --git a/jit.cubehelix.ui.maxpat b/jit.cubehelix.ui.maxpat new file mode 100644 index 0000000..20006d0 --- /dev/null +++ b/jit.cubehelix.ui.maxpat @@ -0,0 +1,3532 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 546.0, 85.0, 304.0, 418.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-54", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 269.091850278514926, 304.893202006816864, 448.300971925258636, 103.0 ], + "text" : "TODO:\n- Make pattrstorage store scaled values for the range (more meaningfull to user)\n- Implement a special mode for the end color hue to act as an offset from the start hue (basically make it a \"rotation\" setting), with a selection of some default values (complementary, \n- Allow to set knob settings from inlet with messages such as 'start_hue 0. -0.5 0.5 0' (value of 0., random range of -0.5, 0.5 and locked to 0)" + } + + } +, { + "box" : { + "id" : "obj-51", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 432.0, 600.0, 50.0, 36.0 ], + "text" : "-0.666666" + } + + } +, { + "box" : { + "id" : "obj-71", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 615.0, 125.856797502738914, 161.0, 22.0 ], + "text" : "read cubehelixui-default.json" + } + + } +, { + "box" : { + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 615.0, 99.106797502738914, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 464.591850278514926, 126.75, 34.0, 22.0 ], + "text" : "write" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 534.591850278514926, 126.75, 33.0, 22.0 ], + "text" : "read" + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-64", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 556.892822000000024, 99.106797502738914, 38.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 174.92397830374523, 20.457170218229294, 38.0, 20.0 ], + "text" : "Read", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], + "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "id" : "obj-65", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.701960784313725, 0.415686274509804, 0.886274509803922, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 534.591850278514926, 99.106797502738914, 20.300971721485098, 20.300971721485098 ], + "presentation" : 1, + "presentation_rect" : [ 205.623006582260132, 20.457170218229294, 20.300971721485098, 20.300971721485098 ] + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-62", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 486.892822000000024, 99.106797502738914, 38.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 174.92397830374523, 3.106797502738914, 38.0, 20.0 ], + "text" : "Write", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], + "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "id" : "obj-57", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.701960784313725, 0.415686274509804, 0.886274509803922, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 464.591850278514926, 99.106797502738914, 20.300971721485098, 20.300971721485098 ], + "presentation" : 1, + "presentation_rect" : [ 205.623006582260132, 3.106797502738914, 20.300971721485098, 20.300971721485098 ] + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 648.0, 31.621908843517303, 56.0, 22.0 ], + "restore" : { + "alpha_last" : [ 0.0 ], + "colormodeoutput" : [ 0.0 ], + "dim" : [ 128 ], + "e_h" : [ -0.666666, 0, 1, 0 ], + "e_l" : [ 1, 0, 1, 0 ], + "e_s" : [ 0.5, 0, 1, 0 ], + "flip" : [ 0.0 ], + "gamma" : [ 1, 0.166666666666667, 0.5, 0 ], + "listoutput" : [ 0.0 ], + "s_h" : [ 0.888888, 0, 1, 0 ], + "s_l" : [ 0, 0, 1, 0 ], + "s_s" : [ 0.619999999999999, 0, 1, 0 ] + } +, + "text" : "autopattr", + "varname" : "u874000443" + } + + } +, { + "box" : { + "id" : "obj-49", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 587.0, 31.621908843517303, 50.0, 22.0 ], + "text" : "purge" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 0.61 ], + "fontsize" : 13.0, + "id" : "obj-59", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 269.091850278514926, 174.28640450407795, 448.300971925258636, 126.0 ], + "text" : "jit.cubehelix.ui by Théophile Clet - 2023 - contact@tflcl.xyz - https://tflcl.xyz\n\nOriginal cubehelix by D.-A. Green (2011) in A colour scheme for the display of astronomical intensity images, Bulletin of the Astronomical Society of India\n\nCubehelix intervals implementation by @mbostocks in D3: https://github.com/d3/d3-plugins/tree/master/cubehelix", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.819607843137255, 0.752941176470588, 0.854901960784314, 1.0 ], + "bgfillcolor_angle" : 270.0, + "bgfillcolor_autogradient" : 0.0, + "bgfillcolor_color" : [ 0.819607843137255, 0.752941176470588, 0.854901960784314, 1.0 ], + "bgfillcolor_color1" : [ 0.301961, 0.301961, 0.301961, 1.0 ], + "bgfillcolor_color2" : [ 0.2, 0.2, 0.2, 1.0 ], + "bgfillcolor_proportion" : 0.5, + "bgfillcolor_type" : "color", + "color" : [ 0.819607843137255, 0.752941176470588, 0.854901960784314, 1.0 ], + "elementcolor" : [ 0.819607843137255, 0.752941176470588, 0.854901960784314, 1.0 ], + "id" : "obj-56", + "items" : [ 5, ",", 12, ",", 64, ",", 128, ",", 360, ",", 1000 ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 86.892822203773505, 63.927735401886025, 100.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 41.085271954536438, 82.093024373054504, 52.0, 22.0 ], + "textcolor" : [ 0.239, 0.255, 0.278, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.701960784313725, 0.415686274509804, 0.886274509803922, 1.0 ], + "htricolor" : [ 0.819607843137255, 0.752941176470588, 0.854901960784314, 1.0 ], + "id" : "obj-45", + "maxclass" : "number", + "minimum" : 2, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 127.392822203773505, 95.181818008422852, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 92.813573718070984, 82.093024373054504, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "tricolor" : [ 0.819607843137255, 0.752941176470588, 0.854901960784314, 1.0 ], + "varname" : "dim" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 210.392822203773534, 761.995149970054626, 94.388350605964661, 12.553398311138153 ], + "presentation" : 1, + "presentation_rect" : [ -0.015029668807983, 338.159525632858276, 300.5, 17.674002230167389 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 98.892822203773477, 186.0, 111.0, 22.0 ], + "text" : "r #0-output-done" + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 57.0, 700.514561057090759, 113.0, 22.0 ], + "text" : "s #0-output-done" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 165.892822203773534, 666.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.892821999999995, 97.5, 54.0, 22.0 ], + "text" : "deferlow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 492.892822000000024, 4.621908843517303, 78.0, 23.0 ], + "text" : "client_close" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-35", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 400.892822000000024, 4.621908843517303, 84.0, 23.0 ], + "text" : "clientwindow" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 400.892822000000024, 63.927735401886025, 334.0, 22.0 ], + "saved_object_attributes" : { + "client_rect" : [ 8, 111, 541, 516 ], + "parameter_enable" : 0, + "parameter_mappable" : 0, + "storage_rect" : [ 200, 200, 800, 500 ] + } +, + "text" : "pattrstorage #0-cubehelixui @autorestore 0 @savemode 3", + "varname" : "#0-cubehelixui" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 197.392822203773534, 45.305826558368722, 173.0, 22.0 ], + "text" : "route dim bang to_pattrstorage" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 241.392822203773562, 9.0, 72.0, 22.0 ], + "text" : "patcherargs" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 384.591850278514926, 757.140774250030518, 100.0, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 210.392822203773534, 666.0, 115.0, 22.0 ], + "text" : "r #0-to-rgb-matrix" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 137.892822203773505, 299.679611504077911, 117.0, 22.0 ], + "text" : "s #0-to-rgb-matrix" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 137.892822203773505, 265.883495092391968, 70.0, 22.0 ], + "text" : "getcell $1 0" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 176.392822203773534, 700.514561057090759, 53.0, 22.0 ], + "text" : "jit.matrix" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 5.392822203773505, 788.54854828119278, 146.388350605964689, 46.407767176628113 ], + "presentation" : 1, + "presentation_rect" : [ 0.146259307861328, 376.333527863025665, 300.338711023330688, 19.0 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 445.591850278514926, 730.140774250030518, 80.0, 22.0 ], + "text" : "alpha_last $1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 179.892822203773477, 854.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "activebgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], + "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "activetextoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], + "focusbordercolor" : [ 0.0, 0.019608, 0.078431, 0.0 ], + "id" : "obj-18", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 445.591850278514926, 660.640774250030518, 67.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 161.812928438186646, 353.333527863025665, 67.0, 25.0 ], + "saved_attribute_attributes" : { + "activebgcolor" : { + "expression" : "" + } +, + "activebgoncolor" : { + "expression" : "" + } +, + "activetextoncolor" : { + "expression" : "" + } +, + "bordercolor" : { + "expression" : "" + } +, + "focusbordercolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[4]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2 + } + + } +, + "text" : "Alpha_first", + "texton" : "Alpha_last", + "varname" : "alpha_last" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.892821999999995, 69.5, 70.0, 22.0 ], + "text" : "loadmess 3" + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-1", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 353.392822203773619, 505.893202006816864, 36.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 255.288645386695862, 174.472675055265427, 36.0, 18.0 ], + "text" : "Light.", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 293.892822203773619, 505.893202006816864, 27.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 187.844075486063957, 174.472675055265427, 27.0, 18.0 ], + "text" : "Sat.", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 229.892822203773505, 505.893202006816864, 27.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 224.123006582260132, 116.457170218229294, 27.0, 18.0 ], + "text" : "Hue", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-91", + "jsarguments" : [ 1.0, 0.0, 3.0, 0.5, 1.5 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 407.392822000000024, 441.893202006816864, 42.0, 42.0 ], + "presentation" : 1, + "presentation_rect" : [ 129.320187240839005, 136.60980823636055, 42.0, 42.0 ], + "varname" : "gamma" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-88", + "jsarguments" : [ 1.0, 0.0, 1.0 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 348.892822203773562, 441.893202006816864, 52.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 247.288645386695862, 180.60980823636055, 52.0, 52.0 ], + "varname" : "e_l" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-89", + "jsarguments" : [ 0.5, 0.0, 2.0 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 284.892822203773562, 441.893202006816864, 52.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 175.344075486063957, 180.60980823636055, 52.0, 52.0 ], + "varname" : "e_s" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-90", + "jsarguments" : [ -0.666666, -1.0, 1.0, -0.5, 0.5 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 217.218066213268372, 441.893202006816864, 52.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 211.623006582260132, 122.771124571561813, 52.0, 52.0 ], + "varname" : "e_h" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-83", + "jsarguments" : [ 0.0, 0.0, 1.0 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 141.892822203773505, 441.893202006816864, 52.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 73.250910758972168, 180.60980823636055, 52.0, 52.0 ], + "varname" : "s_l" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-82", + "jsarguments" : [ 0.5, 0.0, 2.0 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 77.892822203773505, 441.893202006816864, 52.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 2.275193810462952, 180.60980823636055, 52.0, 52.0 ], + "varname" : "s_s" + } + + } +, { + "box" : { + "border" : 0, + "filename" : "knob-range.js", + "id" : "obj-81", + "jsarguments" : [ 0.888888, -1.0, 1.0, -0.5, 0.5 ], + "maxclass" : "jsui", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 13.892822203773505, 441.893202006816864, 52.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 37.585271954536438, 122.771124571561813, 52.0, 52.0 ], + "varname" : "s_h" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-80", + "index" : 3, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 326.392822203773562, 854.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-79", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 5.392822203773505, 855.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 197.392822203773534, 9.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "jit_matrix" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 107.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 236.883488237857819, 131.0, 22.0 ], + "text" : "prepend color_start hsl" + } + + } +, { + "box" : { + "id" : "obj-65", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.053019675228143, 100.0, 88.0, 22.0 ], + "text" : "pak 0. 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "jit_matrix" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 934.0, 388.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "jit.gen", + "rect" : [ 59.0, 107.0, 600.0, 450.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-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 89.0, 156.0, 26.0, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 75.0, 313.0, 74.0, 22.0 ], + "text" : "concat 0 0 0" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 18.0, 92.0, 42.0, 22.0 ], + "text" : "swiz a" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 89.0, 92.0, 39.0, 22.0 ], + "text" : "swiz r" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 169.0, 92.0, 49.0, 22.0 ], + "text" : "swiz gb" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 114.0, 14.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 374.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 1, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 2, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 2 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 33.0, 242.0, 41.0, 22.0 ], + "text" : "jit.gen" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 157.0, 84.0, 33.0, 20.0 ], + "text" : "argb" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 81.0, 30.0, 33.0, 20.0 ], + "text" : "rgba" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 33.0, 84.0, 113.0, 22.0 ], + "text" : "zl.indexmap 3 0 1 2" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 33.0, 170.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 33.0, 138.0, 129.0, 22.0 ], + "text" : "prepend setcell 0 0 val" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 33.0, 338.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 275.0, 60.0, 22.0 ], + "text" : "jit.hsl2rgb" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 206.0, 123.0, 22.0 ], + "text" : "jit.matrix 4 float32 1 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 33.0, 20.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 68.446601688861847, 171.70873361825943, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p hsl2rgb" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-69", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.053019675228114, 39.999994690200822, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-70", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 85.053019675228114, 39.999994690200822, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-71", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.053019675228114, 39.999994690200822, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-72", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 49.999995675228121, 318.883508690200756, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-73", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.999995675228121, 318.883508690200756, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "order" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "order" : 1, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "source" : [ "obj-69", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 1 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 2 ], + "source" : [ "obj-71", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 26.718066213268315, 539.89320169701773, 147.17475599050519, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p format" + } + + } +, { + "box" : { + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "jit_matrix" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 107.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 236.883488237857819, 127.0, 22.0 ], + "text" : "prepend color_end hsl" + } + + } +, { + "box" : { + "id" : "obj-65", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.053019675228143, 100.0, 88.0, 22.0 ], + "text" : "pak 0. 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "jit_matrix" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 934.0, 388.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "jit.gen", + "rect" : [ 59.0, 107.0, 600.0, 450.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-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 89.0, 156.0, 26.0, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 75.0, 313.0, 74.0, 22.0 ], + "text" : "concat 0 0 0" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 18.0, 92.0, 42.0, 22.0 ], + "text" : "swiz a" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 89.0, 92.0, 39.0, 22.0 ], + "text" : "swiz r" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 169.0, 92.0, 49.0, 22.0 ], + "text" : "swiz gb" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 114.0, 14.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 374.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 1, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 2, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 2 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 33.0, 242.0, 41.0, 22.0 ], + "text" : "jit.gen" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 157.0, 84.0, 33.0, 20.0 ], + "text" : "argb" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 81.0, 30.0, 33.0, 20.0 ], + "text" : "rgba" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 33.0, 84.0, 113.0, 22.0 ], + "text" : "zl.indexmap 3 0 1 2" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 33.0, 170.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 33.0, 138.0, 129.0, 22.0 ], + "text" : "prepend setcell 0 0 val" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 33.0, 338.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 277.0, 60.0, 22.0 ], + "text" : "jit.hsl2rgb" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 206.0, 123.0, 22.0 ], + "text" : "jit.matrix 4 float32 1 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 33.0, 20.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 68.446601688861847, 171.70873361825943, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p hsl2rgb" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-69", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.053019675228114, 39.999994690200822, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-70", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 85.053019675228114, 39.999994690200822, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-71", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.053019675228114, 39.999994690200822, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-72", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 49.999995675228121, 318.883508690200756, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-73", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.999995675228121, 318.883508690200756, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "order" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "order" : 1, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "source" : [ "obj-69", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 1 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 2 ], + "source" : [ "obj-71", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 233.718066213268372, 539.89320169701773, 147.17475599050519, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p format" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 107.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-2", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 145.0, 134.0, 150.0, 62.0 ], + "text" : "Disable auto when firing random values to avoid useless calculation and outputs" + } + + } +, { + "box" : { + "id" : "obj-56", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 78.999998203773487, 150.480584800243378, 49.0, 22.0 ], + "text" : "auto $1" + } + + } +, { + "box" : { + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "int", "bang", "bang", "int" ], + "patching_rect" : [ 50.0, 100.0, 52.0, 22.0 ], + "text" : "t 1 b b 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-57", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 49.999998203773487, 40.000003490444186, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-58", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 25.999998203773487, 216.4805794904442, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-59", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 78.999998203773487, 216.4805794904442, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-54", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "source" : [ "obj-54", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-54", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-57", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 13.892822203773505, 408.893202006816807, 39.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p rdm" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 501.703498301643435, 539.893202006816864, 41.0, 22.0 ], + "text" : "flip $1" + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 404.091850278514926, 535.393202006816864, 65.0, 22.0 ], + "text" : "gamma $1" + } + + } +, { + "box" : { + "activebgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], + "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "activetextoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], + "focusbordercolor" : [ 0.0, 0.019608, 0.078431, 0.0 ], + "id" : "obj-50", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 501.703498301643435, 479.893202006816864, 59.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 133.989638276398182, 193.286629408597946, 32.661097928881645, 25.0 ], + "saved_attribute_attributes" : { + "activebgcolor" : { + "expression" : "" + } +, + "activebgoncolor" : { + "expression" : "" + } +, + "activetextoncolor" : { + "expression" : "" + } +, + "bordercolor" : { + "expression" : "" + } +, + "focusbordercolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[3]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2 + } + + } +, + "text" : "Flip", + "texton" : "Flip", + "varname" : "flip" + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-48", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 404.091850278514926, 501.393202006816864, 54.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 123.820187240839005, 123.771124571561813, 53.0, 18.0 ], + "text" : "γ", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "jit_matrix" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 107.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 86.0, 126.0, 181.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 166.0, 354.0, 181.0, 22.0 ], + "text" : "setcell 0 0 val $1 $2 $3 $4, bang" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 100.0, 55.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 130.0, 328.0, 55.0, 22.0 ], + "text" : "zl.slice 4" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 86.0, 154.0, 113.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 166.0, 382.0, 113.0, 22.0 ], + "text" : "jit.matrix 4 float32 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 86.0, 236.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-43", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 210.392822203773534, 731.514561057090759, 61.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p getcolor" + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-40", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 276.392822203773562, 409.893202006816864, 69.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 205.623006582260132, 234.60980823636055, 64.0, 20.0 ], + "text" : "End color", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 5.392822203773505, 600.912617206573486, 114.0, 22.0 ], + "text" : "r #0-to_cubehelix" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.892821999999995, 299.679611504077911, 116.0, 22.0 ], + "text" : "s #0-to_cubehelix" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 384.591850278514926, 784.820385754108429, 116.0, 22.0 ], + "text" : "s #0-to_cubehelix" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 26.791262269020081, 217.0, 166.0, 22.0 ], + "text" : "setminmax 0 $1, floatoutput 0" + } + + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 26.791262269020081, 265.883495092391968, 68.0, 22.0 ], + "text" : "getcolor $1" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.892821999999995, 186.0, 78.0, 22.0 ], + "text" : "dim $1, bang" + } + + } +, { + "box" : { + "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], + "elementcolor" : [ 0.349019607843137, 0.349019607843137, 0.349019607843137, 0.0 ], + "id" : "obj-25", + "knobcolor" : [ 0.701961, 0.415686, 0.886275, 0.701961 ], + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "orientation" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 13.892821999999995, 156.5, 156.0, 11.0 ], + "size" : 360.0 + } + + } +, { + "box" : { + "button" : 1, + "contrastactivetab" : 0, + "htabcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "id" : "obj-142", + "margin" : 0, + "maxclass" : "tab", + "mode" : 1, + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 13.892821999999995, 123.0, 156.0, 27.5 ], + "rounded" : 0.0, + "segmented" : 1, + "spacing_x" : 2.0, + "tabcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], + "tabs" : [ "5", "12", "64", "128", "360" ], + "textcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ] + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-143", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 171.892821999999995, 126.75, 44.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.174418568611145, 82.093024373054504, 41.0, 20.0 ], + "text" : "Steps", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 514.591850278514926, 702.140774250030518, 73.0, 22.0 ], + "text" : "listoutput $1" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 384.591850278514926, 702.140774250030518, 115.0, 22.0 ], + "text" : "colormodeoutput $1" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "jit_matrix", "jit_matrix", "" ], + "patching_rect" : [ 5.392822203773505, 632.640774250030518, 340.000000000000057, 22.0 ], + "text" : "jit.cubehelix" + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-198", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 400.892822000000024, 99.106797502738914, 54.0, 20.0 ], + "text" : "Presets", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "active1" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], + "bubblesize" : 10, + "emptycolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], + "id" : "obj-197", + "maxclass" : "preset", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "preset", "int", "preset", "int", "" ], + "patching_rect" : [ 357.892822000000024, 126.75, 97.0, 47.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 43.0, 240.829459190368652, 32.153864413499832 ], + "stored1" : [ 0.792308, 0.64636, 0.886275, 1.0 ] + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 384.591850278514926, 632.640774250030518, 93.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.146259307861328, 355.833527863025665, 93.0, 20.0 ], + "text" : "Output modes", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "activebgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], + "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "activetextoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], + "focusbordercolor" : [ 0.0, 0.019608, 0.078431, 0.0 ], + "id" : "obj-15", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 514.591850278514926, 660.640774250030518, 67.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 235.479597568511963, 353.333527863025665, 67.0, 25.0 ], + "saved_attribute_attributes" : { + "activebgcolor" : { + "expression" : "" + } +, + "activebgoncolor" : { + "expression" : "" + } +, + "activetextoncolor" : { + "expression" : "" + } +, + "bordercolor" : { + "expression" : "" + } +, + "focusbordercolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[2]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2 + } + + } +, + "text" : "Matrix", + "texton" : "Matrix+List", + "varname" : "listoutput" + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 30.0, + "id" : "obj-150", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 5.392821999999995, 3.5, 159.0, 41.0 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 0.0, 152.0, 41.0 ], + "text" : "Cubehelix", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-147", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.93165671600724, 378.786409006816825, 76.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 226.479597568511963, 83.093024373054504, 73.0, 20.0 ], + "text" : "Randomize", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], + "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "id" : "obj-144", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.701960784313725, 0.415686274509804, 0.886274509803922, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 13.892821999999995, 374.286409006816825, 29.0, 29.0 ], + "presentation" : 1, + "presentation_rect" : [ 230.716035015881062, 26.813369654119015, 64.527125105261803, 64.527125105261803 ] + } + + } +, { + "box" : { + "activebgcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], + "activebgoncolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "activetextoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "bordercolor" : [ 0.196078, 0.196078, 0.196078, 0.0 ], + "focusbordercolor" : [ 0.0, 0.019608, 0.078431, 0.0 ], + "id" : "obj-85", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 384.591850278514926, 660.640774250030518, 59.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 88.146259307861328, 353.333527863025665, 67.0, 25.0 ], + "saved_attribute_attributes" : { + "activebgcolor" : { + "expression" : "" + } +, + "activebgoncolor" : { + "expression" : "" + } +, + "activetextoncolor" : { + "expression" : "" + } +, + "bordercolor" : { + "expression" : "" + } +, + "focusbordercolor" : { + "expression" : "" + } +, + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[1]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2 + } + + } +, + "text" : "RGB", + "texton" : "HSL", + "varname" : "colormodeoutput" + } + + } +, { + "box" : { + "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], + "id" : "obj-176", + "knobcolor" : [ 0.701960784313725, 0.415686274509804, 0.886274509803922, 0.8 ], + "knobshape" : 5, + "maxclass" : "slider", + "numinlets" : 1, + "numoutlets" : 1, + "orientation" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 26.791262269020081, 245.0, 76.0, 11.0 ], + "presentation" : 1, + "presentation_rect" : [ -1.970674157142639, 265.903399765491486, 304.581722795963287, 75.235379040241241 ] + } + + } +, { + "box" : { + "fontface" : 1, + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 69.392822203773505, 409.893202006816864, 69.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 29.085271954536438, 234.60980823636055, 69.0, 20.0 ], + "text" : "Start color", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-10", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 146.392822203773505, 505.893202006816864, 36.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 81.250910758972168, 174.472675055265427, 36.0, 18.0 ], + "text" : "Light.", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 86.892822203773505, 505.893202006816864, 27.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 14.775193810462952, 174.472675055265427, 27.0, 18.0 ], + "text" : "Sat.", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "fontface" : 1, + "fontsize" : 10.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 20.892822203773505, 505.893202006816864, 27.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 50.085271954536438, 116.457170218229294, 27.0, 18.0 ], + "text" : "Hue", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 176.392822203773534, 788.54854828119278, 146.388350605964661, 46.407767176628113 ], + "presentation" : 1, + "presentation_rect" : [ -0.015029668807983, 268.558903276920319, 300.781690150499344, 69.758495092391968 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-76", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 26.718066213268315, 571.922322750091553, 147.17475599050519, 14.368932664394379 ], + "presentation" : 1, + "presentation_rect" : [ 0.0, 255.0, 151.323129653930664, 14.368932664394379 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-63", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 233.718066213268372, 571.922322750091553, 147.17475599050519, 14.368932664394379 ], + "presentation" : 1, + "presentation_rect" : [ 150.323129653930664, 255.0, 150.443530827760696, 14.368932664394379 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 400.892822000000024, 31.621908843517303, 89.0, 22.0 ], + "text" : "storagewindow" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 492.892822000000024, 31.621908843517303, 83.0, 22.0 ], + "text" : "storage_close" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-142", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-144", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "order" : 1, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-79", 0 ], + "order" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-16", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "order" : 0, + "source" : [ "obj-176", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "order" : 1, + "source" : [ "obj-176", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "order" : 1, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-33", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-39", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-142", 0 ], + "order" : 1, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "order" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-56", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-60", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "order" : 6, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 0 ], + "order" : 5, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "order" : 4, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "order" : 1, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-89", 0 ], + "order" : 2, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-90", 0 ], + "order" : 3, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "order" : 0, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "source" : [ "obj-69", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-144", 0 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-71", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-74", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-74", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-75", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-76", 0 ], + "source" : [ "obj-75", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-75", 0 ], + "source" : [ "obj-81", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-75", 1 ], + "source" : [ "obj-82", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-75", 2 ], + "source" : [ "obj-83", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 2 ], + "source" : [ "obj-88", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 1 ], + "source" : [ "obj-89", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 1 ], + "order" : 0, + "source" : [ "obj-90", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 0 ], + "order" : 1, + "source" : [ "obj-90", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-91", 1 ] + } + + } + ], + "bgcolor" : [ 0.611764705882353, 0.776470588235294, 0.905882352941176, 1.0 ], + "editing_bgcolor" : [ 0.612, 0.776, 0.906, 1.0 ] + } + +} diff --git a/Cubehelix.js b/old/Cubehelix.js similarity index 100% rename from Cubehelix.js rename to old/Cubehelix.js diff --git a/Cubehelix.maxpat b/old/Cubehelix.maxpat similarity index 100% rename from Cubehelix.maxpat rename to old/Cubehelix.maxpat diff --git a/Cubehelix_example.maxpat b/old/Cubehelix_example.maxpat similarity index 100% rename from Cubehelix_example.maxpat rename to old/Cubehelix_example.maxpat diff --git a/jit.cubehelix - Copie.maxpat b/old/jit.cubehelix_old.maxpat similarity index 100% rename from jit.cubehelix - Copie.maxpat rename to old/jit.cubehelix_old.maxpat