diff --git a/Cubehelix.js b/Cubehelix.js index a982874..55e88b4 100644 --- a/Cubehelix.js +++ b/Cubehelix.js @@ -1,74 +1,129 @@ // Cubehelix color scheme for Max/MSP/Jitter -// By Théophile Clet - https://tflcl.xyz -// Based on Dave Green's work: http://www.mrao.cam.ac.uk/~dag/CUBEHELIX/cubetry.html -// Original publication: Green, D. A., 2011, `A colour scheme for the display of astronomical intensity images', Bulletin of the Astronomical Society of India, 39, 289. (2011BASI...39..289G at ADS.) ( http://astron-soc.in/bulletin/11June/289392011.pdf ) -// Original js code taken straight from the online example implementation: http://www.mrao.cam.ac.uk/~dag/CUBEHELIX/cubetry.html - - -autowatch = 0; +// By Théophile Clet +// https://tflcl.xyz +// +// Based on Dave Green's work: +// http://www.mrao.cam.ac.uk/~dag/CUBEHELIX/cubetry.html +// +// Original publication: Green, D. A., 2011, `A colour scheme for the display of astronomical intensity images', Bulletin of the Astronomical Society of India, 39, 289. (2011BASI...39..289G at ADS.) +// http://astron-soc.in/bulletin/11June/289392011.pdf ) +// +// Original js code taken straight from the online example implementation: +// http://www.mrao.cam.ac.uk/~dag/CUBEHELIX/cubetry.html + + +autowatch = 1; inlets = 1; -outlets = 2; +outlets = 4; + +var RGBOUTLET = 0; +var HSLOUTLET = 1; +var LISTOUTLET = 2 +var DUMPOUTLET = 3; setinletassist(0, "List as input: {makeCubehelixRGB, start[float], rots[float], sign[-1,1], hue[float], gamma[float], levels(int), flip([0,1]}") -setoutletassist(0, "To jit.matrix: outputs the color palette as a 4-plane 1 dim matrix"); -setoutletassist(1, "dump out. Outputs paramters used for generation. Bangs when finished."); +setoutletassist(0, "To jit.matrix: always outputs the color palette as a ARGB 4-plane matrix"); +setoutletassist(1, "To jit.matrix: if 'hslenable 1' outputs the color palette as a AHSL 4-plane matrix"); +setoutletassist(2, "If 'listmode 1' outputs all colors in list format as RGB or HSL."); +setoutletassist(3, "Bangs when generation is done."); -function makeCubehelixRGB(start, rots, sign, hue, gamma, levels, flip){ - rots = rots*sign; +var hslmode = false; +var listmode = false; + +function hslenable(s){ + hslmode = s; +} +function listenable(s){ + listmode = s; +} + +function makeCubehelix(start, rots, hue, gamma, levels, flip){ //dumpOut(start, rots, hue, gamma, levels, flip); + outlet(RGBOUTLET, "dim", levels, 1); + if (hslmode) { + outlet(HSLOUTLET, "dim", levels, 1); + } + - outlet(0, "dim", levels, 1); for (var i = 0; i < levels; i++) { + var fract = CubeHelixFract(i,levels,flip); - var red = CubeHelixRGB(fract,start,rots,hue,gamma,1); - var grn = CubeHelixRGB(fract,start,rots,hue,gamma,2); - var blu = CubeHelixRGB(fract,start,rots,hue,gamma,3); + var color = CubeHelixRGB(fract,start,rots,hue,gamma); + if(flip == 1){fract = 1.0-fract;} - outlet(0, "setcell", i, 0, "val", 1., red, grn, blu); + outlet(RGBOUTLET, "setcell", i, 0, "val", 1., color); + + if (hslmode) { + color = rgb2hsl(color[0], color[1], color[2]); + outlet(HSLOUTLET, "setcell", i, 0, "val", 1., color); + } + + if (listmode) { outlet(LISTOUTLET, i, color); } + } - outlet(0, "bang"); - outlet(1, "bang"); + + outlet(RGBOUTLET, "bang"); + if (hslmode) { outlet(HSLOUTLET, "bang"); } + if (listmode) { outlet(LISTOUTLET, "bang"); } + + outlet(DUMPOUTLET, "bang"); } function dumpOut(start, rots, hue, gamma, levels, flip){ - outlet(1, "start", start); - outlet(1, "rots", rots); - outlet(1, "hue", hue); - outlet(1, "gamma", gamma); - outlet(1, "levels", levels); - outlet(1, "flip", flip); + outlet(DUMPOUTLET, "start", start); + outlet(DUMPOUTLET, "rots", rots); + outlet(DUMPOUTLET, "hue", hue); + outlet(DUMPOUTLET, "gamma", gamma); + outlet(DUMPOUTLET, "levels", levels); + outlet(DUMPOUTLET, "flip", flip); +} + +function rgb2hsl(r,g,b) { + var max = Math.max(r, g, b), min = Math.min(r, g, b); + var h, s, l = (max + min) / 2; + + if (max == min) { + h = s = 0; // achromatic + } else { + var d = max - min; + s = l > 0.5 ? d / (2 - max - min) : d / (max + min); + + switch (max) { + case r: h = (g - b) / d + (g < b ? 6 : 0); break; + case g: h = (b - r) / d + 2; break; + case b: h = (r - g) / d + 4; break; + } + + h /= 6; + } + + return [ h, s, l ]; } // ---------------------------------------------------------------------------- // 2017 May 30: make consistent with Fortran +// 2021 mai 12: a bit of calculation optimization (I think) - Théophile Clet // ---------------------------------------------------------------------------- -function CubeHelixRGB(fract,start,rots,hue,gamma,irgb){ +function CubeHelixRGB(fract,start,rots,hue,gamma){ var angle = 2*Math.PI*(start/3.0+1+rots*fract); var fract = Math.pow(fract, gamma); var amp=hue*fract*(1-fract)/2.0; var r=fract+amp*(-0.14861*Math.cos(angle)+1.78277*Math.sin(angle)); - var g=fract+amp*(-0.29227*Math.cos(angle)-0.90649*Math.sin(angle)); - var b=fract+amp*(+1.97294*Math.cos(angle)); - r=Math.max(Math.min(r,1.0),0.0); + + var g=fract+amp*(-0.29227*Math.cos(angle)-0.90649*Math.sin(angle)); g=Math.max(Math.min(g,1.0),0.0); + + var b=fract+amp*(+1.97294*Math.cos(angle)); b=Math.max(Math.min(b,1.0),0.0); - if(irgb == 1){ - return r; - } - else if(irgb == 2) { - return g; - } - else { - return b; - } + return [r, g, b]; } // ---------------------------------------------------------------------------- diff --git a/Cubehelix.maxpat b/Cubehelix.maxpat index 830b117..9b5e54f 100644 --- a/Cubehelix.maxpat +++ b/Cubehelix.maxpat @@ -5,11 +5,13 @@ "major" : 7, "minor" : 3, "revision" : 6, - "architecture" : "x64", + "architecture" : "x86", "modernui" : 1 } , - "rect" : [ 908.0, 385.0, 1048.0, 923.0 ], + "rect" : [ 60.0, 212.0, 1075.0, 1049.0 ], + "bgcolor" : [ 0.610374, 0.77695, 0.906999, 1.0 ], + "editing_bgcolor" : [ 0.547664, 0.726767, 0.884197, 1.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -38,25 +40,25 @@ "subpatcher_template" : "", "boxes" : [ { "box" : { - "id" : "obj-94", + "id" : "obj-25", "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 188.0, 713.0, 44.0, 22.0 ], + "numinlets" : 1, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "int", "float" ], + "patching_rect" : [ 685.25, 578.0, 89.0, 22.0 ], "style" : "", - "text" : "switch" + "text" : "unpack f f f f i f" } } , { "box" : { - "id" : "obj-92", + "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 132.0, 619.5, 29.5, 22.0 ], + "patching_rect" : [ 673.75, 544.0, 29.5, 22.0 ], "style" : "", "text" : "t l l" } @@ -64,121 +66,117 @@ } , { "box" : { - "id" : "obj-93", - "maxclass" : "newobj", + "id" : "obj-20", + "maxclass" : "message", "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 377.666656, 648.0, 57.0, 22.0 ], + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 833.726196, 336.5, 43.0, 22.0 ], "style" : "", - "text" : "zl.slice 5" + "text" : "set $1" } } , { "box" : { - "id" : "obj-91", + "id" : "obj-18", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 162.5, 428.0, 40.0, 22.0 ], + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 833.726196, 305.5, 55.0, 22.0 ], "style" : "", - "text" : "t b b i" + "text" : "clip 0. 3." } } , { "box" : { - "id" : "obj-85", - "maxclass" : "live.text", - "numinlets" : 1, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 3, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 1, - "patching_rect" : [ 934.0, 235.0, 40.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 2.0, 172.75, 40.0, 20.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_longname" : "live.text[1]", - "parameter_shortname" : "live.text[1]", - "parameter_type" : 2, - "parameter_mmax" : 1.0, - "parameter_enum" : [ "val1", "val2" ] - } + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 793.726196, 258.5, 59.0, 22.0 ], + "style" : "", + "text" : "split 0. 3." + } - } -, - "text" : "RGB", - "texton" : "HSL", - "varname" : "live.text[1]" + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 575.0, 4.0, 24.0, 24.0 ], + "style" : "" } } , { "box" : { - "id" : "obj-71", + "id" : "obj-7", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 183.5, 471.0, 44.0, 22.0 ], + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1257.72644, 139.0, 49.0, 22.0 ], "style" : "", - "text" : "gate 2" + "text" : "clip 0 1" } } , { "box" : { - "id" : "obj-67", + "id" : "obj-6", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 3, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 162.5, 395.0, 29.5, 22.0 ], + "outlettype" : [ "" ], + "patching_rect" : [ 1180.393066, 139.0, 49.0, 22.0 ], "style" : "", - "text" : "+ 1" + "text" : "clip 0 1" } } , { "box" : { - "id" : "obj-65", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 13.0, 625.0, 44.0, 22.0 ], - "style" : "", - "text" : "gate 2" + "comment" : "If \"listenable 1\", outputs all colors as lists (in RGB or HSL depending on hslmode)", + "id" : "obj-5", + "index" : 3, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 336.0, 1379.0, 30.0, 30.0 ], + "style" : "" } } , { "box" : { - "id" : "obj-45", + "id" : "obj-21", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 953.0, 195.0, 29.5, 22.0 ], + "patching_rect" : [ 242.75, 825.0, 78.0, 22.0 ], "style" : "", - "text" : "0" + "text" : "listenable $1" } } , { "box" : { - "comment" : "RGB/HSL mode [0-1]", - "id" : "obj-42", - "index" : 8, - "maxclass" : "inlet", - "numinlets" : 0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 934.0, 101.0, 30.0, 30.0 ], - "style" : "" + "patching_rect" : [ 340.392822, 57.0, 56.0, 22.0 ], + "style" : "", + "text" : "deferlow" } } @@ -187,688 +185,748 @@ "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 38.0, 663.0, 62.0, 22.0 ], + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 340.392822, 35.5, 72.0, 22.0 ], "style" : "", - "text" : "jit.rgb2hsl" + "text" : "loadmess 1" } } , { "box" : { - "id" : "obj-1", - "maxclass" : "newobj", + "fontface" : 1, + "id" : "obj-198", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 38.0, 697.0, 138.0, 22.0 ], + "numoutlets" : 0, + "patching_rect" : [ 340.392822, 14.0, 54.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 241.0, -0.25, 54.0, 20.0 ], "style" : "", - "text" : "jit.matrix 4 float32 360 1" + "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" : 4, + "outlettype" : [ "preset", "int", "preset", "int" ], + "patching_rect" : [ 296.392822, 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 ], + "style" : "" } } , { "box" : { - "id" : "obj-69", + "id" : "obj-196", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "int", "int" ], - "patching_rect" : [ 618.5, 365.0, 50.0, 22.0 ], + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 741.25, 649.0, 20.0, 22.0 ], "style" : "", - "text" : "change" + "text" : "t i" } } , { "box" : { - "id" : "obj-39", + "id" : "obj-195", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "int" ], - "patching_rect" : [ 225.0, 816.0, 65.0, 22.0 ], + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 91.392822, 169.0, 40.0, 22.0 ], "style" : "", - "text" : "unpack s i" + "text" : "t i i i" } } , { "box" : { - "id" : "obj-28", - "maxclass" : "newobj", + "id" : "obj-178", + "maxclass" : "message", "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 225.0, 782.0, 57.0, 22.0 ], + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 911.059448, 336.5, 43.0, 22.0 ], "style" : "", - "text" : "zl slice 2" + "text" : "set $1" } } , { "box" : { - "id" : "obj-9", + "id" : "obj-179", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 157.0, 750.0, 29.5, 22.0 ], + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 911.059448, 305.5, 55.0, 22.0 ], "style" : "", - "text" : "t l l" + "text" : "clip 0. 4." } } , { "box" : { - "id" : "obj-84", + "id" : "obj-175", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 654.0, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 175.0, 139.0, 29.5, 22.0 ], + "patching_rect" : [ 988.392822, 336.5, 43.0, 22.0 ], "style" : "", - "text" : "12" + "text" : "set $1" } } , { "box" : { - "id" : "obj-82", + "id" : "obj-177", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 556.5, 327.0, 55.0, 22.0 ], + "patching_rect" : [ 988.392822, 305.5, 55.0, 22.0 ], "style" : "", - "text" : "clip 0. 1." + "text" : "clip 0. 2." } } , { "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 618.5, 327.0, 65.0, 22.0 ], + "id" : "obj-174", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1065.726318, 336.5, 43.0, 22.0 ], "style" : "", - "text" : "split 0 360" + "text" : "set $1" } } , { "box" : { - "id" : "obj-78", + "id" : "obj-165", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 3, "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 556.5, 390.5, 29.5, 22.0 ], + "outlettype" : [ "" ], + "patching_rect" : [ 1065.726318, 305.5, 55.0, 22.0 ], "style" : "", - "text" : "i" + "text" : "clip 0. 2." } } , { "box" : { - "id" : "obj-77", + "id" : "obj-164", "maxclass" : "newobj", "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 556.5, 296.0, 80.0, 22.0 ], + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 1025.726318, 258.5, 59.0, 22.0 ], "style" : "", - "text" : "route float int" + "text" : "split 0. 2." } } , { "box" : { - "id" : "obj-38", + "id" : "obj-161", "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 556.5, 358.0, 29.5, 22.0 ], + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 948.392822, 258.5, 59.0, 22.0 ], "style" : "", - "text" : "* 1." + "text" : "split 0. 2." } } , { "box" : { - "id" : "obj-36", + "id" : "obj-157", "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 5, - "outlettype" : [ "", "", "", "", "" ], - "patching_rect" : [ 13.0, 64.0, 252.0, 22.0 ], + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 871.059448, 258.5, 59.0, 22.0 ], "style" : "", - "text" : "route bang getcolor float makeCubehelixRGB" + "text" : "split 0. 4." } } , { "box" : { - "comment" : "Flip colors [0 or 1]", - "id" : "obj-35", - "index" : 7, - "maxclass" : "inlet", - "numinlets" : 0, + "id" : "obj-155", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 821.0, 101.0, 30.0, 30.0 ], - "style" : "" + "outlettype" : [ "int" ], + "patching_rect" : [ 793.726196, 227.0, 35.0, 22.0 ], + "style" : "", + "text" : "% 3." } } , { "box" : { - "comment" : "Number of steps [int>0]", - "id" : "obj-34", - "index" : 6, - "maxclass" : "inlet", - "numinlets" : 0, + "id" : "obj-149", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 654.0, 101.0, 30.0, 30.0 ], - "style" : "" + "outlettype" : [ "int" ], + "patching_rect" : [ 716.392822, 143.0, 29.5, 22.0 ], + "style" : "", + "text" : "i" } } , { "box" : { - "comment" : "γ factor [float]", - "id" : "obj-33", - "index" : 5, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 526.0, 101.0, 30.0, 30.0 ], - "style" : "" + "id" : "obj-146", + "maxclass" : "newobj", + "numinlets" : 9, + "numoutlets" : 9, + "outlettype" : [ "", "", "", "", "", "", "", "", "" ], + "patching_rect" : [ 716.392822, 103.0, 637.666992, 22.0 ], + "style" : "", + "text" : "route steps startcolor rotations hue gamma flip hslmode listmode" } } , { "box" : { - "comment" : "Hue [float]", - "id" : "obj-32", - "index" : 4, - "maxclass" : "inlet", - "numinlets" : 0, + "id" : "obj-119", + "maxclass" : "newobj", + "numinlets" : 7, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 401.0, 101.0, 30.0, 30.0 ], - "style" : "" + "patching_rect" : [ 63.25, 761.0, 209.0, 22.0 ], + "style" : "", + "text" : "pak makeCubehelix 1. 1.5 1. 1. 128 0" } } , { "box" : { - "comment" : "Rotation direction [0: negative ; 1: positive]", - "id" : "obj-21", - "index" : 3, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 251.0, 101.0, 30.0, 30.0 ], - "style" : "" + "fontface" : 1, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1180.393066, 258.5, 93.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 32.0, 266.25, 93.0, 20.0 ], + "style" : "", + "text" : "Output modes", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "comment" : "Number of rotations [float]", - "id" : "obj-17", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 127.0, 101.0, 30.0, 30.0 ], - "style" : "" - } + "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.72644, 311.0, 67.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 194.0, 263.75, 67.0, 25.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.text[2]", + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2, + "parameter_mmax" : 1.0, + "parameter_enum" : [ "val1", "val2" ] + } - } -, { - "box" : { - "comment" : "Start color [0.-3.]. Bang to output the matrix. getcolor [0.-1. or int]", - "id" : "obj-14", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 11.0, 30.0, 30.0 ], - "style" : "" + } +, + "text" : "Matrix", + "texton" : "Matrix+List", + "varname" : "live.text[2]" } } , { "box" : { - "id" : "obj-13", - "maxclass" : "newobj", + "fontface" : 1, + "fontsize" : 30.0, + "id" : "obj-150", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 1001.0, 141.0, 60.0, 22.0 ], + "numoutlets" : 0, + "patching_rect" : [ 91.392822, 8.0, 158.0, 40.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, -0.25, 152.0, 40.0 ], "style" : "", - "text" : "loadbang" + "text" : "Cubehelix", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-148", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 57.0, 359.0, 50.0, 22.0 ], - "style" : "", - "text" : "compile" - } - - } -, { - "box" : { - "id" : "obj-135", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 306.666656, 413.0, 56.0, 22.0 ], + "fontface" : 1, + "id" : "obj-147", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 716.392822, 222.0, 76.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 158.5, -0.25, 76.0, 20.0 ], "style" : "", - "text" : "sel bang" + "text" : "Randomize", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "id" : "obj-176", - "knobcolor" : [ 0.803922, 0.898039, 0.909804, 0.7 ], - "knobshape" : 5, - "maxclass" : "slider", + "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], + "id" : "obj-144", + "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, - "orientation" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 370.0, 444.0, 76.0, 11.0 ], + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], + "patching_rect" : [ 716.392822, 247.5, 29.0, 29.0 ], "presentation" : 1, - "presentation_rect" : [ 2.0, 194.75, 334.5, 71.75 ], - "size" : 256.0, + "presentation_rect" : [ 168.5, 17.25, 51.0, 51.0 ], "style" : "" } } , { "box" : { - "id" : "obj-134", - "linecount" : 3, - "maxclass" : "comment", + "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" : 0, - "patching_rect" : [ 474.0, 522.5, 267.0, 47.0 ], - "style" : "", - "text" : "Cubehelix color scheme\nOriginal algorithm and code by Dave Green\nhttp://www.mrao.cam.ac.uk/~dag/CUBEHELIX" + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], + "patching_rect" : [ 604.392822, 305.5, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 158.5, 180.5, 15.0, 15.0 ], + "style" : "" } } , { "box" : { - "id" : "obj-130", - "maxclass" : "newobj", + "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" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 195.0, 839.0, 30.0, 22.0 ], - "style" : "", - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-125", - "maxclass" : "newobj", - "numinlets" : 5, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 195.0, 880.0, 91.0, 22.0 ], - "style" : "", - "text" : "pack color i f f f" + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], + "patching_rect" : [ 456.392822, 305.5, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 180.5, 15.0, 15.0 ], + "style" : "" } } , { "box" : { - "comment" : "dump out and single cell color output", - "id" : "obj-124", - "index" : 2, - "maxclass" : "outlet", + "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" : 0, - "patching_rect" : [ 88.0, 917.0, 30.0, 30.0 ], + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], + "patching_rect" : [ 308.392822, 305.5, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 158.5, 94.5, 15.0, 15.0 ], "style" : "" } } , { "box" : { - "comment" : "matrix output", - "id" : "obj-123", - "index" : 1, - "maxclass" : "outlet", + "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" : 0, - "patching_rect" : [ 10.0, 913.0, 30.0, 30.0 ], + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], + "patching_rect" : [ 152.892822, 305.5, 15.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 94.5, 15.0, 15.0 ], "style" : "" } } , { "box" : { - "id" : "obj-122", + "id" : "obj-103", "maxclass" : "newobj", - "numinlets" : 4, + "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 387.333313, 681.0, 104.0, 22.0 ], + "outlettype" : [ "float" ], + "patching_rect" : [ 604.392822, 364.0, 41.0, 22.0 ], "style" : "", - "text" : "pak bgfillcolor f f f" + "text" : "/ 100." } } , { "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.0, 0.301323, 0.313365 ], - "id" : "obj-118", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 387.333313, 713.0, 128.0, 128.0 ], - "presentation" : 1, - "presentation_rect" : [ 2.0, 268.5, 334.5, 30.0 ], - "proportion" : 0.39, - "style" : "" + "id" : "obj-105", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 604.392822, 333.0, 75.0, 22.0 ], + "style" : "", + "text" : "random 201" } } , { "box" : { - "id" : "obj-117", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 455.0, 439.5, 83.0, 20.0 ], + "id" : "obj-99", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 456.392822, 364.0, 41.0, 22.0 ], "style" : "", - "text" : "Get cell value" + "text" : "/ 100." } } , { "box" : { - "id" : "obj-106", - "maxclass" : "message", + "id" : "obj-102", + "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 370.0, 413.0, 168.0, 22.0 ], + "outlettype" : [ "int" ], + "patching_rect" : [ 456.392822, 333.0, 75.0, 22.0 ], "style" : "", - "text" : "setminmax 0 $1, floatoutput 0" + "text" : "random 201" } } , { "box" : { - "id" : "obj-100", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 13.0, 509.0, 443.0, 74.0 ], - "presentation" : 1, - "presentation_rect" : [ 2.0, 192.5, 334.5, 74.0 ] + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 308.392822, 364.0, 41.0, 22.0 ], + "style" : "", + "text" : "/ 100." } } , { "box" : { - "id" : "obj-88", + "id" : "obj-97", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 654.0, 267.0, 29.5, 22.0 ], + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 308.392822, 333.0, 75.0, 22.0 ], "style" : "", - "text" : "t i i" + "text" : "random 401" } } , { "box" : { - "id" : "obj-79", + "id" : "obj-59", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 13.0, 471.0, 138.0, 22.0 ], + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 152.392822, 364.0, 41.0, 22.0 ], "style" : "", - "text" : "jit.matrix 4 float32 360 1" + "text" : "/ 100." } } , { "box" : { - "id" : "obj-76", - "maxclass" : "toggle", - "numinlets" : 1, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 821.0, 235.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 117.5, 164.0, 24.0, 24.0 ], - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-74", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 821.0, 141.0, 46.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 86.5, 164.0, 30.0, 20.0 ], + "patching_rect" : [ 152.392822, 333.0, 75.0, 22.0 ], "style" : "", - "text" : "Flip" + "text" : "random 301" } } , { "box" : { - "id" : "obj-72", + "id" : "obj-23", "maxclass" : "number", - "minimum" : 0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 654.0, 235.0, 50.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 117.5, 139.0, 50.0, 22.0 ], + "patching_rect" : [ 91.392822, 135.0, 50.0, 22.0 ], "style" : "" } } , { "box" : { - "id" : "obj-70", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 767.0, 186.0, 31.0, 22.0 ], + "id" : "obj-11", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 9.392822, 203.0, 65.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 272.5, 139.0, 31.0, 22.0 ], + "presentation_rect" : [ 95.0, 92.0, 30.0, 20.0 ], "style" : "", - "text" : "360" + "text" : "Flip", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-68", - "maxclass" : "message", - "numinlets" : 2, + "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" : [ "" ], - "patching_rect" : [ 729.0, 186.0, 31.0, 22.0 ], + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 9.392822, 227.0, 26.0, 26.0 ], "presentation" : 1, - "presentation_rect" : [ 239.5, 139.0, 31.0, 22.0 ], + "presentation_rect" : [ 116.0, 89.0, 26.0, 26.0 ], "style" : "", - "text" : "256" + "uncheckedcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] } } , { "box" : { - "id" : "obj-66", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 688.0, 186.0, 31.0, 22.0 ], + "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.392822, 90.0, 156.0, 27.5 ], "presentation" : 1, - "presentation_rect" : [ 206.5, 139.0, 31.0, 22.0 ], + "presentation_rect" : [ 4.0, 53.0, 137.0, 27.5 ], + "rounded" : 0.0, + "segmented" : 1, + "spacing_x" : 2.0, "style" : "", - "text" : "128" + "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" : { - "id" : "obj-64", + "fontface" : 1, + "id" : "obj-143", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 654.0, 141.0, 99.0, 20.0 ], + "patching_rect" : [ 91.392822, 68.0, 44.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 17.5, 139.0, 99.0, 20.0 ], + "presentation_rect" : [ 4.0, 37.0, 44.0, 20.0 ], "style" : "", - "text" : "Number of steps" + "text" : "Steps", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-60", - "maxclass" : "button", + "format" : 6, + "id" : "obj-138", + "maxclass" : "flonum", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 13.0, 278.0, 24.0, 24.0 ], + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 543.392822, 549.0, 50.0, 22.0 ], "style" : "" } } , { "box" : { - "id" : "obj-58", - "maxclass" : "newobj", - "numinlets" : 8, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 309.0, 249.0, 22.0 ], - "style" : "", - "text" : "pak makeCubehelixRGB 1. 1.5 -1 1. 1. 128 0" - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 599.0, 186.0, 29.5, 22.0 ], + "fontface" : 1, + "id" : "obj-139", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 547.392822, 203.0, 71.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 238.0, 109.0, 29.5, 22.0 ], + "presentation_rect" : [ 175.5, 178.0, 55.0, 20.0 ], "style" : "", - "text" : "1.4" + "text" : "γ factor", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-53", - "maxclass" : "message", - "numinlets" : 2, + "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" : [ "" ], - "patching_rect" : [ 561.5, 186.0, 29.5, 22.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 543.392822, 417.0, 136.0, 18.0 ], "presentation" : 1, - "presentation_rect" : [ 206.5, 109.0, 29.5, 22.0 ], - "style" : "", - "text" : "1." + "presentation_rect" : [ 158.5, 228.0, 136.0, 18.0 ], + "size" : 2.0, + "style" : "" } } , { "box" : { - "id" : "obj-54", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 526.0, 186.0, 29.5, 22.0 ], + "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.392822, 227.0, 137.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 175.0, 109.0, 29.5, 22.0 ], - "style" : "", - "text" : "0.6" + "presentation_rect" : [ 158.5, 202.0, 137.0, 22.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.tab[2]", + "parameter_shortname" : "live.tab", + "parameter_type" : 2, + "parameter_enum" : [ "0.6", "1.", "1.4" ], + "parameter_unitstyle" : 0 + } + + } +, + "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-55", + "id" : "obj-137", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 526.0, 235.0, 50.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 117.5, 109.0, 50.0, 22.0 ], + "patching_rect" : [ 395.392822, 549.0, 50.0, 22.0 ], "style" : "" } } , { "box" : { + "fontface" : 1, + "id" : "obj-131", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 399.392822, 203.0, 65.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 21.0, 178.0, 33.0, 20.0 ], + "style" : "", + "text" : "Hue", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], "floatoutput" : 1, - "id" : "obj-56", + "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" : [ 526.0, 219.0, 76.0, 10.0 ], + "patching_rect" : [ 395.392822, 417.0, 136.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 228.0, 136.0, 18.0 ], "size" : 2.0, "style" : "" } @@ -876,173 +934,251 @@ } , { "box" : { - "id" : "obj-57", - "maxclass" : "comment", + "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" : 0, - "patching_rect" : [ 526.0, 141.0, 116.0, 20.0 ], + "numoutlets" : 3, + "outlettype" : [ "", "", "float" ], + "parameter_enable" : 1, + "patching_rect" : [ 395.392822, 227.0, 137.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 66.5, 109.0, 50.0, 20.0 ], - "style" : "", - "text" : "γ factor" + "presentation_rect" : [ 4.0, 202.0, 137.0, 22.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.tab[1]", + "parameter_shortname" : "live.tab", + "parameter_type" : 2, + "parameter_enum" : [ "0.5", "1.", "1.5" ], + "parameter_unitstyle" : 0 + } + + } +, + "spacing_x" : 3.0, + "spacing_y" : 3.0, + "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "varname" : "live.tab[1]" } } , { "box" : { - "id" : "obj-46", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 474.0, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 238.0, 81.0, 29.5, 22.0 ], + "id" : "obj-129", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "int" ], + "patching_rect" : [ 247.392822, 479.0, 30.0, 22.0 ], "style" : "", - "text" : "1.5" + "text" : "t b i" } } , { "box" : { - "id" : "obj-47", - "maxclass" : "message", + "id" : "obj-128", + "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 436.5, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 206.5, 81.0, 29.5, 22.0 ], + "outlettype" : [ "float" ], + "patching_rect" : [ 247.892822, 511.5, 29.5, 22.0 ], "style" : "", - "text" : "1." + "text" : "* 1." } } , { "box" : { - "id" : "obj-48", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-121", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 401.0, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 175.0, 81.0, 29.5, 22.0 ], + "patching_rect" : [ 286.392822, 449.0, 97.0, 22.0 ], "style" : "", - "text" : "0.5" + "text" : "expr 1 - ($i1 * 2)" } } , { "box" : { - "format" : 6, - "id" : "obj-49", - "maxclass" : "flonum", + "id" : "obj-120", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 401.0, 235.0, 50.0, 22.0 ], + "numoutlets" : 0, + "patching_rect" : [ 325.392822, 201.0, 30.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 117.5, 81.0, 50.0, 22.0 ], - "style" : "" + "presentation_rect" : [ 251.5, 92.0, 30.0, 20.0 ], + "style" : "", + "text" : "Flip", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "floatoutput" : 1, - "id" : "obj-50", - "maxclass" : "slider", + "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" : [ "" ], + "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 401.0, 219.0, 76.0, 10.0 ], - "size" : 2.0, - "style" : "" + "patching_rect" : [ 360.392822, 199.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 271.5, 90.0, 24.0, 24.0 ], + "style" : "", + "uncheckedcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] } } , { "box" : { - "id" : "obj-51", + "fontface" : 1, + "id" : "obj-114", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 401.0, 141.0, 116.0, 20.0 ], + "patching_rect" : [ 251.392822, 203.0, 71.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 83.5, 81.0, 33.0, 20.0 ], + "presentation_rect" : [ 175.5, 92.0, 71.0, 20.0 ], "style" : "", - "text" : "Hue" + "text" : "Rotations", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-43", - "maxclass" : "newobj", + "fontface" : 1, + "id" : "obj-113", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 251.0, 235.0, 139.0, 22.0 ], + "numoutlets" : 0, + "patching_rect" : [ 91.392822, 203.0, 72.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 15.5, 92.0, 72.0, 20.0 ], "style" : "", - "text" : "if $i1 == 0 then -1 else 1" + "text" : "Start color", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-40", - "maxclass" : "live.text", + "format" : 6, + "id" : "obj-111", + "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 247.892822, 549.0, 50.0, 22.0 ], + "style" : "" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-109", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 91.392822, 544.0, 50.0, 22.0 ], + "style" : "" + } + + } +, { + "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.392822, 417.0, 136.0, 18.0 ], + "presentation" : 1, + "presentation_rect" : [ 158.5, 141.0, 136.0, 18.0 ], + "size" : 4.0, + "style" : "" + } + + } +, { + "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" : [ 251.0, 186.0, 57.0, 17.0 ], + "patching_rect" : [ 247.392822, 227.0, 137.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 117.5, 57.0, 57.0, 17.0 ], + "presentation_rect" : [ 158.5, 115.0, 137.0, 22.0 ], "saved_attribute_attributes" : { "valueof" : { - "parameter_longname" : "live.text", - "parameter_shortname" : "live.text", + "parameter_longname" : "live.tab", + "parameter_shortname" : "live.tab", "parameter_type" : 2, - "parameter_mmax" : 1.0, - "parameter_enum" : [ "val1", "val2" ] + "parameter_enum" : [ "0.", "0.5", "1.", "1.5", "2." ], + "parameter_unitstyle" : 0 } } , - "text" : "Negative", - "texton" : "Positive", - "varname" : "live.text" + "spacing_x" : 3.0, + "spacing_y" : 3.0, + "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "varname" : "live.tab" } } , { "box" : { - "id" : "obj-37", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 251.0, 141.0, 104.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 12.5, 57.0, 104.0, 20.0 ], + "id" : "obj-101", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 203.392822, 258.5, 29.5, 22.0 ], "style" : "", - "text" : "Rotation direction" + "text" : "3" } } , { "box" : { - "id" : "obj-25", + "id" : "obj-98", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 200.0, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 238.0, 32.0, 29.5, 22.0 ], + "patching_rect" : [ 147.392822, 258.5, 29.5, 22.0 ], "style" : "", "text" : "2" } @@ -1050,854 +1186,1333 @@ } , { "box" : { - "id" : "obj-26", + "id" : "obj-94", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 162.5, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 206.5, 32.0, 29.5, 22.0 ], + "patching_rect" : [ 91.392822, 258.5, 29.5, 22.0 ], "style" : "", - "text" : "1.5" + "text" : "1" } } , { "box" : { - "id" : "obj-27", - "maxclass" : "message", - "numinlets" : 2, + "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" : [ "" ], - "patching_rect" : [ 127.0, 186.0, 29.5, 22.0 ], + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ], + "patching_rect" : [ 203.392822, 227.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 177.0, 32.0, 29.5, 22.0 ], - "style" : "", - "text" : "1" + "presentation_rect" : [ 116.0, 120.0, 24.0, 24.0 ], + "style" : "" } } , { "box" : { - "format" : 6, - "id" : "obj-29", - "maxclass" : "flonum", + "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" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 127.0, 235.0, 50.0, 22.0 ], + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ], + "patching_rect" : [ 147.392822, 227.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 117.5, 32.0, 50.0, 22.0 ], + "presentation_rect" : [ 60.0, 120.0, 24.0, 24.0 ], "style" : "" } } , { "box" : { - "floatoutput" : 1, - "id" : "obj-30", - "maxclass" : "slider", + "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" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 127.0, 219.0, 76.0, 10.0 ], - "size" : 2.0, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], + "patching_rect" : [ 91.392822, 227.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 120.0, 24.0, 24.0 ], "style" : "" } } , { "box" : { - "id" : "obj-31", - "maxclass" : "comment", + "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" : 0, - "patching_rect" : [ 127.0, 141.0, 116.0, 20.0 ], + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 91.392822, 417.0, 136.0, 18.0 ], "presentation" : 1, - "presentation_rect" : [ 0.5, 32.0, 116.0, 20.0 ], - "style" : "", - "text" : "Number of rotations" + "presentation_rect" : [ 4.0, 146.0, 137.0, 18.0 ], + "size" : 3.0, + "style" : "" } } , { "box" : { - "id" : "obj-20", - "maxclass" : "comment", + "id" : "obj-86", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 86.0, 163.0, 19.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 291.0, 8.0, 19.0, 20.0 ], + "numoutlets" : 2, + "outlettype" : [ "", "int" ], + "patching_rect" : [ 622.75, 1282.0, 65.0, 22.0 ], "style" : "", - "text" : "B" + "text" : "unpack s i" } } , { "box" : { - "id" : "obj-19", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 48.5, 163.0, 19.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 238.0, 8.0, 19.0, 20.0 ], + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 622.75, 1248.0, 57.0, 22.0 ], "style" : "", - "text" : "G" + "text" : "zl slice 2" } } , { "box" : { - "id" : "obj-18", - "maxclass" : "comment", + "id" : "obj-89", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 13.0, 163.0, 19.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 177.0, 8.0, 19.0, 20.0 ], + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 554.75, 1216.0, 29.5, 22.0 ], "style" : "", - "text" : "R" + "text" : "t l l" } } , { "box" : { - "id" : "obj-16", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 86.0, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 307.0, 8.0, 29.5, 22.0 ], + "id" : "obj-90", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 592.75, 1305.0, 30.0, 22.0 ], "style" : "", - "text" : "3" + "text" : "t b l" } } , { "box" : { - "id" : "obj-12", - "maxclass" : "message", - "numinlets" : 2, + "id" : "obj-95", + "maxclass" : "newobj", + "numinlets" : 5, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 48.5, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 253.5, 8.0, 29.5, 22.0 ], + "patching_rect" : [ 592.75, 1346.0, 107.0, 22.0 ], "style" : "", - "text" : "2" + "text" : "pack hslcolor i f f f" } } , { "box" : { - "id" : "obj-10", - "maxclass" : "message", + "id" : "obj-96", + "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 13.0, 186.0, 29.5, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 198.0, 8.0, 29.5, 22.0 ], + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 554.75, 1248.0, 57.0, 22.0 ], "style" : "", - "text" : "1" + "text" : "zl.slice 5" } } , { "box" : { - "format" : 6, - "id" : "obj-7", - "maxclass" : "flonum", + "id" : "obj-83", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 13.0, 235.0, 50.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 117.5, 8.0, 50.0, 22.0 ], - "style" : "" + "numoutlets" : 0, + "patching_rect" : [ 212.75, 909.0, 37.0, 20.0 ], + "style" : "", + "text" : "HSL" } } , { "box" : { - "floatoutput" : 1, - "id" : "obj-5", - "maxclass" : "slider", + "id" : "obj-81", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 1, - "patching_rect" : [ 13.0, 219.0, 76.0, 10.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_longname" : "slider", - "parameter_shortname" : "slider", - "parameter_type" : 3, - "parameter_invisible" : 1 - } - - } -, - "size" : 3.0, + "numoutlets" : 0, + "patching_rect" : [ 63.25, 909.0, 37.0, 20.0 ], "style" : "", - "varname" : "slider" + "text" : "RGB" } } , { "box" : { - "id" : "obj-4", - "maxclass" : "comment", + "comment" : "if \"hslenable 1\", outputs AHSL colors as a matrix", + "id" : "obj-73", + "index" : 2, + "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 13.0, 141.0, 65.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 51.5, 8.0, 65.0, 20.0 ], - "style" : "", - "text" : "Start color" + "patching_rect" : [ 212.75, 1379.0, 30.0, 30.0 ], + "style" : "" } } , { "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", + "id" : "obj-63", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 13.0, 387.0, 94.0, 23.0 ], - "saved_object_attributes" : { - "filename" : "Cubehelix.js", - "parameter_enable" : 0 - } -, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 212.75, 937.0, 138.0, 22.0 ], "style" : "", - "text" : "js Cubehelix.js" + "text" : "jit.matrix 4 float32 360 1" } } , { "box" : { - "id" : "obj-170", + "id" : "obj-62", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 157.0, 782.0, 57.0, 22.0 ], + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 315.0, 682.0, 29.5, 22.0 ], "style" : "", - "text" : "zl.slice 5" + "text" : "t i i" } } , { "box" : { - "id" : "obj-159", + "id" : "obj-61", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 370.0, 467.0, 72.0, 22.0 ], + "patching_rect" : [ 160.5, 825.0, 79.0, 22.0 ], "style" : "", - "text" : "getcell $1 0" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-123", 0 ], - "source" : [ "obj-1", 0 ] + "text" : "hslenable $1" } } , { - "patchline" : { - "destination" : [ "obj-94", 2 ], - "source" : [ "obj-1", 1 ] - } - - } + "box" : { + "id" : "obj-92", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 182.25, 1066.5, 29.5, 22.0 ], + "style" : "", + "text" : "t l l" + } + + } , { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-10", 0 ] + "box" : { + "id" : "obj-93", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 192.75, 1100.5, 57.0, 22.0 ], + "style" : "", + "text" : "zl.slice 5" } } , { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-106", 0 ] + "box" : { + "id" : "obj-91", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 315.0, 715.0, 40.0, 22.0 ], + "style" : "", + "text" : "t b b i" } } , { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-12", 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-85", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 1180.393066, 305.5, 59.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 120.0, 263.75, 67.0, 25.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "live.text[1]", + "parameter_shortname" : "live.text[1]", + "parameter_type" : 2, + "parameter_mmax" : 1.0, + "parameter_enum" : [ "val1", "val2" ] + } + + } +, + "text" : "RGB", + "texton" : "RGB+HSL", + "varname" : "live.text[1]" } } , { - "patchline" : { - "destination" : [ "obj-118", 0 ], - "source" : [ "obj-122", 0 ] + "box" : { + "id" : "obj-71", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 336.0, 901.0, 34.0, 22.0 ], + "style" : "", + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "int" ], + "patching_rect" : [ 484.75, 1282.0, 65.0, 22.0 ], + "style" : "", + "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 ], + "style" : "", + "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 ], + "style" : "", + "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 ], + "style" : "", + "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 ], + "style" : "", + "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 ], + "style" : "", + "text" : "i" + } + + } +, { + "box" : { + "id" : "obj-77", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 633.25, 651.0, 80.0, 22.0 ], + "style" : "", + "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 ], + "style" : "", + "text" : "* 1." + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 7, + "numoutlets" : 7, + "outlettype" : [ "", "", "", "", "", "", "" ], + "patching_rect" : [ 529.75, 57.0, 307.0, 22.0 ], + "style" : "", + "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" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 529.75, 4.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-148", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 107.25, 825.0, 50.0, 22.0 ], + "style" : "", + "text" : "compile" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 570.416626, 776.0, 56.0, 22.0 ], + "style" : "", + "text" : "sel bang" + } + + } +, { + "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 ], + "size" : 32.0, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-134", + "linecount" : 11, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 562.726318, 941.0, 291.0, 154.0 ], + "style" : "", + "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 ], + "style" : "", + "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 ], + "style" : "", + "text" : "pack rgbcolor i f f f" + } + + } +, { + "box" : { + "comment" : "Bangs when generation is done. Also outputs selected color", + "id" : "obj-124", + "index" : 4, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 454.75, 1379.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "Outputs ARGB colors as a matrix", + "id" : "obj-123", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 60.25, 1379.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-122", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 202.416656, 1126.933716, 104.0, 22.0 ], + "style" : "", + "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 ], + "style" : "", + "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 ], + "style" : "", + "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" : [ "", "" ], + "patching_rect" : [ 63.25, 975.0, 443.0, 74.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 296.5, 294.5, 74.0 ] + } + + } +, { + "box" : { + "id" : "obj-79", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "jit_matrix", "" ], + "patching_rect" : [ 63.25, 937.0, 138.0, 22.0 ], + "style" : "", + "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 + } +, + "style" : "", + "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 ], + "style" : "", + "text" : "zl.slice 5" + } + + } +, { + "box" : { + "id" : "obj-159", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 633.75, 830.0, 72.0, 22.0 ], + "style" : "", + "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.726318, 755.5, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 155.5, 86.0, 144.0, 78.0 ], + "proportion" : 0.39, + "rounded" : 10, + "style" : "" + } + + } +, { + "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.726318, 720.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 155.5, 173.0, 144.0, 78.0 ], + "proportion" : 0.39, + "rounded" : 10, + "style" : "" + } + + } +, { + "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.392822, 649.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 173.0, 144.0, 78.0 ], + "proportion" : 0.39, + "rounded" : 10, + "style" : "" + } + + } +, { + "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.392822, 695.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 1.0, 89.5, 144.0, 78.0 ], + "proportion" : 0.39, + "rounded" : 10, + "style" : "" } } , { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-125", 0 ] + "box" : { + "angle" : 270.0, + "bgcolor" : [ 1.0, 1.0, 1.0 ], + "id" : "obj-118", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 202.416656, 1153.5, 104.0, 15.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 365.5, 295.5, 35.0 ], + "proportion" : 0.39, + "style" : "" } } -, { + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 5, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-27", 0 ], - "order" : 4, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-101", 0 ] } } , { "patchline" : { - "destination" : [ "obj-45", 0 ], - "order" : 0, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-99", 0 ], + "source" : [ "obj-102", 0 ] } } , { "patchline" : { - "destination" : [ "obj-47", 0 ], - "order" : 3, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-140", 0 ], + "source" : [ "obj-103", 0 ] } } , { "patchline" : { - "destination" : [ "obj-53", 0 ], - "order" : 2, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-107", 0 ], + "source" : [ "obj-104", 1 ] } } , { "patchline" : { - "destination" : [ "obj-70", 0 ], - "order" : 1, - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-103", 0 ], + "source" : [ "obj-105", 0 ] } } , { "patchline" : { - "destination" : [ "obj-125", 2 ], - "source" : [ "obj-130", 1 ] + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-106", 0 ] } } , { "patchline" : { - "destination" : [ "obj-125", 0 ], - "source" : [ "obj-130", 0 ] + "destination" : [ "obj-128", 0 ], + "source" : [ "obj-107", 0 ] } } , { "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-135", 0 ] + "destination" : [ "obj-119", 1 ], + "midpoints" : [ 100.892822, 567.0, 104.416664, 567.0 ], + "source" : [ "obj-109", 0 ] } } , { "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-14", 0 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-110", 0 ] } } , { "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-148", 0 ] + "destination" : [ "obj-119", 2 ], + "midpoints" : [ 257.392822, 590.0, 136.083328, 590.0 ], + "source" : [ "obj-111", 0 ] } } , { "patchline" : { - "destination" : [ "obj-71", 1 ], - "order" : 0, - "source" : [ "obj-159", 0 ] + "destination" : [ "obj-121", 0 ], + "source" : [ "obj-116", 0 ] } } , { "patchline" : { - "destination" : [ "obj-79", 0 ], - "order" : 1, - "source" : [ "obj-159", 0 ] + "destination" : [ "obj-223", 0 ], + "source" : [ "obj-119", 0 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-16", 0 ] + "destination" : [ "obj-129", 0 ], + "source" : [ "obj-121", 0 ] } } , { "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-17", 0 ] + "destination" : [ "obj-118", 0 ], + "source" : [ "obj-122", 0 ] } } , { "patchline" : { - "destination" : [ "obj-130", 0 ], - "source" : [ "obj-170", 1 ] + "destination" : [ "obj-124", 0 ], + "source" : [ "obj-125", 0 ] } } , { "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-176", 0 ] + "destination" : [ "obj-97", 0 ], + "source" : [ "obj-126", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-102", 0 ], + "source" : [ "obj-127", 0 ] } } , { "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-21", 0 ] + "destination" : [ "obj-111", 0 ], + "source" : [ "obj-128", 0 ] } } , { "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-223", 1 ] + "destination" : [ "obj-128", 1 ], + "source" : [ "obj-129", 1 ] } } , { "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-223", 0 ] + "destination" : [ "obj-128", 0 ], + "source" : [ "obj-129", 0 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-25", 0 ] + "destination" : [ "obj-125", 2 ], + "source" : [ "obj-130", 1 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-26", 0 ] + "destination" : [ "obj-125", 0 ], + "source" : [ "obj-130", 0 ] } } , { "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-27", 0 ] + "destination" : [ "obj-137", 0 ], + "source" : [ "obj-132", 0 ] } } , { "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-28", 0 ] + "destination" : [ "obj-132", 0 ], + "source" : [ "obj-133", 1 ] } } , { "patchline" : { - "destination" : [ "obj-58", 2 ], - "source" : [ "obj-29", 0 ] + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-135", 0 ] } } , { "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-30", 0 ] + "destination" : [ "obj-105", 0 ], + "source" : [ "obj-136", 0 ] } } , { "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-32", 0 ] + "destination" : [ "obj-119", 3 ], + "midpoints" : [ 404.892822, 590.0, 167.75, 590.0 ], + "source" : [ "obj-137", 0 ] } } , { "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-33", 0 ] + "destination" : [ "obj-119", 4 ], + "midpoints" : [ 552.892822, 590.0, 199.416672, 590.0 ], + "source" : [ "obj-138", 0 ] } } , { "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-34", 0 ] + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-14", 0 ] } } , { "patchline" : { - "destination" : [ "obj-76", 0 ], - "source" : [ "obj-35", 0 ] + "destination" : [ "obj-138", 0 ], + "source" : [ "obj-140", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 1 ], - "source" : [ "obj-36", 3 ] + "destination" : [ "obj-140", 0 ], + "source" : [ "obj-141", 1 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-36", 2 ] + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-142", 1 ] } } , { "patchline" : { - "destination" : [ "obj-77", 0 ], - "source" : [ "obj-36", 1 ] + "destination" : [ "obj-110", 0 ], + "midpoints" : [ 725.892822, 290.0, 161.892822, 290.0 ], + "order" : 3, + "source" : [ "obj-144", 0 ] } } , { "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-36", 0 ] + "destination" : [ "obj-126", 0 ], + "midpoints" : [ 725.892822, 290.0, 317.392822, 290.0 ], + "order" : 2, + "source" : [ "obj-144", 0 ] } } , { "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-38", 0 ] + "destination" : [ "obj-127", 0 ], + "midpoints" : [ 725.892822, 290.0, 465.392822, 290.0 ], + "order" : 1, + "source" : [ "obj-144", 0 ] } } , { "patchline" : { - "destination" : [ "obj-125", 1 ], - "source" : [ "obj-39", 1 ] + "destination" : [ "obj-136", 0 ], + "midpoints" : [ 725.892822, 290.0, 613.392822, 290.0 ], + "order" : 0, + "source" : [ "obj-144", 0 ] } } , { "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-40", 0 ] + "destination" : [ "obj-149", 0 ], + "source" : [ "obj-146", 0 ] } } , { "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-42", 0 ] + "destination" : [ "obj-15", 0 ], + "midpoints" : [ 1112.559692, 188.0, 168.392883, 188.0, 168.392883, 224.0, 18.892822, 224.0 ], + "source" : [ "obj-146", 5 ] } } , { "patchline" : { - "destination" : [ "obj-58", 3 ], - "source" : [ "obj-43", 0 ] + "destination" : [ "obj-155", 0 ], + "source" : [ "obj-146", 1 ] } } , { "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-45", 0 ] + "destination" : [ "obj-157", 0 ], + "source" : [ "obj-146", 2 ] } } , { "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-46", 0 ] + "destination" : [ "obj-161", 0 ], + "source" : [ "obj-146", 3 ] } } , { "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-47", 0 ] + "destination" : [ "obj-164", 0 ], + "source" : [ "obj-146", 4 ] } } , { "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-48", 0 ] + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-146", 6 ] } } , { "patchline" : { - "destination" : [ "obj-58", 4 ], - "source" : [ "obj-49", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-146", 7 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-223", 0 ], + "source" : [ "obj-148", 0 ] } } , { "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-50", 0 ] + "destination" : [ "obj-23", 0 ], + "midpoints" : [ 725.892822, 168.0, 153.0, 168.0, 153.0, 129.0, 100.892822, 129.0 ], + "source" : [ "obj-149", 0 ] } } , { "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-52", 0 ] + "destination" : [ "obj-119", 6 ], + "midpoints" : [ 18.892822, 590.0, 262.75, 590.0 ], + "source" : [ "obj-15", 0 ] } } , { "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-53", 0 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-155", 0 ] } } , { "patchline" : { - "destination" : [ "obj-56", 0 ], - "source" : [ "obj-54", 0 ] + "destination" : [ "obj-107", 0 ], + "midpoints" : [ 880.559448, 404.0, 256.892822, 404.0 ], + "source" : [ "obj-157", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 5 ], - "source" : [ "obj-55", 0 ] + "destination" : [ "obj-111", 0 ], + "midpoints" : [ 920.559448, 290.0, 768.392883, 290.0, 768.392883, 524.0, 288.392883, 524.0, 288.392883, 545.0, 257.392822, 545.0 ], + "order" : 1, + "source" : [ "obj-157", 1 ] } } , { "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-56", 0 ] + "destination" : [ "obj-179", 0 ], + "order" : 0, + "source" : [ "obj-157", 1 ] } } , { "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-58", 0 ] + "destination" : [ "obj-71", 1 ], + "order" : 0, + "source" : [ "obj-159", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-60", 0 ] + "destination" : [ "obj-79", 0 ], + "order" : 1, + "source" : [ "obj-159", 0 ] } } , { "patchline" : { - "destination" : [ "obj-123", 0 ], - "source" : [ "obj-65", 0 ] + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-16", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-65", 1 ] + "destination" : [ "obj-132", 0 ], + "midpoints" : [ 957.892822, 290.0, 768.392883, 290.0, 768.392883, 404.0, 404.892822, 404.0 ], + "source" : [ "obj-161", 0 ] } } , { "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-66", 0 ] + "destination" : [ "obj-137", 0 ], + "midpoints" : [ 997.892822, 290.0, 768.392883, 290.0, 768.392883, 524.0, 404.892822, 524.0 ], + "order" : 1, + "source" : [ "obj-161", 1 ] } } , { "patchline" : { - "destination" : [ "obj-91", 0 ], - "source" : [ "obj-67", 0 ] + "destination" : [ "obj-177", 0 ], + "order" : 0, + "source" : [ "obj-161", 1 ] } } , { "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-68", 0 ] + "destination" : [ "obj-138", 0 ], + "midpoints" : [ 1075.226318, 290.0, 768.392883, 290.0, 768.392883, 524.0, 552.892822, 524.0 ], + "order" : 1, + "source" : [ "obj-164", 1 ] } } , { "patchline" : { - "destination" : [ "obj-58", 1 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-140", 0 ], + "midpoints" : [ 1035.226318, 290.0, 768.392883, 290.0, 768.392883, 404.0, 552.892822, 404.0 ], + "source" : [ "obj-164", 0 ] } } , { "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-70", 0 ] + "destination" : [ "obj-165", 0 ], + "order" : 0, + "source" : [ "obj-164", 1 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-71", 1 ] + "destination" : [ "obj-174", 0 ], + "source" : [ "obj-165", 0 ] } } , { "patchline" : { - "destination" : [ "obj-88", 0 ], - "source" : [ "obj-72", 0 ] + "destination" : [ "obj-109", 0 ], + "order" : 1, + "source" : [ "obj-17", 1 ] } } , { "patchline" : { - "destination" : [ "obj-58", 7 ], - "source" : [ "obj-76", 0 ] + "destination" : [ "obj-18", 0 ], + "order" : 0, + "source" : [ "obj-17", 1 ] } } , { "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-77", 1 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-17", 0 ] } } , { "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-77", 0 ] + "destination" : [ "obj-130", 0 ], + "source" : [ "obj-170", 1 ] } } , { "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-78", 0 ] + "destination" : [ "obj-140", 0 ], + "midpoints" : [ 1075.226318, 404.0, 552.892822, 404.0 ], + "source" : [ "obj-174", 0 ] } } , { "patchline" : { - "destination" : [ "obj-100", 0 ], - "order" : 1, - "source" : [ "obj-79", 0 ] + "destination" : [ "obj-132", 0 ], + "midpoints" : [ 997.892822, 404.0, 404.892822, 404.0 ], + "source" : [ "obj-175", 0 ] } } , { "patchline" : { - "destination" : [ "obj-65", 1 ], - "order" : 0, - "source" : [ "obj-79", 0 ] + "destination" : [ "obj-159", 0 ], + "source" : [ "obj-176", 0 ] } } , { "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-79", 1 ] + "destination" : [ "obj-175", 0 ], + "source" : [ "obj-177", 0 ] } } , { "patchline" : { - "destination" : [ "obj-176", 0 ], - "order" : 1, - "source" : [ "obj-80", 0 ] + "destination" : [ "obj-107", 0 ], + "midpoints" : [ 920.559448, 404.0, 256.892822, 404.0 ], + "source" : [ "obj-178", 0 ] } } , { "patchline" : { - "destination" : [ "obj-69", 0 ], - "order" : 0, - "source" : [ "obj-80", 0 ] + "destination" : [ "obj-178", 0 ], + "source" : [ "obj-179", 0 ] } } , { "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-82", 0 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-18", 0 ] } } , { "patchline" : { - "destination" : [ "obj-72", 0 ], - "source" : [ "obj-84", 0 ] + "destination" : [ "obj-119", 5 ], + "midpoints" : [ 111.392822, 200.0, 78.392883, 200.0, 78.392883, 590.0, 231.083328, 590.0 ], + "source" : [ "obj-195", 1 ] } } , { "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-85", 0 ] + "destination" : [ "obj-196", 0 ], + "source" : [ "obj-195", 2 ] } } @@ -1905,7 +2520,7 @@ "patchline" : { "destination" : [ "obj-106", 0 ], "order" : 2, - "source" : [ "obj-88", 1 ] + "source" : [ "obj-196", 0 ] } } @@ -1913,863 +2528,503 @@ "patchline" : { "destination" : [ "obj-38", 1 ], "order" : 1, - "source" : [ "obj-88", 1 ] + "source" : [ "obj-196", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 6 ], - "source" : [ "obj-88", 0 ] + "destination" : [ "obj-80", 2 ], + "order" : 0, + "source" : [ "obj-196", 0 ] } } , { "patchline" : { - "destination" : [ "obj-80", 2 ], + "destination" : [ "obj-1", 0 ], "order" : 0, - "source" : [ "obj-88", 1 ] + "source" : [ "obj-197", 2 ] } } , { "patchline" : { - "destination" : [ "obj-170", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-85", 0 ], + "order" : 1, + "source" : [ "obj-197", 2 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-9", 1 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-2", 0 ] } } , { "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-91", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-65", 0 ], - "order" : 2, - "source" : [ "obj-91", 2 ] + "destination" : [ "obj-223", 0 ], + "source" : [ "obj-21", 0 ] } } , { "patchline" : { - "destination" : [ "obj-71", 0 ], - "order" : 1, - "source" : [ "obj-91", 2 ] + "destination" : [ "obj-119", 1 ], + "midpoints" : [ 683.25, 608.0, 104.416664, 608.0 ], + "source" : [ "obj-22", 0 ] } } , { "patchline" : { - "destination" : [ "obj-94", 0 ], - "order" : 0, - "source" : [ "obj-91", 2 ] + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-22", 1 ] } } , { "patchline" : { - "destination" : [ "obj-93", 0 ], - "source" : [ "obj-92", 1 ] + "destination" : [ "obj-124", 0 ], + "order" : 1, + "source" : [ "obj-223", 3 ] } } , { "patchline" : { - "destination" : [ "obj-94", 1 ], - "source" : [ "obj-92", 0 ] + "destination" : [ "obj-135", 0 ], + "order" : 0, + "source" : [ "obj-223", 3 ] } } , { "patchline" : { - "destination" : [ "obj-122", 1 ], - "source" : [ "obj-93", 1 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-223", 2 ] } } , { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-94", 0 ] + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-223", 1 ] } } - ], - "styles" : [ { - "name" : "AudioStatus_Menu", - "default" : { - "bgfillcolor" : { - "type" : "color", - "color" : [ 0.294118, 0.313726, 0.337255, 1 ], - "color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ], - "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "buttonBlue", - "default" : { - "bgcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "buttonPurple", - "default" : { - "bgcolor" : [ 0.372549, 0.196078, 0.486275, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } , { - "name" : "default_style", - "toggle" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.636487, 0.648652, 0.683149, 1.0 ], - "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] - } -, - "button" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ] - } -, - "newobj" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] + "patchline" : { + "destination" : [ "obj-79", 0 ], + "source" : [ "obj-223", 0 ] } -, - "parentstyle" : "", - "multi" : 1 + } , { - "name" : "default_style-1", - "toggle" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.636487, 0.648652, 0.683149, 1.0 ], - "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] - } -, - "button" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ] - } -, - "newobj" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] + "patchline" : { + "destination" : [ "obj-195", 0 ], + "source" : [ "obj-23", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "helpfile_label-1", - "default" : { - "fontsize" : [ 13.0 ], - "fontname" : [ "Arial" ], - "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ] + "patchline" : { + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-24", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "m4vatextbutton", - "default" : { - "fontsize" : [ 14.0 ], - "selectioncolor" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "color" : [ 1.0, 1.0, 1.0, 1.0 ], - "bgcolor" : [ 0.264542, 0.246412, 0.247132, 1.0 ], - "accentcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "elementcolor" : [ 0.264542, 0.246412, 0.247132, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "master_style", - "message" : { - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], - "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } -, - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "umenu" : { - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], - "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - - } -, - "toggle" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "ezdac~" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] - } -, - "multislider" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } -, - "gain~" : { - "color" : [ 1.0, 0.861448, 0.16921, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "slider" : { - "color" : [ 0.461105, 0.492646, 0.591878, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "button" : { - "color" : [ 1.0, 0.95051, 0.0, 1.0 ], - "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], - "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] - } -, - "ezadc~" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] - } -, - "kslider" : { - "color" : [ 1.0, 1.0, 1.0, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "function" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "attrui" : { - "bgcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "newobj" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 1 - } -, { - "name" : "master_style-1", - "message" : { - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], - "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0.0 - } -, - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "umenu" : { - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], - "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } - - } -, - "toggle" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "ezdac~" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] - } -, - "multislider" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } -, - "gain~" : { - "color" : [ 1.0, 0.861448, 0.16921, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "slider" : { - "color" : [ 0.461105, 0.492646, 0.591878, 1.0 ], - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } -, - "button" : { - "color" : [ 1.0, 0.95051, 0.0, 1.0 ], - "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], - "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] + "patchline" : { + "destination" : [ "obj-196", 0 ], + "source" : [ "obj-25", 4 ] } -, - "ezadc~" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], - "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-28", 0 ] } -, - "kslider" : { - "color" : [ 1.0, 1.0, 1.0, 1.0 ], - "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.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 ] } -, - "function" : { - "color" : [ 0.0, 0.0, 0.0, 1.0 ], - "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-144", 0 ], + "source" : [ "obj-36", 5 ] } -, - "attrui" : { - "bgcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-146", 0 ], + "source" : [ "obj-36", 6 ] } -, - "newobj" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-157", 0 ], + "midpoints" : [ 587.25, 178.0, 880.559448, 178.0 ], + "source" : [ "obj-36", 1 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "messageGreen-1", - "default" : { - "bgfillcolor" : { - "type" : "gradient", - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "color1" : [ 0.165741, 0.364658, 0.14032, 0.74 ], - "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } + } +, { + "patchline" : { + "destination" : [ "obj-197", 0 ], + "midpoints" : [ 731.25, 90.0, 423.0, 90.0, 423.0, 0.0, 305.892822, 0.0 ], + "source" : [ "obj-36", 4 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "messagegold", - "default" : { - "bgfillcolor" : { - "type" : "gradient", - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "color1" : [ 0.764706, 0.592157, 0.101961, 0.74 ], - "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-36", 3 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "minimal", - "default" : { - "bgfillcolor" : { - "type" : "color", - "color" : [ 0.65098, 0.65098, 0.65098, 1.0 ], - "color1" : [ 0.878431, 0.878431, 0.858824, 1.0 ], - "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.99, - "autogradient" : 0 - } -, - "selectioncolor" : [ 0.862745, 0.741176, 0.137255, 0.7 ], - "color" : [ 0.345098, 0.513725, 0.572549, 0.78 ], - "bgcolor" : [ 0.878431, 0.878431, 0.858824, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], - "patchlinecolor" : [ 0.65, 0.65, 0.65, 0.9 ], - "accentcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ], - "elementcolor" : [ 0.32549, 0.345098, 0.372549, 0.44 ] + + } +, { + "patchline" : { + "destination" : [ "obj-77", 0 ], + "source" : [ "obj-36", 2 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "multisliderBlue&Yellow", - "default" : { - "color" : [ 0.960784, 0.867826, 0.084811, 1.0 ], - "bgcolor" : [ 0.317647, 0.654902, 0.976471, 0.79 ] + "patchline" : { + "destination" : [ "obj-78", 0 ], + "source" : [ "obj-38", 0 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "new_yellow", - "default" : { - "bgfillcolor" : { - "type" : "gradient", - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "color1" : [ 0.239216, 0.254902, 0.278431, 1.0 ], - "color2" : [ 0.0, 0.0, 0.0, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } -, - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "patchlinecolor" : [ 0.862745, 0.741176, 0.137255, 0.9 ], - "accentcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ], - "elementcolor" : [ 0.862745, 0.741176, 0.137255, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-125", 1 ], + "source" : [ "obj-39", 1 ] } -, - "toggle" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "elementcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-197", 0 ], + "source" : [ "obj-4", 0 ] } -, - "radiogroup" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-94", 0 ], + "source" : [ "obj-41", 0 ] } -, - "button" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "elementcolor" : [ 0.862745, 0.741176, 0.137255, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-98", 0 ], + "source" : [ "obj-44", 0 ] } -, - "newobj" : { - "accentcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-59", 0 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "new_yellow-1", - "default" : { - "bgfillcolor" : { - "type" : "gradient", - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "color1" : [ 0.239216, 0.254902, 0.278431, 1.0 ], - "color2" : [ 0.0, 0.0, 0.0, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } -, - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "patchlinecolor" : [ 0.862745, 0.741176, 0.137255, 0.9 ], - "accentcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ], - "elementcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "source" : [ "obj-6", 0 ] } -, - "toggle" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "elementcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-223", 0 ], + "source" : [ "obj-61", 0 ] } -, - "radiogroup" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-62", 1 ] } -, - "button" : { - "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ], - "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "elementcolor" : [ 0.862745, 0.741176, 0.137255, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "source" : [ "obj-62", 0 ] } -, - "newobj" : { - "accentcolor" : [ 0.32549, 0.345098, 0.372549, 1.0 ] + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-63", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBlue-1", - "default" : { - "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] + "patchline" : { + "destination" : [ "obj-89", 0 ], + "source" : [ "obj-63", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBlue-2", - "default" : { - "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] + "patchline" : { + "destination" : [ "obj-101", 0 ], + "source" : [ "obj-65", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBlue-3", - "default" : { - "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-7", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBlue-4", - "default" : { - "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] + "patchline" : { + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-71", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBlue-5", - "default" : { - "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] + "patchline" : { + "destination" : [ "obj-107", 0 ], + "source" : [ "obj-75", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBrown-1", - "default" : { - "accentcolor" : [ 0.654902, 0.572549, 0.376471, 1.0 ] + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-77", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBrown-2", - "default" : { - "accentcolor" : [ 0.654902, 0.572549, 0.376471, 1.0 ] + "patchline" : { + "destination" : [ "obj-82", 0 ], + "source" : [ "obj-77", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBrown-3", - "default" : { - "accentcolor" : [ 0.654902, 0.572549, 0.376471, 1.0 ] + "patchline" : { + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-78", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjBrown-4", - "default" : { - "accentcolor" : [ 0.654902, 0.572549, 0.376471, 1.0 ] + "patchline" : { + "destination" : [ "obj-100", 0 ], + "order" : 1, + "source" : [ "obj-79", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjCyan-1", - "default" : { - "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] + "patchline" : { + "destination" : [ "obj-123", 0 ], + "order" : 0, + "source" : [ "obj-79", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjGreen-1", - "default" : { - "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] + "patchline" : { + "destination" : [ "obj-92", 0 ], + "source" : [ "obj-79", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjGreen-2", - "default" : { - "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] + "patchline" : { + "destination" : [ "obj-109", 0 ], + "source" : [ "obj-8", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjGreen-3", - "default" : { - "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] + "patchline" : { + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-80", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjGreen-4", - "default" : { - "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-82", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjGreen-5", - "default" : { - "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] + "patchline" : { + "destination" : [ "obj-62", 0 ], + "source" : [ "obj-85", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjMagenta-1", - "default" : { - "accentcolor" : [ 0.840663, 0.060168, 0.769195, 1.0 ] + "patchline" : { + "destination" : [ "obj-95", 1 ], + "source" : [ "obj-86", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjYellow-1", - "default" : { - "fontsize" : [ 12.059008 ], - "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] + "patchline" : { + "destination" : [ "obj-86", 0 ], + "source" : [ "obj-87", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjYellow-2", - "default" : { - "fontsize" : [ 12.059008 ], - "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-89", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjYellow-3", - "default" : { - "fontsize" : [ 12.059008 ], - "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] + "patchline" : { + "destination" : [ "obj-96", 0 ], + "source" : [ "obj-89", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjYellow-4", - "default" : { - "fontsize" : [ 12.059008 ], - "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] + "patchline" : { + "destination" : [ "obj-170", 0 ], + "source" : [ "obj-9", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjYellow-5", - "default" : { - "fontsize" : [ 12.059008 ], - "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-9", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "newobjYellow-6", - "default" : { - "fontsize" : [ 12.059008 ], - "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] + "patchline" : { + "destination" : [ "obj-95", 2 ], + "source" : [ "obj-90", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberB-1", - "default" : { - "accentcolor" : [ 0.011765, 0.396078, 0.752941, 1.0 ] + "patchline" : { + "destination" : [ "obj-95", 0 ], + "source" : [ "obj-90", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberG-1", - "default" : { - "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] + "patchline" : { + "destination" : [ "obj-119", 0 ], + "source" : [ "obj-91", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberGold-1", - "default" : { - "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] + "patchline" : { + "destination" : [ "obj-71", 0 ], + "source" : [ "obj-91", 2 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberGold-2", - "default" : { - "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-92", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberGold-3", - "default" : { - "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] + "patchline" : { + "destination" : [ "obj-93", 0 ], + "source" : [ "obj-92", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberGold-4", - "default" : { - "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] + "patchline" : { + "destination" : [ "obj-122", 1 ], + "source" : [ "obj-93", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberGold-5", - "default" : { - "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-94", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "numberR-1", - "default" : { - "accentcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ] + "patchline" : { + "destination" : [ "obj-124", 0 ], + "source" : [ "obj-95", 0 ] } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "panelViolet", - "default" : { - "bgfillcolor" : { - "type" : "color", - "color" : [ 0.372549, 0.196078, 0.486275, 0.2 ], - "color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], - "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } + } +, { + "patchline" : { + "destination" : [ "obj-90", 0 ], + "source" : [ "obj-96", 1 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "rsliderGold", - "default" : { - "color" : [ 0.646639, 0.821777, 0.854593, 1.0 ], - "bgcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] + "patchline" : { + "destination" : [ "obj-75", 0 ], + "source" : [ "obj-97", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } , { - "name" : "simple", - "parentstyle" : "", - "multi" : 0 + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-98", 0 ] + } + } , { - "name" : "texteditGold", - "default" : { - "bgcolor" : [ 0.764706, 0.592157, 0.101961, 0.68 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "patchline" : { + "destination" : [ "obj-132", 0 ], + "source" : [ "obj-99", 0 ] } -, - "parentstyle" : "", - "multi" : 0 + } ] } diff --git a/Cubehelix_example.maxpat b/Cubehelix_example.maxpat new file mode 100644 index 0000000..372e7c2 --- /dev/null +++ b/Cubehelix_example.maxpat @@ -0,0 +1,468 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 6, + "architecture" : "x86", + "modernui" : 1 + } +, + "rect" : [ 1198.0, 591.0, 578.0, 815.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" : "", + "boxes" : [ { + "box" : { + "id" : "obj-38", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 462.0, 46.0, 70.0, 22.0 ], + "style" : "", + "text" : "getcolor $1" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 462.0, 15.0, 50.0, 22.0 ], + "style" : "" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-33", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 367.5, 15.0, 50.0, 22.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 367.5, 46.0, 73.0, 22.0 ], + "style" : "", + "text" : "rotations $1" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-32", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 275.5, 15.0, 50.0, 22.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 275.5, 46.0, 77.0, 22.0 ], + "style" : "", + "text" : "startcolor $1" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 208.0, 42.0, 51.0, 22.0 ], + "style" : "", + "text" : "random" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 20.0, 10.0, 173.0, 22.0 ], + "style" : "", + "text" : "makeCubehelix 0. 1. 1. 1. 32 1" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 237.0, 612.0, 33.0, 20.0 ], + "style" : "", + "text" : "Hue" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 237.0, 638.0, 69.0, 20.0 ], + "style" : "", + "text" : "Luminance" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.0, 612.0, 103.0, 22.0 ], + "style" : "", + "text" : "planemap 1 1 1 1" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.0, 638.0, 103.0, 22.0 ], + "style" : "", + "text" : "planemap 3 3 3 3" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.0, 583.0, 103.0, 22.0 ], + "style" : "", + "text" : "planemap 0 1 2 3" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 208.0, 536.0, 52.0, 22.0 ], + "style" : "", + "text" : "print list" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 225.333313, 795.0, 189.0, 22.0 ], + "style" : "", + "text" : "15 0.46834 0.947702 0.333514" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 169.666656, 752.0, 198.0, 22.0 ], + "style" : "", + "text" : "4 0.053409 0.02406 0.011621" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 302.0, 708.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 302.0, 672.0, 159.0, 22.0 ], + "style" : "", + "text" : "route bang rgbcolor hslcolor" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 114.0, 665.0, 80.0, 60.0 ], + "planemap" : [ 3, 3, 3, 3 ] + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "jit.pwindow", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 665.0, 80.0, 60.0 ] + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-1", + "lockeddragscroll" : 0, + "maxclass" : "bpatcher", + "name" : "Cubehelix.maxpat", + "numinlets" : 1, + "numoutlets" : 4, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "jit_matrix", "jit_matrix", "", "" ], + "patching_rect" : [ 20.0, 120.0, 301.0, 398.0 ], + "viewvisibility" : 1 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-1", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-4", 1 ] + } + + } + ], + "parameters" : { + "obj-1::obj-85" : [ "live.text[1]", "live.text[1]", 0 ], + "obj-1::obj-133" : [ "live.tab[1]", "live.tab", 0 ], + "obj-1::obj-1" : [ "live.text[2]", "live.text[1]", 0 ], + "obj-1::obj-104" : [ "live.tab", "live.tab", 0 ], + "obj-1::obj-141" : [ "live.tab[2]", "live.tab", 0 ] + } +, + "dependency_cache" : [ { + "name" : "Cubehelix.maxpat", + "bootpath" : "~/Documents/_MAX/_RESSOURCE/Color palettes", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "Cubehelix.js", + "bootpath" : "~/Documents/_MAX/_RESSOURCE/Color palettes", + "patcherrelativepath" : ".", + "type" : "TEXT", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +}