From c4f3c46fc6a9d7a46017f2e0455545759113ce05 Mon Sep 17 00:00:00 2001 From: tfl Date: Fri, 22 Sep 2023 11:38:25 +0200 Subject: [PATCH] remove ignored files --- old/Cubehelix.js | 139 -- old/Cubehelix.maxpat | 3023 ------------------------- old/Cubehelix_example.maxpat | 468 ---- old/jit.cubehelix_old.maxpat | 4107 ---------------------------------- 4 files changed, 7737 deletions(-) delete mode 100644 old/Cubehelix.js delete mode 100644 old/Cubehelix.maxpat delete mode 100644 old/Cubehelix_example.maxpat delete mode 100644 old/jit.cubehelix_old.maxpat diff --git a/old/Cubehelix.js b/old/Cubehelix.js deleted file mode 100644 index b9d354c..0000000 --- a/old/Cubehelix.js +++ /dev/null @@ -1,139 +0,0 @@ -// 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; -inlets = 1; -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: 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."); - -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); - } - - - for (var i = 0; i < levels; i++) { - - - var fract = CubeHelixFract(i,levels,flip); - var color = CubeHelixRGB(fract,start,rots,hue,gamma); - - - if(flip == 1){fract = 1.0-fract;} - - 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(RGBOUTLET, "bang"); - if (hslmode) { outlet(HSLOUTLET, "bang"); } - if (listmode) { outlet(LISTOUTLET, "bang"); } - - outlet(DUMPOUTLET, "bang"); -} - -function dumpOut(start, rots, hue, gamma, levels, 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){ - - 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 acos = Math.cos(angle); - var asin = Math.sin(angle); - - var r=fract+amp*(-0.14861*acos+1.78277*asin); - r=Math.max(Math.min(r,1.0),0.0); - - var g=fract+amp*(-0.29227*acos-0.90649*asin); - g=Math.max(Math.min(g,1.0),0.0); - - var b=fract+amp*(+1.97294*acos); - b=Math.max(Math.min(b,1.0),0.0); - - return [r, g, b]; -} - -// ---------------------------------------------------------------------------- - -function CubeHelixFract(i,n,flip){ - var fraction = i/(n-1); - if (flip == 1) { - fraction = 1 - fraction; - } - return fraction; -} diff --git a/old/Cubehelix.maxpat b/old/Cubehelix.maxpat deleted file mode 100644 index b960b01..0000000 --- a/old/Cubehelix.maxpat +++ /dev/null @@ -1,3023 +0,0 @@ -{ - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 7, - "minor" : 3, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "rect" : [ 617.0, 188.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, - "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-25", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 6, - "outlettype" : [ "float", "float", "float", "float", "int", "float" ], - "patching_rect" : [ 685.25, 578.0, 89.0, 22.0 ], - "style" : "", - "text" : "unpack f f f f i f" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 673.75, 544.0, 29.5, 22.0 ], - "style" : "", - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 833.726196, 336.5, 43.0, 22.0 ], - "style" : "", - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 833.726196, 305.5, 55.0, 22.0 ], - "style" : "", - "text" : "clip 0. 3." - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 793.726196, 258.5, 59.0, 22.0 ], - "style" : "", - "text" : "split 0. 3." - } - - } -, { - "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-7", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1257.72644, 139.0, 49.0, 22.0 ], - "style" : "", - "text" : "clip 0 1" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1180.393066, 139.0, 49.0, 22.0 ], - "style" : "", - "text" : "clip 0 1" - } - - } -, { - "box" : { - "comment" : "If \"listenable 1\", outputs all colors as lists (in RGB or HSL depending on hslmode)", - "id" : "obj-5", - "index" : 3, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 336.0, 1379.0, 30.0, 30.0 ], - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 242.75, 825.0, 78.0, 22.0 ], - "style" : "", - "text" : "listenable $1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 340.392822, 57.0, 56.0, 22.0 ], - "style" : "", - "text" : "deferlow" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 340.392822, 35.5, 72.0, 22.0 ], - "style" : "", - "text" : "loadmess 1" - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-198", - "maxclass" : "comment", - "numinlets" : 1, - "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" : "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-196", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 741.25, 649.0, 20.0, 22.0 ], - "style" : "", - "text" : "t i" - } - - } -, { - "box" : { - "id" : "obj-195", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 91.392822, 169.0, 40.0, 22.0 ], - "style" : "", - "text" : "t i i i" - } - - } -, { - "box" : { - "id" : "obj-178", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 911.059448, 336.5, 43.0, 22.0 ], - "style" : "", - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-179", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 911.059448, 305.5, 55.0, 22.0 ], - "style" : "", - "text" : "clip 0. 4." - } - - } -, { - "box" : { - "id" : "obj-175", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 988.392822, 336.5, 43.0, 22.0 ], - "style" : "", - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-177", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 988.392822, 305.5, 55.0, 22.0 ], - "style" : "", - "text" : "clip 0. 2." - } - - } -, { - "box" : { - "id" : "obj-174", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1065.726318, 336.5, 43.0, 22.0 ], - "style" : "", - "text" : "set $1" - } - - } -, { - "box" : { - "id" : "obj-165", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1065.726318, 305.5, 55.0, 22.0 ], - "style" : "", - "text" : "clip 0. 2." - } - - } -, { - "box" : { - "id" : "obj-164", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 1025.726318, 258.5, 59.0, 22.0 ], - "style" : "", - "text" : "split 0. 2." - } - - } -, { - "box" : { - "id" : "obj-161", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 948.392822, 258.5, 59.0, 22.0 ], - "style" : "", - "text" : "split 0. 2." - } - - } -, { - "box" : { - "id" : "obj-157", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 871.059448, 258.5, 59.0, 22.0 ], - "style" : "", - "text" : "split 0. 4." - } - - } -, { - "box" : { - "id" : "obj-155", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 793.726196, 227.0, 35.0, 22.0 ], - "style" : "", - "text" : "% 3." - } - - } -, { - "box" : { - "id" : "obj-149", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 716.392822, 143.0, 29.5, 22.0 ], - "style" : "", - "text" : "i" - } - - } -, { - "box" : { - "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" : { - "id" : "obj-119", - "maxclass" : "newobj", - "numinlets" : 7, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 63.25, 761.0, 209.0, 22.0 ], - "style" : "", - "text" : "pak makeCubehelix 1. 1.5 1. 1. 128 0" - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1180.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" : { - "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" ] - } - - } -, - "text" : "Matrix", - "texton" : "Matrix+List", - "varname" : "live.text[2]" - } - - } -, { - "box" : { - "fontface" : 1, - "fontsize" : 30.0, - "id" : "obj-150", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 91.392822, 8.0, 158.0, 40.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, -0.25, 152.0, 40.0 ], - "style" : "", - "text" : "Cubehelix", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-147", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 716.392822, 222.0, 76.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, -0.25, 76.0, 20.0 ], - "style" : "", - "text" : "Randomize", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-144", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "patching_rect" : [ 716.392822, 247.5, 29.0, 29.0 ], - "presentation" : 1, - "presentation_rect" : [ 168.5, 17.25, 51.0, 51.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-136", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "patching_rect" : [ 604.392822, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 180.5, 15.0, 15.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-127", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "patching_rect" : [ 456.392822, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 180.5, 15.0, 15.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-126", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "patching_rect" : [ 308.392822, 305.5, 15.0, 15.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 94.5, 15.0, 15.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-110", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.816084, 0.707064, 0.886275, 1.0 ], - "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-103", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 604.392822, 364.0, 41.0, 22.0 ], - "style" : "", - "text" : "/ 100." - } - - } -, { - "box" : { - "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-99", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 456.392822, 364.0, 41.0, 22.0 ], - "style" : "", - "text" : "/ 100." - } - - } -, { - "box" : { - "id" : "obj-102", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 456.392822, 333.0, 75.0, 22.0 ], - "style" : "", - "text" : "random 201" - } - - } -, { - "box" : { - "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-97", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 308.392822, 333.0, 75.0, 22.0 ], - "style" : "", - "text" : "random 401" - } - - } -, { - "box" : { - "id" : "obj-59", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 152.392822, 364.0, 41.0, 22.0 ], - "style" : "", - "text" : "/ 100." - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 152.392822, 333.0, 75.0, 22.0 ], - "style" : "", - "text" : "random 301" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392822, 135.0, 50.0, 22.0 ], - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 9.392822, 203.0, 65.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 95.0, 92.0, 30.0, 20.0 ], - "style" : "", - "text" : "Flip", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "checkedcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-15", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 9.392822, 227.0, 26.0, 26.0 ], - "presentation" : 1, - "presentation_rect" : [ 116.0, 89.0, 26.0, 26.0 ], - "style" : "", - "uncheckedcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] - } - - } -, { - "box" : { - "button" : 1, - "contrastactivetab" : 0, - "htabcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-142", - "margin" : 0, - "maxclass" : "tab", - "mode" : 1, - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392822, 90.0, 156.0, 27.5 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 53.0, 137.0, 27.5 ], - "rounded" : 0.0, - "segmented" : 1, - "spacing_x" : 2.0, - "style" : "", - "tabcolor" : [ 0.819016, 0.754851, 0.856722, 1.0 ], - "tabs" : [ "5", "12", "64", "128", "360" ], - "textcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-143", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 91.392822, 68.0, 44.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 37.0, 44.0, 20.0 ], - "style" : "", - "text" : "Steps", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-138", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 543.392822, 549.0, 50.0, 22.0 ], - "style" : "" - } - - } -, { - "box" : { - "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" : [ 175.5, 178.0, 55.0, 20.0 ], - "style" : "", - "text" : "γ factor", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "floatoutput" : 1, - "id" : "obj-140", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 543.392822, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 228.0, 136.0, 18.0 ], - "size" : 2.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-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" : [ 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-137", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 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-132", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 395.392822, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 228.0, 136.0, 18.0 ], - "size" : 2.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-133", - "maxclass" : "live.tab", - "multiline" : 0, - "num_lines_patching" : 1, - "num_lines_presentation" : 1, - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "float" ], - "parameter_enable" : 1, - "patching_rect" : [ 395.392822, 227.0, 137.0, 22.0 ], - "presentation" : 1, - "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-129", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 247.392822, 479.0, 30.0, 22.0 ], - "style" : "", - "text" : "t b i" - } - - } -, { - "box" : { - "id" : "obj-128", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 247.892822, 511.5, 29.5, 22.0 ], - "style" : "", - "text" : "* 1." - } - - } -, { - "box" : { - "id" : "obj-121", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 286.392822, 449.0, 97.0, 22.0 ], - "style" : "", - "text" : "expr 1 - ($i1 * 2)" - } - - } -, { - "box" : { - "id" : "obj-120", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 325.392822, 201.0, 30.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 251.5, 92.0, 30.0, 20.0 ], - "style" : "", - "text" : "Flip", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "checkedcolor" : [ 0.701961, 0.415686, 0.886275, 1.0 ], - "id" : "obj-116", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 360.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" : { - "fontface" : 1, - "id" : "obj-114", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 251.392822, 203.0, 71.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 175.5, 92.0, 71.0, 20.0 ], - "style" : "", - "text" : "Rotations", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "id" : "obj-113", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 91.392822, 203.0, 72.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 15.5, 92.0, 72.0, 20.0 ], - "style" : "", - "text" : "Start color", - "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-111", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 247.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" : [ 247.392822, 227.0, 137.0, 22.0 ], - "presentation" : 1, - "presentation_rect" : [ 158.5, 115.0, 137.0, 22.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_longname" : "live.tab", - "parameter_shortname" : "live.tab", - "parameter_type" : 2, - "parameter_enum" : [ "0.", "0.5", "1.", "1.5", "2." ], - "parameter_unitstyle" : 0 - } - - } -, - "spacing_x" : 3.0, - "spacing_y" : 3.0, - "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "varname" : "live.tab" - } - - } -, { - "box" : { - "id" : "obj-101", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 203.392822, 258.5, 29.5, 22.0 ], - "style" : "", - "text" : "3" - } - - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 147.392822, 258.5, 29.5, 22.0 ], - "style" : "", - "text" : "2" - } - - } -, { - "box" : { - "id" : "obj-94", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 91.392822, 258.5, 29.5, 22.0 ], - "style" : "", - "text" : "1" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ], - "id" : "obj-65", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ], - "patching_rect" : [ 203.392822, 227.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 116.0, 120.0, 24.0, 24.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ], - "id" : "obj-44", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ], - "patching_rect" : [ 147.392822, 227.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 60.0, 120.0, 24.0, 24.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], - "blinkcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], - "id" : "obj-41", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "outlinecolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ], - "patching_rect" : [ 91.392822, 227.0, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 120.0, 24.0, 24.0 ], - "style" : "" - } - - } -, { - "box" : { - "bgcolor" : [ 0.856555, 0.810395, 0.886275, 1.0 ], - "floatoutput" : 1, - "id" : "obj-8", - "knobcolor" : [ 0.466667, 0.254902, 0.607843, 1.0 ], - "knobshape" : 5, - "maxclass" : "slider", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 91.392822, 417.0, 136.0, 18.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 146.0, 137.0, 18.0 ], - "size" : 3.0, - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "int" ], - "patching_rect" : [ 622.75, 1282.0, 65.0, 22.0 ], - "style" : "", - "text" : "unpack s i" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 622.75, 1248.0, 57.0, 22.0 ], - "style" : "", - "text" : "zl slice 2" - } - - } -, { - "box" : { - "id" : "obj-89", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 554.75, 1216.0, 29.5, 22.0 ], - "style" : "", - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-90", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 592.75, 1305.0, 30.0, 22.0 ], - "style" : "", - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-95", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 592.75, 1346.0, 107.0, 22.0 ], - "style" : "", - "text" : "pack hslcolor i f f f" - } - - } -, { - "box" : { - "id" : "obj-96", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 554.75, 1248.0, 57.0, 22.0 ], - "style" : "", - "text" : "zl.slice 5" - } - - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 212.75, 909.0, 37.0, 20.0 ], - "style" : "", - "text" : "HSL" - } - - } -, { - "box" : { - "id" : "obj-81", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 63.25, 909.0, 37.0, 20.0 ], - "style" : "", - "text" : "RGB" - } - - } -, { - "box" : { - "comment" : "if \"hslenable 1\", outputs AHSL colors as a matrix", - "id" : "obj-73", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 212.75, 1379.0, 30.0, 30.0 ], - "style" : "" - } - - } -, { - "box" : { - "id" : "obj-63", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 212.75, 937.0, 138.0, 22.0 ], - "style" : "", - "text" : "jit.matrix 4 float32 360 1" - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 315.0, 682.0, 29.5, 22.0 ], - "style" : "", - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 160.5, 825.0, 79.0, 22.0 ], - "style" : "", - "text" : "hslenable $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" - } - - } -, { - "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" - } - - } -, { - "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" - } - - } -, { - "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]" - } - - } -, { - "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" : 5.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" : "" - } - - } -, { - "box" : { - "angle" : 270.0, - "bgcolor" : [ 0.274281, 0.370378, 0.26427 ], - "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-21", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-101", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-102", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "source" : [ "obj-103", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-104", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-103", 0 ], - "source" : [ "obj-105", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-106", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 0 ], - "source" : [ "obj-107", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 1 ], - "midpoints" : [ 100.892822, 567.0, 104.416667, 567.0 ], - "source" : [ "obj-109", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-110", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 2 ], - "midpoints" : [ 257.392822, 590.0, 136.083333, 590.0 ], - "source" : [ "obj-111", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-121", 0 ], - "source" : [ "obj-116", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-119", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-129", 0 ], - "source" : [ "obj-121", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-118", 0 ], - "source" : [ "obj-122", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-125", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-97", 0 ], - "source" : [ "obj-126", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-102", 0 ], - "source" : [ "obj-127", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-111", 0 ], - "source" : [ "obj-128", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 1 ], - "source" : [ "obj-129", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-128", 0 ], - "source" : [ "obj-129", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 2 ], - "source" : [ "obj-130", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 0 ], - "source" : [ "obj-130", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-137", 0 ], - "source" : [ "obj-132", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-133", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-135", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-105", 0 ], - "source" : [ "obj-136", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 3 ], - "midpoints" : [ 404.892822, 590.0, 167.75, 590.0 ], - "source" : [ "obj-137", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 4 ], - "midpoints" : [ 552.892822, 590.0, 199.416667, 590.0 ], - "source" : [ "obj-138", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-138", 0 ], - "source" : [ "obj-140", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "source" : [ "obj-141", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-142", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-110", 0 ], - "midpoints" : [ 725.892822, 290.0, 161.892822, 290.0 ], - "order" : 3, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-126", 0 ], - "midpoints" : [ 725.892822, 290.0, 317.392822, 290.0 ], - "order" : 2, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-127", 0 ], - "midpoints" : [ 725.892822, 290.0, 465.392822, 290.0 ], - "order" : 1, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-136", 0 ], - "midpoints" : [ 725.892822, 290.0, 613.392822, 290.0 ], - "order" : 0, - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-149", 0 ], - "source" : [ "obj-146", 0 ] - } - - } -, { - "patchline" : { - "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-155", 0 ], - "source" : [ "obj-146", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-157", 0 ], - "source" : [ "obj-146", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-161", 0 ], - "source" : [ "obj-146", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-164", 0 ], - "source" : [ "obj-146", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-146", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-146", 7 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-148", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "midpoints" : [ 725.892822, 168.0, 153.0, 168.0, 153.0, 129.0, 100.892822, 129.0 ], - "source" : [ "obj-149", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 6 ], - "midpoints" : [ 18.892822, 590.0, 262.75, 590.0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-155", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "midpoints" : [ 880.559448, 404.0, 256.892822, 404.0 ], - "source" : [ "obj-157", 0 ] - } - - } -, { - "patchline" : { - "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-179", 0 ], - "order" : 0, - "source" : [ "obj-157", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 1 ], - "order" : 0, - "source" : [ "obj-159", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "order" : 1, - "source" : [ "obj-159", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "midpoints" : [ 957.892822, 290.0, 768.392883, 290.0, 768.392883, 404.0, 404.892822, 404.0 ], - "source" : [ "obj-161", 0 ] - } - - } -, { - "patchline" : { - "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-177", 0 ], - "order" : 0, - "source" : [ "obj-161", 1 ] - } - - } -, { - "patchline" : { - "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-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-165", 0 ], - "order" : 0, - "source" : [ "obj-164", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-174", 0 ], - "source" : [ "obj-165", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "order" : 1, - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "order" : 0, - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-130", 0 ], - "source" : [ "obj-170", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "midpoints" : [ 1075.226318, 404.0, 552.892822, 404.0 ], - "source" : [ "obj-174", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "midpoints" : [ 997.892822, 404.0, 404.892822, 404.0 ], - "source" : [ "obj-175", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-176", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-175", 0 ], - "source" : [ "obj-177", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "midpoints" : [ 920.559448, 404.0, 256.892822, 404.0 ], - "source" : [ "obj-178", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-178", 0 ], - "source" : [ "obj-179", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 5 ], - "midpoints" : [ 111.392822, 200.0, 78.392883, 200.0, 78.392883, 590.0, 231.083333, 590.0 ], - "source" : [ "obj-195", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-196", 0 ], - "source" : [ "obj-195", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-106", 0 ], - "order" : 2, - "source" : [ "obj-196", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 1 ], - "order" : 1, - "source" : [ "obj-196", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 2 ], - "order" : 0, - "source" : [ "obj-196", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 0, - "source" : [ "obj-197", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "order" : 1, - "source" : [ "obj-197", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 1 ], - "midpoints" : [ 683.25, 608.0, 104.416667, 608.0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-22", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-223", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-223", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-223", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-223", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-195", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-59", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-196", 0 ], - "source" : [ "obj-25", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "midpoints" : [ 539.25, 89.0, 279.0, 89.0, 279.0, 57.0, 72.75, 57.0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "source" : [ "obj-36", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-146", 0 ], - "source" : [ "obj-36", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-157", 0 ], - "midpoints" : [ 587.25, 178.0, 880.559448, 178.0 ], - "source" : [ "obj-36", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-197", 0 ], - "midpoints" : [ 731.25, 90.0, 423.0, 90.0, 423.0, 0.0, 305.892822, 0.0 ], - "source" : [ "obj-36", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-36", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-77", 0 ], - "source" : [ "obj-36", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-78", 0 ], - "source" : [ "obj-38", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 1 ], - "source" : [ "obj-39", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-197", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "source" : [ "obj-41", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-44", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-59", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-223", 0 ], - "source" : [ "obj-61", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 0 ], - "source" : [ "obj-62", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-91", 0 ], - "source" : [ "obj-62", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-73", 0 ], - "source" : [ "obj-63", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-89", 0 ], - "source" : [ "obj-63", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-101", 0 ], - "source" : [ "obj-65", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-63", 0 ], - "source" : [ "obj-71", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-75", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-77", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-77", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-78", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-100", 0 ], - "order" : 1, - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-123", 0 ], - "order" : 0, - "source" : [ "obj-79", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-79", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-176", 0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-82", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 0 ], - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 1 ], - "source" : [ "obj-86", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-89", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-96", 0 ], - "source" : [ "obj-89", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-170", 0 ], - "source" : [ "obj-9", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-9", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 2 ], - "source" : [ "obj-90", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-95", 0 ], - "source" : [ "obj-90", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-119", 0 ], - "source" : [ "obj-91", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-71", 0 ], - "source" : [ "obj-91", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-93", 0 ], - "source" : [ "obj-92", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-122", 1 ], - "source" : [ "obj-93", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-94", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-124", 0 ], - "source" : [ "obj-95", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-90", 0 ], - "source" : [ "obj-96", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-75", 0 ], - "source" : [ "obj-97", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-98", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-99", 0 ] - } - - } - ] - } - -} diff --git a/old/Cubehelix_example.maxpat b/old/Cubehelix_example.maxpat deleted file mode 100644 index 372e7c2..0000000 --- a/old/Cubehelix_example.maxpat +++ /dev/null @@ -1,468 +0,0 @@ -{ - "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 - } - -} diff --git a/old/jit.cubehelix_old.maxpat b/old/jit.cubehelix_old.maxpat deleted file mode 100644 index f8e0692..0000000 --- a/old/jit.cubehelix_old.maxpat +++ /dev/null @@ -1,4107 +0,0 @@ -{ - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 1203.0, 137.0, 646.0, 760.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-83", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 69.0, 346.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "visible" : 1, - "boxes" : [ { - "box" : { - "id" : "obj-23", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 243.0, 363.0, 192.0, 22.0 ], - "text" : "color_start 0.046667 0.725 0. 1." - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 243.0, 391.0, 192.0, 22.0 ], - "text" : "color_end 1.566667 0.725 1. 1." - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 163.0, 71.0, 29.5, 22.0 ], - "text" : "/ 2." - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 397.0, 176.0, 61.0, 22.0 ], - "text" : "color_end" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 382.0, 161.0, 65.0, 22.0 ], - "text" : "color_start" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 314.0, 176.0, 61.0, 22.0 ], - "text" : "color_end" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 299.0, 161.0, 65.0, 22.0 ], - "text" : "color_start" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "" ], - "patching_rect" : [ 309.0, 108.0, 44.0, 22.0 ], - "text" : "sel 0 1" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 163.0, 108.0, 29.5, 22.0 ], - "text" : "t f f" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 47.0, 108.0, 29.5, 22.0 ], - "text" : "t f f" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 108.0, 108.0, 29.5, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 108.0, 154.0, 29.5, 22.0 ], - "text" : "+ 0." - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 220.0, 272.0, 155.0, 22.0 ], - "text" : "pak color_end -1.5 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 47.0, 272.0, 147.0, 22.0 ], - "text" : "pak color_start 0. 0.5 0. 1." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 47.0, 396.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 4, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 309.0, 27.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-3", - "index" : 3, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 163.0, 27.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-2", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 108.0, 27.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 47.0, 27.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 1 ], - "source" : [ "obj-10", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 1 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-11", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 2 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 2 ], - "source" : [ "obj-12", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "order" : 1, - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 0, - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "order" : 0, - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "order" : 1, - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 1 ], - "order" : 0, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "order" : 1, - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 1 ], - "order" : 0, - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "order" : 1, - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 396.0, 137.0, 91.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p process_data" - } - - } -, { - "box" : { - "id" : "obj-82", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 775.0, 255.0, 67.0, 22.0 ], - "text" : "* 3.141593" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-81", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 751.0, 289.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-76", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 625.0, 381.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-73", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 745.477272727272748, 381.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-71", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 573.0, 381.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-69", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 741.0, 331.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-65", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 517.977272727272748, 381.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-66", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 486.727272727272748, 414.0, 147.0, 22.0 ], - "text" : "pak color_start 0. 0.5 0. 1." - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-64", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 682.977272727272748, 381.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 651.727272727272748, 414.0, 144.0, 22.0 ], - "text" : "pak color_end 0. 0.5 0. 1." - } - - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 578.0, 331.0, 121.0, 22.0 ], - "text" : "color_end 0. 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-59", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 573.0, 305.0, 131.0, 22.0 ], - "text" : "color_start 0.5 0.5 0. 1." - } - - } -, { - "box" : { - "id" : "obj-56", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 406.0, 331.0, 165.0, 22.0 ], - "presentation_linecount" : 2, - "text" : "color_end -1.333333 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-51", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 406.0, 363.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-48", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 406.0, 305.0, 165.0, 22.0 ], - "presentation_linecount" : 2, - "text" : "color_start 0.166666 0.5 0. 1." - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 309.441558441558414, 354.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 204.441558441558414, 387.0, 129.0, 22.0 ], - "text" : "jit.matrix 4 float32 10 1" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 15.5, 738.0, 602.227272727272748, 56.53314208984375 ], - "sync" : 1 - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 527.0, 637.0, 29.5, 22.0 ], - "text" : "-1" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 15.5, 667.0, 602.227272727272748, 56.53314208984375 ], - "sync" : 1 - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 195.0, 151.0, 29.5, 22.0 ], - "text" : "0" - } - - } -, { - "box" : { - "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], - "color" : [ 1.0, 0.0, 0.0, 1.0 ], - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "jit.gen", - "rect" : [ 1206.0, 214.0, 672.0, 730.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 317.0, 14.0, 169.0, 22.0 ], - "text" : "param color_end -1.5 0.5 1. 1." - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 105.0, 14.0, 162.0, 22.0 ], - "text" : "param color_start 0. 0.5 0. 1." - } - - } -, { - "box" : { - "code" : "h_s = color_start.x * TWOPI;\r\nh_e = color_end.x * TWOPI - h_s;\r\ns_s = color_start.y;\r\ns_e = color_end.y - s_s;\r\nl_s = color_start.z;\r\nl_e = color_end.z - l_s;\r\n\r\n\r\nh = h_s + h_e * norm;\r\nl = pow(l_s + l_e * norm, gamma);\r\na = (s_s + s_e * norm) * l * (1 - l);\r\n\r\ncosh = cos(h);\r\nsinh = sin(h);\r\n\r\nr = l + a * (-0.14861 * cosh + 1.78277 * sinh);\r\n\r\ng = l + a * (-0.29227 * cosh - 0.90649 * sinh);\r\n\r\nb = l + a * (1.97294 * cosh);\r\n\r\nout1 = vec(1, r, g, b);", - "fontface" : 0, - "fontname" : "", - "fontsize" : 12.0, - "id" : "obj-12", - "maxclass" : "codebox", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 84.0, 531.0, 382.0 ] - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 540.0, 14.0, 99.0, 22.0 ], - "text" : "param gamma 1." - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], - "text" : "in 1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 483.0, 35.0, 22.0 ], - "text" : "out 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-12", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 204.441558441558414, 440.0, 189.0, 22.0 ], - "text" : "jit.gen @title cubehelix-interpolate" - } - - } -, { - "box" : { - "id" : "obj-67", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "float", "float", "", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 45.0, 152.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-40", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 544.0, 400.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-19", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 151.0, 317.0, 33.0, 20.0 ], - "text" : "rgba" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 157.0, 84.0, 33.0, 20.0 ], - "text" : "argb" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 81.0, 30.0, 33.0, 20.0 ], - "text" : "rgba" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 33.0, 317.0, 113.0, 22.0 ], - "text" : "zl.indexmap 1 2 3 0" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 33.0, 84.0, 113.0, 22.0 ], - "text" : "zl.indexmap 3 0 1 2" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 33.0, 170.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 33.0, 138.0, 129.0, 22.0 ], - "text" : "prepend setcell 0 0 val" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 33.0, 361.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 33.0, 272.0, 40.0, 22.0 ], - "text" : "jit.iter" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 33.0, 239.0, 60.0, 22.0 ], - "text" : "jit.rgb2hsl" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 33.0, 206.0, 123.0, 22.0 ], - "text" : "jit.matrix 4 float32 1 1" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 33.0, 20.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 276.0, 229.0, 58.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p rgb2hsl" - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 544.0, 400.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-19", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 151.0, 317.0, 33.0, 20.0 ], - "text" : "rgba" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 157.0, 84.0, 33.0, 20.0 ], - "text" : "argb" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 81.0, 30.0, 33.0, 20.0 ], - "text" : "rgba" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 33.0, 317.0, 113.0, 22.0 ], - "text" : "zl.indexmap 1 2 3 0" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 33.0, 84.0, 113.0, 22.0 ], - "text" : "zl.indexmap 3 0 1 2" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 33.0, 170.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 33.0, 138.0, 129.0, 22.0 ], - "text" : "prepend setcell 0 0 val" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 33.0, 361.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 33.0, 272.0, 40.0, 22.0 ], - "text" : "jit.iter" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 33.0, 239.0, 60.0, 22.0 ], - "text" : "jit.rgb2hsl" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 33.0, 206.0, 123.0, 22.0 ], - "text" : "jit.matrix 4 float32 1 1" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 33.0, 20.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 89.0, 229.0, 58.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p rgb2hsl" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 385.0, 259.0, 242.0, 22.0 ], - "text" : "0. 0. 0. 1. 1. 1. 1. 1." - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 562.0, 180.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 505.0, 203.0, 39.0, 22.0 ], - "text" : "zl.join" - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "swatch", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "parameter_enable" : 0, - "patching_rect" : [ 560.0, 118.0, 128.0, 32.0 ], - "saturation" : 1.0 - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "swatch", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "parameter_enable" : 0, - "patching_rect" : [ 425.0, 118.0, 128.0, 32.0 ], - "saturation" : 1.0 - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 363.0, 30.0, 85.0, 22.0 ], - "text" : "0 0 0 1 1 1 1 1" - } - - } -, { - "box" : { - "id" : "obj-26", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 333.0, 67.0, 129.0, 22.0 ], - "text" : "0. 0.5 0. 1 -1.5 0.5 1. 1" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 122.0, 86.0, 55.0, 22.0 ], - "text" : "zl.slice 4" - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 544.666666666666629, 350.0, 72.0, 22.0 ], - "text" : "prepend l_e" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 419.666666666666686, 350.0, 71.0, 22.0 ], - "text" : "prepend l_s" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 576.666666666666629, 420.0, 79.0, 20.0 ], - "presentation_linecount" : 2, - "text" : "end lightness" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-19", - "index" : 4, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 544.666666666666629, 410.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 451.666666666666686, 420.0, 83.0, 20.0 ], - "presentation_linecount" : 2, - "text" : "start lightness" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-6", - "index" : 3, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 419.666666666666686, 410.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 307.916666666666686, 331.0, 71.0, 20.0 ], - "text" : "end hue" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 307.916666666666686, 420.0, 71.0, 20.0 ], - "text" : "rotation" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 275.916666666666686, 330.0, 29.5, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 275.916666666666686, 372.0, 29.5, 22.0 ], - "text" : "!- 0." - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-15", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 275.916666666666686, 410.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 121.499999999999986, 420.0, 71.0, 20.0 ], - "text" : "start hue" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-12", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 89.0, 410.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "float", "float", "float", "float" ], - "patching_rect" : [ 276.0, 290.0, 74.0, 22.0 ], - "text" : "unpack f f f f" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "float", "float", "float", "float" ], - "patching_rect" : [ 89.0, 290.0, 74.0, 22.0 ], - "text" : "unpack f f f f" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 276.0, 184.0, 52.0, 22.0 ], - "text" : "gate 2 1" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 15.0, 79.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 15.0, 109.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 89.0, 184.0, 52.0, 22.0 ], - "text" : "gate 2 1" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-2", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 122.0, 22.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 15.0, 22.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "order" : 1, - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 0, - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-10", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-11", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 1 ], - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 1 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 1 ], - "source" : [ "obj-24", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "order" : 1, - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-36", 1 ], - "order" : 0, - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 1 ], - "source" : [ "obj-34", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-39", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "order" : 0, - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-8", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-40", 0 ], - "source" : [ "obj-8", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 594.538461538461547, 112.0, 132.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p process_input_colors" - } - - } -, { - "box" : { - "id" : "obj-57", - "linecount" : 2, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 35.0, 317.0, 50.0, 36.0 ], - "text" : "0.106106" - } - - } -, { - "box" : { - "id" : "obj-53", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 15.5, 260.0, 52.0, 22.0 ], - "text" : "/ 3.1415" - } - - } -, { - "box" : { - "id" : "obj-52", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 15.5, 196.0, 90.0, 22.0 ], - "text" : "0.31059" - } - - } -, { - "box" : { - "id" : "obj-49", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 132.0, 137.0, 59.0, 22.0 ], - "text" : "0.333333" - } - - } -, { - "box" : { - "id" : "obj-99", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 496.0, 720.0, 57.0, 22.0 ], - "text" : "plane $1" - } - - } -, { - "box" : { - "disabled" : [ 0, 0, 0, 0 ], - "id" : "obj-187", - "itemtype" : 0, - "maxclass" : "radiogroup", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "parameter_enable" : 0, - "patching_rect" : [ 496.0, 645.0, 18.0, 66.0 ], - "size" : 4, - "value" : 1 - } - - } -, { - "box" : { - "cols" : 128, - "colwidth" : 138, - "fontface" : 0, - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-208", - "maxclass" : "jit.cellblock", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "list", "", "", "" ], - "patching_rect" : [ 219.5, 835.766571044921875, 344.0, 139.0 ], - "precision" : 3, - "rows" : 1 - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-214", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 481.0, 755.0, 66.0, 23.0 ], - "text" : "128 1" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-217", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 412.0, 755.0, 66.0, 23.0 ], - "text" : "float32" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-218", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 328.0, 755.0, 74.0, 23.0 ], - "text" : "4" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-219", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 328.0, 720.0, 159.0, 23.0 ], - "text" : "route planecount type dim" - } - - } -, { - "box" : { - "id" : "obj-220", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 328.0, 687.0, 75.0, 22.0 ], - "text" : "jit.matrixinfo" - } - - } -, { - "box" : { - "id" : "obj-221", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 328.0, 648.0, 55.0, 22.0 ], - "text" : "jit.matrix" - } - - } -, { - "box" : { - "id" : "obj-37", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 552.0, 846.0, 30.0, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-40", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 552.0, 746.0, 112.0, 23.0 ], - "text" : "planemap 0 1 2 3" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-43", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 552.0, 821.0, 112.0, 23.0 ], - "text" : "planemap 3 3 3 3" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-46", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 552.0, 798.0, 112.0, 23.0 ], - "text" : "planemap 2 2 2 2" - } - - } -, { - "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-47", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 552.0, 771.0, 112.0, 23.0 ], - "text" : "planemap 1 1 1 1" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "jit.pwindow", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 552.0, 877.0, 80.0, 60.0 ], - "planemap" : [ 1, 1, 1, 1 ], - "sync" : 1 - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 130.0, 176.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-42", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "float" ], - "patching_rect" : [ 303.941558441558414, 270.0, 29.5, 22.0 ], - "text" : "t b f" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-41", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 252.441558441558414, 338.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-39", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 252.441558441558414, 306.0, 81.0, 22.0 ], - "text" : "expr ($f1-$f2)" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-38", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 248.941558441558414, 266.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "int", "int", "" ], - "patching_rect" : [ 65.0, 780.0, 78.0, 22.0 ], - "text" : "unpack s i i s" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 665.727272727272748, 202.0, 29.5, 22.0 ], - "text" : "t l l" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 214.0, 679.0, 55.0, 22.0 ], - "text" : "zl.slice 1" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 214.0, 738.0, 29.5, 22.0 ], - "text" : "- 1" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 190.0, 710.0, 43.0, 22.0 ], - "text" : "Uzi 10" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 190.0, 679.0, 22.0, 22.0 ], - "text" : "t b" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 190.0, 648.0, 52.0, 22.0 ], - "text" : "gate 1 0" - } - - } -, { - "box" : { - "id" : "obj-125", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 555.727272727272748, 202.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-123", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 555.727272727272748, 234.0, 71.0, 22.0 ], - "text" : "prepend flip" - } - - } -, { - "box" : { - "id" : "obj-122", - "linecount" : 8, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 318.168831168831275, 491.0, 622.558441558441586, 117.0 ], - "text" : "Bang: triggers outputs\nauto: If 0, a bang is needed to trigger output. If 1 (default), any paramater change triggers output.\nstart: hue from which to start\nrotation: number of rotations (1. being a full revolution)\ngamma: \nsaturation: \ncolormodeoutput: RGB if 0, HSL if 1\ncolormodeinput: RGB if 0, HSL if 1 (stands for start_color and end_color messages)" - } - - } -, { - "box" : { - "id" : "obj-120", - "linecount" : 10, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 818.727272727272862, 586.0, 153.0, 144.0 ], - "text" : "TO-DO\n- Start-end range for hue and lightness: https://github.com/d3/d3-plugins/tree/master/cubehelix\n- RGB/HSL start/end inputs\n- proper range for hue (0-1 with 0 being red instead of 0-3 with 1 being red" - } - - } -, { - "box" : { - "id" : "obj-115", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 31.0, 440.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-113", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 31.0, 479.0, 29.5, 22.0 ], - "text" : "+ 1" - } - - } -, { - "box" : { - "id" : "obj-112", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 31.0, 510.0, 52.0, 22.0 ], - "text" : "gate 2 1" - } - - } -, { - "box" : { - "id" : "obj-109", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 64.0, 547.0, 60.0, 22.0 ], - "text" : "jit.rgb2hsl" - } - - } -, { - "box" : { - "id" : "obj-107", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 896.727272727272748, 299.0, 75.0, 22.0 ], - "text" : "prepend dim" - } - - } -, { - "box" : { - "id" : "obj-106", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 860.727272727272748, 267.0, 79.0, 22.0 ], - "text" : "prepend type" - } - - } -, { - "box" : { - "id" : "obj-98", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 860.727272727272748, 234.0, 55.0, 22.0 ], - "text" : "zl.slice 1" - } - - } -, { - "box" : { - "id" : "obj-95", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 860.727272727272748, 75.0, 72.0, 22.0 ], - "text" : "patcherargs" - } - - } -, { - "box" : { - "id" : "obj-92", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 737.5, 143.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-88", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 84.666666666666657, 887.5662841796875, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 84.666666666666657, 811.0662841796875, 29.5, 22.0 ], - "text" : "t b i" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 5, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 84.666666666666657, 843.5662841796875, 106.0, 22.0 ], - "text" : "pack getcolor i f f f" - } - - } -, { - "box" : { - "id" : "obj-85", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 737.5, 172.0, 29.5, 22.0 ], - "text" : "t i i" - } - - } -, { - "box" : { - "id" : "obj-74", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 641.727272727272748, 234.0, 67.0, 22.0 ], - "text" : "pak dim i 1" - } - - } -, { - "box" : { - "id" : "obj-61", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 149.0, 547.0, 93.0, 22.0 ], - "text" : "pak getcell 10 0" - } - - } -, { - "box" : { - "id" : "obj-55", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 641.727272727272748, 267.0, 29.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 107.72727272727272, 287.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-50", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 65.0, 742.5662841796875, 55.0, 22.0 ], - "text" : "zl.slice 4" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 31.0, 599.5662841796875, 53.0, 22.0 ], - "text" : "jit.matrix" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-44", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 31.0, 887.5662841796875, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 665.727272727272748, 143.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-33", - "maxclass" : "number", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 665.727272727272748, 172.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 107.72727272727272, 317.0, 52.0, 22.0 ], - "text" : "gate 1 1" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-22", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 64.0, 12.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 14, - "numoutlets" : 14, - "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], - "patching_rect" : [ 64.0, 81.0, 646.0, 22.0 ], - "text" : "route bang auto start rotation gamma saturation flip dim getcolor colormodeoutput listoutput colormodeinput color_range" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-20", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 431.441558441558414, 202.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-19", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 331.441558441558414, 202.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-18", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 227.441558441558442, 202.0, 50.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 140.72727272727272, 287.0, 73.5, 22.0 ], - "text" : "t b l" - } - - } -, { - "box" : { - "format" : 6, - "id" : "obj-16", - "maxclass" : "flonum", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 140.441558441558442, 202.0, 79.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 431.441558441558414, 234.0, 109.0, 22.0 ], - "text" : "prepend saturation" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 140.441558441558442, 234.0, 79.0, 22.0 ], - "text" : "prepend start" - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 331.441558441558414, 234.0, 96.0, 22.0 ], - "text" : "prepend gamma" - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 227.441558441558442, 234.0, 96.0, 22.0 ], - "text" : "prepend rotation" - } - - } -, { - "box" : { - "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], - "color" : [ 1.0, 0.0, 0.0, 1.0 ], - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "jit.gen", - "rect" : [ 1206.0, 214.0, 672.0, 730.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 438.0, 55.0, 79.0, 22.0 ], - "text" : "param s_e 1." - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 357.0, 55.0, 78.0, 22.0 ], - "text" : "param s_s 1." - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 273.0, 55.0, 75.0, 22.0 ], - "text" : "param l_e 1." - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 192.0, 55.0, 75.0, 22.0 ], - "text" : "param l_s 0." - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 547.0, 14.0, 71.0, 22.0 ], - "text" : "param flip 0" - } - - } -, { - "box" : { - "code" : "fract = flip*1 + (1 + flip * -2) * norm;\r\nangle = TWOPI * (start + 1 + rotation * fract);// + PI/2; //added pi/2 to start from red \r\nlight = pow(l_s + l_e * fract, gamma);\r\namp = saturation * fract * (1 - fract) / 2.;\r\ncos_angle = cos(angle);\r\nsin_angle = sin(angle);\r\n\r\nr = light + amp * (-0.14861 * cos_angle + 1.78277 * sin_angle);\r\n//r = max(min(r,1.0),0.0);\r\n\r\ng = light + amp * (-0.29227 * cos_angle - 0.90649 * sin_angle);\r\n//g = max(min(g,1.0),0.0);\r\n\r\nb = light + amp * (1.97294 * cos_angle);\r\n//b = max(min(b,1.0),0.0);\r\n\r\n\r\nout1 = vec(1, r, g, b);", - "fontface" : 0, - "fontname" : "", - "fontsize" : 12.0, - "id" : "obj-12", - "maxclass" : "codebox", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 182.0, 531.0, 284.0 ] - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 315.0, 14.0, 99.0, 22.0 ], - "text" : "param gamma 1." - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 424.0, 14.0, 112.0, 22.0 ], - "text" : "param saturation 1." - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 192.0, 14.0, 110.0, 22.0 ], - "text" : "param rotation -1.5" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 91.0, 14.0, 83.0, 22.0 ], - "text" : "param start 0." - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], - "text" : "in 1" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 50.0, 501.0, 35.0, 22.0 ], - "text" : "out 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-12", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 64.0, 440.0, 129.0, 22.0 ], - "text" : "jit.gen @title cubehelix" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "jit_matrix", "" ], - "patching_rect" : [ 64.0, 387.0, 129.0, 22.0 ], - "text" : "jit.matrix 4 float32 10 1" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "midpoints" : [ 870.227272727272748, 372.0, 73.5, 372.0 ], - "source" : [ "obj-106", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "midpoints" : [ 906.227272727272748, 372.0, 73.5, 372.0 ], - "source" : [ "obj-107", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-109", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 236.941558441558442, 273.0, 150.22727272727272, 273.0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-109", 0 ], - "source" : [ "obj-112", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "source" : [ "obj-112", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-112", 0 ], - "source" : [ "obj-113", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-113", 0 ], - "source" : [ "obj-115", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 340.941558441558414, 273.0, 150.22727272727272, 273.0 ], - "order" : 2, - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "order" : 0, - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "order" : 1, - "source" : [ "obj-12", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 565.227272727272748, 273.0, 150.22727272727272, 273.0 ], - "source" : [ "obj-123", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-123", 0 ], - "source" : [ "obj-125", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "midpoints" : [ 440.941558441558414, 273.0, 150.22727272727272, 273.0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "order" : 1, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "order" : 0, - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 1 ], - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "midpoints" : [ 204.72727272727272, 426.0, 73.5, 426.0 ], - "source" : [ "obj-17", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-187", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-115", 0 ], - "source" : [ "obj-21", 9 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-125", 0 ], - "order" : 0, - "source" : [ "obj-21", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 1, - "source" : [ "obj-21", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "order" : 1, - "source" : [ "obj-21", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-21", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "order" : 1, - "source" : [ "obj-21", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-21", 10 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-21", 7 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-54", 0 ], - "source" : [ "obj-21", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-67", 1 ], - "source" : [ "obj-21", 12 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-21", 11 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 3 ], - "order" : 1, - "source" : [ "obj-21", 6 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 2 ], - "order" : 0, - "source" : [ "obj-21", 5 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 1 ], - "order" : 0, - "source" : [ "obj-21", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 0 ], - "order" : 0, - "source" : [ "obj-21", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-21", 8 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-214", 1 ], - "midpoints" : [ 430.833333333333314, 748.0, 537.5, 748.0 ], - "source" : [ "obj-219", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-217", 1 ], - "midpoints" : [ 384.166666666666686, 745.0, 468.5, 745.0 ], - "source" : [ "obj-219", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-218", 1 ], - "midpoints" : [ 337.5, 745.0, 392.5, 745.0 ], - "source" : [ "obj-219", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-219", 0 ], - "source" : [ "obj-220", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-208", 0 ], - "order" : 2, - "source" : [ "obj-221", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-220", 0 ], - "order" : 1, - "source" : [ "obj-221", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "order" : 0, - "source" : [ "obj-221", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "midpoints" : [ 117.22727272727272, 372.0, 73.5, 372.0 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-99", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 1 ], - "midpoints" : [ 223.5, 766.0, 253.0, 766.0, 253.0, 532.0, 195.5, 532.0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 1 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-29", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-74", 1 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-31", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 1, - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "order" : 0, - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-33", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "source" : [ "obj-34", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-33", 0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-221", 0 ], - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-37", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-38", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-39", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-40", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 1 ], - "source" : [ "obj-42", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-42", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 3, - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-221", 0 ], - "order" : 0, - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 1 ], - "order" : 1, - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "order" : 2, - "source" : [ "obj-45", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-45", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-46", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-47", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 0, - "source" : [ "obj-49", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "order" : 1, - "source" : [ "obj-49", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-112", 1 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-50", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 2 ], - "source" : [ "obj-50", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-51", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-51", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "order" : 0, - "source" : [ "obj-52", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-53", 0 ], - "order" : 1, - "source" : [ "obj-52", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-57", 1 ], - "source" : [ "obj-53", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-54", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "midpoints" : [ 661.727272727272748, 372.0, 73.5, 372.0 ], - "order" : 1, - "source" : [ "obj-55", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "midpoints" : [ 73.5, 372.0 ], - "order" : 1, - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "midpoints" : [ 661.727272727272748, 372.0, 213.941558441558414, 372.0 ], - "order" : 0, - "source" : [ "obj-55", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "midpoints" : [ 651.227272727272748, 372.0, 213.941558441558414, 372.0 ], - "order" : 0, - "source" : [ "obj-55", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-56", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-58", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-59", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-45", 0 ], - "midpoints" : [ 158.5, 581.0, 40.5, 581.0 ], - "source" : [ "obj-61", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-62", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 1 ], - "source" : [ "obj-64", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 1 ], - "source" : [ "obj-65", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-66", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-67", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-67", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-67", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 2 ], - "source" : [ "obj-69", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "source" : [ "obj-7", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 2 ], - "source" : [ "obj-71", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-62", 3 ], - "source" : [ "obj-73", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-74", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-66", 3 ], - "source" : [ "obj-76", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-64", 0 ], - "order" : 0, - "source" : [ "obj-81", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 0 ], - "order" : 1, - "source" : [ "obj-81", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-83", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 1 ], - "source" : [ "obj-85", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-88", 0 ], - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 1 ], - "source" : [ "obj-87", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-85", 0 ], - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "midpoints" : [ 923.227272727272748, 104.0, 944.0, 104.0, 944.0, 64.0, 73.5, 64.0 ], - "source" : [ "obj-95", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-98", 0 ], - "source" : [ "obj-95", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-106", 0 ], - "source" : [ "obj-98", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-98", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-208", 0 ], - "source" : [ "obj-99", 0 ] - } - - } - ] - } - -}