From ee199021336bf429b2e4741bded1ed9b21b30db5 Mon Sep 17 00:00:00 2001 From: tfl Date: Sun, 17 Sep 2023 15:43:58 +0200 Subject: [PATCH] Complete rewrite using jit instead of js. Now with range mode. Still needs some work. --- jit.cubehelix - Copie.maxpat | 4107 ++++++++++++++++++++++++++++++++++ jit.cubehelix.helper.maxpat | 3702 ++++++++++++++++++++++++++++++ jit.cubehelix.maxpat | 2643 ++++++++++++++++++++++ 3 files changed, 10452 insertions(+) create mode 100644 jit.cubehelix - Copie.maxpat create mode 100644 jit.cubehelix.helper.maxpat create mode 100644 jit.cubehelix.maxpat diff --git a/jit.cubehelix - Copie.maxpat b/jit.cubehelix - Copie.maxpat new file mode 100644 index 0000000..f8e0692 --- /dev/null +++ b/jit.cubehelix - Copie.maxpat @@ -0,0 +1,4107 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 1203.0, 137.0, 646.0, 760.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-83", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 69.0, 346.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, + "visible" : 1, + "boxes" : [ { + "box" : { + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 243.0, 363.0, 192.0, 22.0 ], + "text" : "color_start 0.046667 0.725 0. 1." + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 243.0, 391.0, 192.0, 22.0 ], + "text" : "color_end 1.566667 0.725 1. 1." + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 163.0, 71.0, 29.5, 22.0 ], + "text" : "/ 2." + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 397.0, 176.0, 61.0, 22.0 ], + "text" : "color_end" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 382.0, 161.0, 65.0, 22.0 ], + "text" : "color_start" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 314.0, 176.0, 61.0, 22.0 ], + "text" : "color_end" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 299.0, 161.0, 65.0, 22.0 ], + "text" : "color_start" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 309.0, 108.0, 44.0, 22.0 ], + "text" : "sel 0 1" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 163.0, 108.0, 29.5, 22.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 47.0, 108.0, 29.5, 22.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 108.0, 108.0, 29.5, 22.0 ], + "text" : "t b f" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 108.0, 154.0, 29.5, 22.0 ], + "text" : "+ 0." + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 220.0, 272.0, 155.0, 22.0 ], + "text" : "pak color_end -1.5 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.0, 272.0, 147.0, 22.0 ], + "text" : "pak color_start 0. 0.5 0. 1." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 47.0, 396.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "index" : 4, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 309.0, 27.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 163.0, 27.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 108.0, 27.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.0, 27.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "order" : 1, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "order" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "order" : 1, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "order" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 1, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 1 ], + "order" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 1, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 396.0, 137.0, 91.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p process_data" + } + + } +, { + "box" : { + "id" : "obj-82", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 775.0, 255.0, 67.0, 22.0 ], + "text" : "* 3.141593" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-81", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 751.0, 289.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-76", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 625.0, 381.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-73", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 745.477272727272748, 381.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-71", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 573.0, 381.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-69", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 741.0, 331.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-65", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 517.977272727272748, 381.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 486.727272727272748, 414.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" : [ 682.977272727272748, 381.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 651.727272727272748, 414.0, 144.0, 22.0 ], + "text" : "pak color_end 0. 0.5 0. 1." + } + + } +, { + "box" : { + "id" : "obj-58", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 578.0, 331.0, 121.0, 22.0 ], + "text" : "color_end 0. 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 573.0, 305.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" : [ 406.0, 331.0, 165.0, 22.0 ], + "presentation_linecount" : 2, + "text" : "color_end -1.333333 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 406.0, 363.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-48", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 406.0, 305.0, 165.0, 22.0 ], + "presentation_linecount" : 2, + "text" : "color_start 0.166666 0.5 0. 1." + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 309.441558441558414, 354.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 204.441558441558414, 387.0, 129.0, 22.0 ], + "text" : "jit.matrix 4 float32 10 1" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 15.5, 738.0, 602.227272727272748, 56.53314208984375 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 527.0, 637.0, 29.5, 22.0 ], + "text" : "-1" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 15.5, 667.0, 602.227272727272748, 56.53314208984375 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 195.0, 151.0, 29.5, 22.0 ], + "text" : "0" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], + "color" : [ 1.0, 0.0, 0.0, 1.0 ], + "id" : "obj-8", + "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" : [ 1206.0, 214.0, 672.0, 730.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 317.0, 14.0, 169.0, 22.0 ], + "text" : "param color_end -1.5 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 105.0, 14.0, 162.0, 22.0 ], + "text" : "param color_start 0. 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);", + "fontface" : 0, + "fontname" : "", + "fontsize" : 12.0, + "id" : "obj-12", + "maxclass" : "codebox", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 84.0, 531.0, 382.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 540.0, 14.0, 99.0, 22.0 ], + "text" : "param gamma 1." + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 483.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-12", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 204.441558441558414, 440.0, 189.0, 22.0 ], + "text" : "jit.gen @title cubehelix-interpolate" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "float", "float", "", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 45.0, 152.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-40", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 544.0, 400.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-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 151.0, 317.0, 33.0, 20.0 ], + "text" : "rgba" + } + + } +, { + "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-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 33.0, 317.0, 113.0, 22.0 ], + "text" : "zl.indexmap 1 2 3 0" + } + + } +, { + "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, 361.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 33.0, 272.0, 40.0, 22.0 ], + "text" : "jit.iter" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 239.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "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-3", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 276.0, 229.0, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p rgb2hsl" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 544.0, 400.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-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 151.0, 317.0, 33.0, 20.0 ], + "text" : "rgba" + } + + } +, { + "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-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 33.0, 317.0, 113.0, 22.0 ], + "text" : "zl.indexmap 1 2 3 0" + } + + } +, { + "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, 361.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 33.0, 272.0, 40.0, 22.0 ], + "text" : "jit.iter" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 239.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "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-3", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 89.0, 229.0, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p rgb2hsl" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 385.0, 259.0, 242.0, 22.0 ], + "text" : "0. 0. 0. 1. 1. 1. 1. 1." + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 562.0, 180.0, 29.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 505.0, 203.0, 39.0, 22.0 ], + "text" : "zl.join" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "swatch", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 560.0, 118.0, 128.0, 32.0 ], + "saturation" : 1.0 + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "swatch", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 0, + "patching_rect" : [ 425.0, 118.0, 128.0, 32.0 ], + "saturation" : 1.0 + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 363.0, 30.0, 85.0, 22.0 ], + "text" : "0 0 0 1 1 1 1 1" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 333.0, 67.0, 129.0, 22.0 ], + "text" : "0. 0.5 0. 1 -1.5 0.5 1. 1" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 122.0, 86.0, 55.0, 22.0 ], + "text" : "zl.slice 4" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 544.666666666666629, 350.0, 72.0, 22.0 ], + "text" : "prepend l_e" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 419.666666666666686, 350.0, 71.0, 22.0 ], + "text" : "prepend l_s" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 576.666666666666629, 420.0, 79.0, 20.0 ], + "presentation_linecount" : 2, + "text" : "end lightness" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "index" : 4, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 544.666666666666629, 410.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 451.666666666666686, 420.0, 83.0, 20.0 ], + "presentation_linecount" : 2, + "text" : "start lightness" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-6", + "index" : 3, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 419.666666666666686, 410.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 307.916666666666686, 331.0, 71.0, 20.0 ], + "text" : "end hue" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 307.916666666666686, 420.0, 71.0, 20.0 ], + "text" : "rotation" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 275.916666666666686, 330.0, 29.5, 22.0 ], + "text" : "t b f" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 275.916666666666686, 372.0, 29.5, 22.0 ], + "text" : "!- 0." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 275.916666666666686, 410.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 121.499999999999986, 420.0, 71.0, 20.0 ], + "text" : "start hue" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-12", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 89.0, 410.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "float", "float", "float", "float" ], + "patching_rect" : [ 276.0, 290.0, 74.0, 22.0 ], + "text" : "unpack f f f f" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "float", "float", "float", "float" ], + "patching_rect" : [ 89.0, 290.0, 74.0, 22.0 ], + "text" : "unpack f f f f" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 276.0, 184.0, 52.0, 22.0 ], + "text" : "gate 2 1" + } + + } +, { + "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 1" + } + + } +, { + "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 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "order" : 1, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 1 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "order" : 1, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 1 ], + "order" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 1 ], + "source" : [ "obj-34", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 1, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 594.538461538461547, 112.0, 132.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p process_input_colors" + } + + } +, { + "box" : { + "id" : "obj-57", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 35.0, 317.0, 50.0, 36.0 ], + "text" : "0.106106" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 15.5, 260.0, 52.0, 22.0 ], + "text" : "/ 3.1415" + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 15.5, 196.0, 90.0, 22.0 ], + "text" : "0.31059" + } + + } +, { + "box" : { + "id" : "obj-49", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.0, 137.0, 59.0, 22.0 ], + "text" : "0.333333" + } + + } +, { + "box" : { + "id" : "obj-99", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 496.0, 720.0, 57.0, 22.0 ], + "text" : "plane $1" + } + + } +, { + "box" : { + "disabled" : [ 0, 0, 0, 0 ], + "id" : "obj-187", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 496.0, 645.0, 18.0, 66.0 ], + "size" : 4, + "value" : 1 + } + + } +, { + "box" : { + "cols" : 128, + "colwidth" : 138, + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-208", + "maxclass" : "jit.cellblock", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "list", "", "", "" ], + "patching_rect" : [ 219.5, 835.766571044921875, 344.0, 139.0 ], + "precision" : 3, + "rows" : 1 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-214", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 481.0, 755.0, 66.0, 23.0 ], + "text" : "128 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-217", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 412.0, 755.0, 66.0, 23.0 ], + "text" : "float32" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-218", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 328.0, 755.0, 74.0, 23.0 ], + "text" : "4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-219", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 328.0, 720.0, 159.0, 23.0 ], + "text" : "route planecount type dim" + } + + } +, { + "box" : { + "id" : "obj-220", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 328.0, 687.0, 75.0, 22.0 ], + "text" : "jit.matrixinfo" + } + + } +, { + "box" : { + "id" : "obj-221", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 328.0, 648.0, 55.0, 22.0 ], + "text" : "jit.matrix" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 552.0, 846.0, 30.0, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-40", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 552.0, 746.0, 112.0, 23.0 ], + "text" : "planemap 0 1 2 3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 552.0, 821.0, 112.0, 23.0 ], + "text" : "planemap 3 3 3 3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-46", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 552.0, 798.0, 112.0, 23.0 ], + "text" : "planemap 2 2 2 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-47", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 552.0, 771.0, 112.0, 23.0 ], + "text" : "planemap 1 1 1 1" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 552.0, 877.0, 80.0, 60.0 ], + "planemap" : [ 1, 1, 1, 1 ], + "sync" : 1 + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 130.0, 176.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 303.941558441558414, 270.0, 29.5, 22.0 ], + "text" : "t b f" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-41", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 252.441558441558414, 338.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 252.441558441558414, 306.0, 81.0, 22.0 ], + "text" : "expr ($f1-$f2)" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-38", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 248.941558441558414, 266.0, 50.0, 22.0 ] + } + + } +, { + "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" : [ 665.727272727272748, 202.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-125", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 555.727272727272748, 202.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-123", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 555.727272727272748, 234.0, 71.0, 22.0 ], + "text" : "prepend flip" + } + + } +, { + "box" : { + "id" : "obj-122", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 318.168831168831275, 491.0, 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: \ncolormodeoutput: RGB if 0, HSL if 1\ncolormodeinput: RGB if 0, HSL if 1 (stands for start_color and end_color messages)" + } + + } +, { + "box" : { + "id" : "obj-120", + "linecount" : 10, + "maxclass" : "comment", + "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" + } + + } +, { + "box" : { + "id" : "obj-115", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 31.0, 440.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-113", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 31.0, 479.0, 29.5, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-112", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 31.0, 510.0, 52.0, 22.0 ], + "text" : "gate 2 1" + } + + } +, { + "box" : { + "id" : "obj-109", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 64.0, 547.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "box" : { + "id" : "obj-107", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 896.727272727272748, 299.0, 75.0, 22.0 ], + "text" : "prepend dim" + } + + } +, { + "box" : { + "id" : "obj-106", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 860.727272727272748, 267.0, 79.0, 22.0 ], + "text" : "prepend type" + } + + } +, { + "box" : { + "id" : "obj-98", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 860.727272727272748, 234.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "id" : "obj-95", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 860.727272727272748, 75.0, 72.0, 22.0 ], + "text" : "patcherargs" + } + + } +, { + "box" : { + "id" : "obj-92", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 737.5, 143.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-88", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.666666666666657, 887.5662841796875, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 84.666666666666657, 811.0662841796875, 29.5, 22.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "id" : "obj-86", + "maxclass" : "newobj", + "numinlets" : 5, + "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" : [ 737.5, 172.0, 29.5, 22.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 641.727272727272748, 234.0, 67.0, 22.0 ], + "text" : "pak dim i 1" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 149.0, 547.0, 93.0, 22.0 ], + "text" : "pak getcell 10 0" + } + + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 641.727272727272748, 267.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" : [ 107.72727272727272, 287.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 65.0, 742.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" : "", + "id" : "obj-44", + "index" : 1, + "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" : [ 665.727272727272748, 143.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 665.727272727272748, 172.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 107.72727272727272, 317.0, 52.0, 22.0 ], + "text" : "gate 1 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 64.0, 12.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 14, + "numoutlets" : 14, + "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], + "patching_rect" : [ 64.0, 81.0, 646.0, 22.0 ], + "text" : "route bang auto start rotation gamma saturation flip dim getcolor colormodeoutput listoutput colormodeinput color_range" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-20", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 431.441558441558414, 202.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-19", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 331.441558441558414, 202.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-18", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 227.441558441558442, 202.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 140.72727272727272, 287.0, 73.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-16", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 140.441558441558442, 202.0, 79.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 431.441558441558414, 234.0, 109.0, 22.0 ], + "text" : "prepend saturation" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 140.441558441558442, 234.0, 79.0, 22.0 ], + "text" : "prepend start" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 331.441558441558414, 234.0, 96.0, 22.0 ], + "text" : "prepend gamma" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 227.441558441558442, 234.0, 96.0, 22.0 ], + "text" : "prepend rotation" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], + "color" : [ 1.0, 0.0, 0.0, 1.0 ], + "id" : "obj-5", + "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" : [ 1206.0, 214.0, 672.0, 730.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 438.0, 55.0, 79.0, 22.0 ], + "text" : "param s_e 1." + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 357.0, 55.0, 78.0, 22.0 ], + "text" : "param s_s 1." + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 273.0, 55.0, 75.0, 22.0 ], + "text" : "param l_e 1." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 192.0, 55.0, 75.0, 22.0 ], + "text" : "param l_s 0." + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 547.0, 14.0, 71.0, 22.0 ], + "text" : "param flip 0" + } + + } +, { + "box" : { + "code" : "fract = flip*1 + (1 + flip * -2) * norm;\r\nangle = TWOPI * (start + 1 + rotation * fract);// + PI/2; //added pi/2 to start from red \r\nlight = pow(l_s + l_e * fract, gamma);\r\namp = saturation * fract * (1 - fract) / 2.;\r\ncos_angle = cos(angle);\r\nsin_angle = sin(angle);\r\n\r\nr = light + amp * (-0.14861 * cos_angle + 1.78277 * sin_angle);\r\n//r = max(min(r,1.0),0.0);\r\n\r\ng = light + amp * (-0.29227 * cos_angle - 0.90649 * sin_angle);\r\n//g = max(min(g,1.0),0.0);\r\n\r\nb = light + amp * (1.97294 * cos_angle);\r\n//b = max(min(b,1.0),0.0);\r\n\r\n\r\nout1 = vec(1, r, g, b);", + "fontface" : 0, + "fontname" : "", + "fontsize" : 12.0, + "id" : "obj-12", + "maxclass" : "codebox", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 182.0, 531.0, 284.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 315.0, 14.0, 99.0, 22.0 ], + "text" : "param gamma 1." + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 424.0, 14.0, 112.0, 22.0 ], + "text" : "param saturation 1." + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 192.0, 14.0, 110.0, 22.0 ], + "text" : "param rotation -1.5" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 91.0, 14.0, 83.0, 22.0 ], + "text" : "param start 0." + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 501.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-12", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 64.0, 440.0, 129.0, 22.0 ], + "text" : "jit.gen @title cubehelix" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 64.0, 387.0, 129.0, 22.0 ], + "text" : "jit.matrix 4 float32 10 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 870.227272727272748, 372.0, 73.5, 372.0 ], + "source" : [ "obj-106", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 906.227272727272748, 372.0, 73.5, 372.0 ], + "source" : [ "obj-107", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-109", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 236.941558441558442, 273.0, 150.22727272727272, 273.0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-109", 0 ], + "source" : [ "obj-112", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-112", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-112", 0 ], + "source" : [ "obj-113", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-113", 0 ], + "source" : [ "obj-115", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 340.941558441558414, 273.0, 150.22727272727272, 273.0 ], + "order" : 2, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "order" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 1, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 565.227272727272748, 273.0, 150.22727272727272, 273.0 ], + "source" : [ "obj-123", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-123", 0 ], + "source" : [ "obj-125", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 440.941558441558414, 273.0, 150.22727272727272, 273.0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "order" : 1, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "order" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "midpoints" : [ 204.72727272727272, 426.0, 73.5, 426.0 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-99", 0 ], + "source" : [ "obj-187", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-115", 0 ], + "source" : [ "obj-21", 9 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-125", 0 ], + "order" : 0, + "source" : [ "obj-21", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 1, + "source" : [ "obj-21", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "order" : 1, + "source" : [ "obj-21", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-21", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "order" : 1, + "source" : [ "obj-21", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-21", 10 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-21", 7 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 1 ], + "source" : [ "obj-21", 12 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-21", 11 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 3 ], + "order" : 1, + "source" : [ "obj-21", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 2 ], + "order" : 0, + "source" : [ "obj-21", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 1 ], + "order" : 0, + "source" : [ "obj-21", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "order" : 0, + "source" : [ "obj-21", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "source" : [ "obj-21", 8 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-214", 1 ], + "midpoints" : [ 430.833333333333314, 748.0, 537.5, 748.0 ], + "source" : [ "obj-219", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-217", 1 ], + "midpoints" : [ 384.166666666666686, 745.0, 468.5, 745.0 ], + "source" : [ "obj-219", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-218", 1 ], + "midpoints" : [ 337.5, 745.0, 392.5, 745.0 ], + "source" : [ "obj-219", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-219", 0 ], + "source" : [ "obj-220", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-208", 0 ], + "order" : 2, + "source" : [ "obj-221", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-220", 0 ], + "order" : 1, + "source" : [ "obj-221", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "order" : 0, + "source" : [ "obj-221", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 117.22727272727272, 372.0, 73.5, 372.0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-99", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 1 ], + "midpoints" : [ 223.5, 766.0, 253.0, 766.0, 253.0, 532.0, 195.5, 532.0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 1 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 1, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "order" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-34", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-221", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 1 ], + "source" : [ "obj-42", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-221", 0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-45", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "order" : 1, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-112", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 2 ], + "source" : [ "obj-50", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-51", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "order" : 1, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 1 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 661.727272727272748, 372.0, 73.5, 372.0 ], + "order" : 1, + "source" : [ "obj-55", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 73.5, 372.0 ], + "order" : 1, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "midpoints" : [ 661.727272727272748, 372.0, 213.941558441558414, 372.0 ], + "order" : 0, + "source" : [ "obj-55", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "midpoints" : [ 651.227272727272748, 372.0, 213.941558441558414, 372.0 ], + "order" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 158.5, 581.0, 40.5, 581.0 ], + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 1 ], + "source" : [ "obj-64", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 1 ], + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-66", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-67", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-67", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 2 ], + "source" : [ "obj-69", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 2 ], + "source" : [ "obj-71", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 3 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "source" : [ "obj-74", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 3 ], + "source" : [ "obj-76", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "order" : 0, + "source" : [ "obj-81", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "order" : 1, + "source" : [ "obj-81", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-83", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 1 ], + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 1 ], + "source" : [ "obj-87", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 0 ], + "source" : [ "obj-87", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "midpoints" : [ 923.227272727272748, 104.0, 944.0, 104.0, 944.0, 64.0, 73.5, 64.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 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-208", 0 ], + "source" : [ "obj-99", 0 ] + } + + } + ] + } + +} diff --git a/jit.cubehelix.helper.maxpat b/jit.cubehelix.helper.maxpat new file mode 100644 index 0000000..4cd01d4 --- /dev/null +++ b/jit.cubehelix.helper.maxpat @@ -0,0 +1,3702 @@ +{ + "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.maxpat b/jit.cubehelix.maxpat new file mode 100644 index 0000000..301cf9a --- /dev/null +++ b/jit.cubehelix.maxpat @@ -0,0 +1,2643 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 1244.0, 161.0, 646.0, 760.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-60", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 417.0, 902.0, 57.0, 22.0 ], + "text" : "plane $1" + } + + } +, { + "box" : { + "disabled" : [ 0, 0, 0, 0 ], + "id" : "obj-187", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 417.0, 827.0, 18.0, 66.0 ], + "size" : 4, + "value" : 1 + } + + } +, { + "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 + } + + } +, { + "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" + } + + } +, { + "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" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-218", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 249.0, 937.0, 74.0, 23.0 ], + "text" : "4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-219", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 249.0, 902.0, 159.0, 23.0 ], + "text" : "route planecount type dim" + } + + } +, { + "box" : { + "id" : "obj-220", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 249.0, 869.0, 75.0, 22.0 ], + "text" : "jit.matrixinfo" + } + + } +, { + "box" : { + "id" : "obj-221", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 249.0, 830.0, 55.0, 22.0 ], + "text" : "jit.matrix" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 7, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 69.0, 346.0, 718.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-36", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 477.0, 35.0, 24.0, 20.0 ], + "text" : "flip" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 387.5, 35.0, 61.0, 20.0 ], + "presentation_linecount" : 2, + "text" : "saturation" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 330.0, 35.0, 49.0, 20.0 ], + "text" : "rotation" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 189.0, 89.0, 63.0, 20.0 ], + "text" : "start (hue)" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 148.0, 35.0, 65.0, 20.0 ], + "text" : "color_end" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 86.0, 89.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, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 528.0, 324.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" : { + "comment" : "", + "id" : "obj-3", + "index" : 3, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 309.0, 22.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 544.0, 400.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-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 151.0, 317.0, 33.0, 20.0 ], + "text" : "rgba" + } + + } +, { + "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-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 33.0, 317.0, 113.0, 22.0 ], + "text" : "zl.indexmap 1 2 3 0" + } + + } +, { + "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, 361.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 33.0, 272.0, 40.0, 22.0 ], + "text" : "jit.iter" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 239.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "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-3", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 276.0, 229.0, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p rgb2hsl" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 5, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 544.0, 400.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-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 151.0, 317.0, 33.0, 20.0 ], + "text" : "rgba" + } + + } +, { + "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-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 33.0, 317.0, 113.0, 22.0 ], + "text" : "zl.indexmap 1 2 3 0" + } + + } +, { + "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, 361.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 33.0, 272.0, 40.0, 22.0 ], + "text" : "jit.iter" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 33.0, 239.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "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-3", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 89.0, 229.0, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p rgb2hsl" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 275.916666666666686, 410.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-12", + "index" : 1, + "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" + } + + } +, { + "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 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 1, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 24.0, 113.0, 143.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "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, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 148.0, 57.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-24", + "index" : 2, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 86.0, 57.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 387.5, 104.0, 29.5, 22.0 ], + "text" : "/ 2." + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 573.0, 234.0, 61.0, 22.0 ], + "text" : "color_end" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 550.0, 208.0, 65.0, 22.0 ], + "text" : "color_start" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 487.0, 234.0, 61.0, 22.0 ], + "text" : "color_end" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 467.0, 208.0, 65.0, 22.0 ], + "text" : "color_start" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 477.0, 155.0, 44.0, 22.0 ], + "text" : "sel 0 1" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 387.5, 141.0, 29.5, 22.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 189.0, 141.0, 29.5, 22.0 ], + "text" : "t f f" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 330.0, 141.0, 29.5, 22.0 ], + "text" : "t b f" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 330.0, 189.0, 29.5, 22.0 ], + "text" : "+ 0." + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 330.0, 302.0, 155.0, 22.0 ], + "text" : "pak color_end -1.5 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 157.0, 302.0, 147.0, 22.0 ], + "text" : "pak color_start 0. 0.5 0. 1." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 157.0, 426.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "index" : 7, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 477.0, 57.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 6, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 387.5, 57.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 5, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 330.0, 57.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 4, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 189.0, 57.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "order" : 1, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "order" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "order" : 1, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 476.5, 288.0, 166.5, 288.0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "midpoints" : [ 496.5, 288.0, 339.5, 288.0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 582.5, 288.0, 166.5, 288.0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "midpoints" : [ 559.5, 288.0, 339.5, 288.0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 1 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 2 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-67", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 175.741758241758077, 140.0, 308.186813186813367, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p process_data" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 64.0, 426.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" : { + "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], + "color" : [ 1.0, 0.0, 0.0, 1.0 ], + "id" : "obj-8", + "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" : [ 1206.0, 214.0, 672.0, 730.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 317.0, 14.0, 169.0, 22.0 ], + "text" : "param color_end -1.5 0.5 1. 1." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 105.0, 14.0, 162.0, 22.0 ], + "text" : "param color_start 0. 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);", + "fontface" : 0, + "fontname" : "", + "fontsize" : 12.0, + "id" : "obj-12", + "maxclass" : "codebox", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 84.0, 531.0, 382.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 540.0, 14.0, 99.0, 22.0 ], + "text" : "param gamma 1." + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], + "text" : "in 1" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 483.0, 35.0, 22.0 ], + "text" : "out 1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-12", 0 ] + } + + } + ] + } +, + "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" + } + + } +, { + "box" : { + "id" : "obj-120", + "linecount" : 10, + "maxclass" : "comment", + "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" + } + + } +, { + "box" : { + "id" : "obj-115", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 31.0, 440.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-113", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 31.0, 479.0, 29.5, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-112", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 31.0, 510.0, 52.0, 22.0 ], + "text" : "gate 2 1" + } + + } +, { + "box" : { + "id" : "obj-109", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 64.0, 547.0, 60.0, 22.0 ], + "text" : "jit.rgb2hsl" + } + + } +, { + "box" : { + "id" : "obj-107", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 788.727272727272748, 304.0, 75.0, 22.0 ], + "text" : "prepend dim" + } + + } +, { + "box" : { + "id" : "obj-106", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 752.727272727272748, 272.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", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 752.727272727272748, 80.0, 72.0, 22.0 ], + "text" : "patcherargs" + } + + } +, { + "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" : "", + "id" : "obj-88", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.666666666666657, 887.5662841796875, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 84.666666666666657, 811.0662841796875, 29.5, 22.0 ], + "text" : "t b i" + } + + } +, { + "box" : { + "id" : "obj-86", + "maxclass" : "newobj", + "numinlets" : 5, + "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" + } + + } +, { + "box" : { + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 537.35714285714289, 296.0, 67.0, 22.0 ], + "text" : "pak dim i 1" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 149.0, 547.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" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 65.0, 742.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" : "", + "id" : "obj-44", + "index" : 1, + "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 ] + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 142.741758241758077, 246.0, 52.0, 22.0 ], + "text" : "gate 1 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 31.0, 11.0, 30.0, 30.0 ] + } + + } +, { + "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 ] + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 175.741758241758077, 216.0, 73.5, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 513.208791208791126, 172.0, 96.0, 22.0 ], + "text" : "prepend gamma" + } + + } + ], + "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 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-112", 0 ], + "source" : [ "obj-113", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-113", 0 ], + "source" : [ "obj-115", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 522.708791208791126, 207.0, 185.241758241758077, 207.0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-187", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-115", 0 ], + "midpoints" : [ 40.5, 115.0, 40.5, 115.0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-21", 10 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 667.285714285714334, 627.5, 199.5, 627.5 ], + "source" : [ "obj-21", 13 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-21", 11 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-21", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 6 ], + "source" : [ "obj-21", 9 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 5 ], + "source" : [ "obj-21", 8 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 4 ], + "source" : [ "obj-21", 7 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 3 ], + "source" : [ "obj-21", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 2 ], + "source" : [ "obj-21", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 1 ], + "source" : [ "obj-21", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "source" : [ "obj-21", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "source" : [ "obj-21", 12 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-214", 1 ], + "midpoints" : [ 351.833333333333314, 930.0, 458.5, 930.0 ], + "source" : [ "obj-219", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-217", 1 ], + "midpoints" : [ 305.166666666666686, 927.0, 389.5, 927.0 ], + "source" : [ "obj-219", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-218", 1 ], + "midpoints" : [ 258.5, 927.0, 313.5, 927.0 ], + "source" : [ "obj-219", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "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" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 1 ], + "midpoints" : [ 223.5, 766.0, 253.0, 766.0, 253.0, 534.0, 195.5, 534.0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "midpoints" : [ 581.35714285714289, 675.0, 223.5, 675.0 ], + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 1 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-34", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 3, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-221", 0 ], + "order" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "order" : 1, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "order" : 2, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-45", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 2 ], + "source" : [ "obj-50", 1 ] + } + + } +, { + "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 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-208", 0 ], + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "midpoints" : [ 158.5, 581.0, 40.5, 581.0 ], + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "source" : [ "obj-74", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-112", 1 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-83", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 1 ], + "midpoints" : [ 619.071428571428555, 534.0, 195.5, 534.0 ], + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 1 ], + "source" : [ "obj-87", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 0 ], + "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 ], + "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 ] + } + + } + ] + } + +}